logo elektroda
logo elektroda
X
logo elektroda

[BK7231T] [WB2S] Nedis SmartLife LED floodlight 20W RGB+WW+CW

slools 1122 8
ADVERTISEMENT
  • Helpful post
    #1 20777040
    slools
    Level 2  
    Smartlife Outdoor Light showcased on a product page.
    https://nedis.com/en-us/product/lighting/fixt...-cool-white-2700-6500-k-aluminium-android-ios

    Opened up one to get the pinout

    PWM0 Blue
    PWM1 Green
    PWM2 Red
    PWM4 Whitebalance / ratio of Coldwhite and Warmwhite, controlled by a BP5926, needs to be "inverted" in the pin-config
    PWM5 Brightness of white color
    Needs flag nr 8 - [LED] Alternate CW light mode (first PWM for warm/cold slider, second for brightness)

    Nedis SmartLife LED floodlight PCB with electronic components.

    Interior of an LED floodlight with a PCB and connected wiring.

    Was able to flash with tuya-cloudcutter and
    2.9.16 - BK7231T / oem_bk7231s_light_ty
    as chosen device. Using
    OpenBeken-v1.17.262_bk7231t.ug.bin
    provided with tuya-cloudcutter.

    JSON from the webapp
    {
      "vendor": "Nedis",
      "bDetailed": "0",
      "name": "Nedis SmartLife LED floodlight 20W RGB+WW+CW",
      "model": "WIFILOFC20FBK",
      "chip": "BK7231T",
      "board": "WB2S",
      "flags": "1280",
      "keywords": [
        "Floodlight",
        "Outdoor",
        "Nedis",
        "WIFILOFC20FBK"
      ],
      "pins": {
        "6": "PWM;2",
        "7": "PWM;1",
        "8": "PWM;0",
        "24": "PWM_n;3",
        "26": "PWM;4"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/8890381000_1697735210.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic4009073.html",
      "vendor":"https://nedis.com/en-us/product/lighting/fixtures/floodlights/550750896/smartlife-outdoor-light-1600-lm-wi-fi-20-w-rgb-warm-to-cool-white-2700-6500-k-aluminium-android-ios"
    }
  • ADVERTISEMENT
  • #2 20778709
    p.kaczmarek2
    Moderator Smart Home
    I can see that device is using a PWM to control white temperature. Can you provide a Tuya JSON config for that, extracted with this method?
    https://www.youtube.com/watch?v=WunlqIMAdgw
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20782345
    slools
    Level 2  

    Sure! It seems to have the cloudcutter AP
    And not sure about the text description either

    
    Device configuration, as extracted from Tuya: 
    - LED Green (Channel 2) on P7
    - LED Cool (Channel 4) on P26
    - LED Blue (Channel 3) on P6
    - LED Warm (Channel 5) on P24
    - LED Red (Channel 1) on P8
    Device seems to be using WB2S module, which is using BK7231T.
    And the Tuya section starts at UNCOMMON POSITION 0
    

    And the JSON from the tool:
    
    {
    	"rstnum":"3",
    	"rstcor":"c",
    	"Jsonver":"1.1.8",
    	"brightmin":"10",
    	"gmwb":"75",
    	"r_lv":"1",
    	"title20":"0",
    	"deftemp":"100",
    	"gmwg":"70",
    	"c_lv":"1",
    	"wfcfg":"spcl_auto",
    	"colormin":"10",
    	"md":"0",
    	"random":"0",
    	"wfb64":"1",
    	"stat":"0",
    	"token":"null",
    	"region":"null",
    	"reg_key":"null",
    	"dns_prio":"0{uuid",
    	"psk_key":"null",
    	"auth_key":"B8SKflRVSsdXmJ5K",
    	"ap_ssid":"A",
    	"ap_passwd":"null",
    	"country_code":"null",
    	"bt_mac":"{nc_tp",
    	"ssid":"Y2xvdWRjdXR0ZXJmbGFzaA==",
    	"passwd":"YWJjZGFiY2Q=",
    	"bt_hid":"null",
    	"prod_test":"false }emory",
    	"gmkb":"60",
    	"cmod":"rgbcw",
    	"g_lv":"1",
    	"wt":"20",
    	"cwtype":"1",
    	"prodagain":"0",
    	"rstbr":"50",
    	"remdmode":"0",
    	"colormax":"100",
    	"cagt":"20",
    	"g_pin":"7",
    	"w_lv":"1",
    	"c_pin":"26",
    	"module":"WB2S",
    	"b_pin":"6",
    	"b_lv":"1",
    	"colorpfun":"0",
    	"cwmaxp":"100",
    	"dmod":"0",
    	"gmwr":"100",
    	"rgbt":"10",
    	"colormaxp":"100",
    	"gmkg":"60",
    	"onoffmode":"0",
    	"brightmax":"100",
    	"w_pin":"24",
    	"wfct":"3",
    	"pwmhz":"1000",
    	"r_pin":"8",
    	"rsttemp":"100",
    	"category":"0505",
    	"gmkr":"80",
    	"defcolor":"c",
    	"defbright":"100",
    	"crc":"9"
    }
    

  • #4 21215356
    supergonzo74
    Level 3  
    Good evening everybody,

    I'm fairly new to using tuya-cloudcutter by which I'm trying to flash this floodlight so plz excuse my ignorance. It seems that as of now there isn't a preconfigured device-profile for this hw shipped with cloudcutter. I searched via "By manufacturer/device name" and also "By firmware version and name" methods and found nothing that exactly fits. So I suppose I have to setup a custom-profile somehow and put in the JSON data listed above somewhere. Trying to figure out where to put which file I'm getting a little confused as cloudcutter documentation says that legacy device profiles have been migrated to a new format and mentions two JSON files in ('profile-classic' directory).

    Can anybody please tell me the correct directory structure for the custom-profile and where to put which JSON data in order to correctly flash these devices.

    THX in advance...

    Greets supergonzo74
  • ADVERTISEMENT
  • #5 21215395
    divadiow
    Level 34  
    what version is your device firmware, if not 2.9.16?
  • ADVERTISEMENT
  • #6 21215475
    supergonzo74
    Level 3  
    How do I determine my device's firmware version when my device is brand new and was/will never be connected to tuya-app/-cloud? I would assume that it is also firmware version 2.9.16 but even if I select this version in cloudcutter's interactive dialog then at the next prompts there's no matching vendor and type combination for the product. So I suppose I have to create the custom profile or am I wrong with this assumption?
  • #7 21218882
    divadiow
    Level 34  
    supergonzo74 wrote:
    How do I determine my device's firmware version when my device is brand new and was/will never be connected to tuya-app/-cloud?


    if you're not willing to join it to the Tuya app, which is fair enough!, then maybe the only way would be to capture the boot log from UART TX pin. Or try dumping the firmware with Lightleak, of which I have no experience.

    What did @slools select after "2.9.16 - BK7231T / oem_bk7231s_light_ty" I wonder
  • #8 21219737
    supergonzo74
    Level 3  
    All right...as the only non-invasive method of getting the firmware version of the device was to join it to SmartLife App I did so: My firmware version as speculated is also 2.9.16. But like @divadiow I'm also wondering what @slools selected after "2.9.16 - BK7231T / oem_bk7231s_light_ty" as i.e. there is no vendor "Nedis".

    Or can we choose any vendor for now as this might just be descriptive here when anyway we upload the correct JSON device profile via OpenBekens webif later on?
  • #9 21219751
    divadiow
    Level 34  
    i'm not really sure it matters

Topic summary

The discussion revolves around the Nedis SmartLife LED floodlight (20W RGB+WW+CW) utilizing the BK7231T chip and WB2S module. Users are exploring the pinout configuration for PWM control of RGB and white light temperatures, as well as flashing the device using tuya-cloudcutter. A JSON configuration for the device was shared, detailing the pin assignments for different LED channels. New users express challenges in finding a preconfigured device profile in tuya-cloudcutter and seek guidance on creating a custom profile. The conversation also touches on determining the firmware version, with users confirming it to be 2.9.16, and the implications of selecting vendor names during the flashing process.
Summary generated by the language model.
ADVERTISEMENT