logo elektroda
logo elektroda
X
logo elektroda

[BL602] Sonoff B02-BL-A60 CW CCT only bulb template and flashing

betinelu 1077 17
ADVERTISEMENT
  • #1 20918271
    betinelu
    Level 10  

    I followed the instructions from the YouTube movie and managed to flash a B02-BL-A60 bulb. The wifi part works, I added it to the home assistant, and there it is ok and the switch works, software everything is ok but physically the LEDs don't light up anymore. What could it be, did I burn something?
  • ADVERTISEMENT
  • #2 20918274
    p.kaczmarek2
    Moderator Smart Home
    Have you configured the pins as PWMs? You can also try, just temporary, setting their roles to 'Relay' and see if that works.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20918305
    betinelu
    Level 10  

    I only configured Pin 2: BP5758D_CLK on channel 0 and Pin 21: BP5758D_DAT on channel 0. Exactly like in the movie, I don't know anything else. How to configure them as PWM? Please teach me what to do!
  • #4 20918333
    p.kaczmarek2
    Moderator Smart Home
    Ah, sorry, I don't remember the exact configuration of this device. I assumed it may be PWM based, but it seems to be using an I2C-like LED driver.
    Futhermore, the device config might have changed in the future revisions.

    Okay, so, is there BP5758 IC on the board with LEDs?
    Helpful post? Buy me a coffee.
  • #5 20918638
    betinelu
    Level 10  

    Oh, no. It's not, it's BP6772. Are there PWM settings for this IC?
  • ADVERTISEMENT
  • #6 20918662
    p.kaczmarek2
    Moderator Smart Home
    There seems to be nothing in Google about BP6772. Can you make a photo of LED board?
    Helpful post? Buy me a coffee.
  • #8 20918834
    p.kaczmarek2
    Moderator Smart Home
    So it's a PWM based device. You can clearly see the marking on the silk screen.
    Please open Web App and use GPIO doctor to guess which GPIOs are used for Warm and Cool white LEDs control. Then change their roles to PWM.
    Helpful post? Buy me a coffee.
  • #9 20918914
    betinelu
    Level 10  

    Thank you very much! Unfortunately, I did not manage to solve it. The LEDs do not light up. The buttons work but the LEDs do not light up. I did not find settings for BP6772 User interface for LED light control.
  • #10 20918951
    p.kaczmarek2
    Moderator Smart Home
    Okay, let's do this step by step.
    For a start, you should open GPIO doctor:
    [BL602] Sonoff B02-BL-A60 CW CCT only bulb template and flashing
    Then , slowly, press "Set High" and "Set Low" button several times for each GPIO and watch the LEDs. If any of the pins can make Warm/Cool LEDs light up, write the pin number down.

    Then, let me know which pin you have found this way.
    Helpful post? Buy me a coffee.
  • #11 20918989
    betinelu
    Level 10  
    P20 and P21 light up my LEDs. :)
  • #12 20919025
    p.kaczmarek2
    Moderator Smart Home
    So, the next step is to clear whole IO config, for example, with the following command:
    
    ClearIO
    

    or you can just clear it manually in pins config, and then, you need to:
    - set channel 1 for P20, role PWM
    - set channel 2 for P21, role PWM
    If you have swapped Warm and Cool, then swap channels 1 with 2, because you haven't specified in your post which pin is which white temperature.
    Helpful post? Buy me a coffee.
  • #13 20919078
    betinelu
    Level 10  

    I put it as you said, the only thing I still have is that the line with RGB color no longer appears, only these appear. Do I still need to enter GPIO Doctor again and search again? LED lighting control panel with brightness and color temperature sliders.
  • ADVERTISEMENT
  • #14 20919157
    p.kaczmarek2
    Moderator Smart Home
    Yes, RGB does not appear because your device is a CW only bulb. You can easily check it by looking at the LEDs. Your bulb has only cool warm and white warm LEDs. Futhermore, your device has only CW and WW PWM signals routed to board.

    How does the packaging of your bulb looks like, what is the exact model name on your bulb's case?
    Helpful post? Buy me a coffee.
  • #15 20919264
    betinelu
    Level 10  
    It's good and even if that line doesn't appear, I thought I lost it completely. It was the first time I did something like this and I didn't know about these programs. I will buy a few more bulbs from this model. Thank you very much for your patience and for the advice given!
    Packaging of a smart Wi-Fi LED bulb with remote control features.
  • #16 20919274
    p.kaczmarek2
    Moderator Smart Home
    This is CW only model, so there is no RGB.

    Now, can you share a final template JSON from the Web App, so I can add this device to our list here: https://openbekeniot.github.io/webapp/devicesList.html

    PS: I have split the topic into separate discussion about this particular bulb model
    Helpful post? Buy me a coffee.
  • #17 20919342
    betinelu
    Level 10  
    Is it good this way?

    Code: JSON
    Log in, to see the code
  • Helpful post
    #18 20919356
    p.kaczmarek2
    Moderator Smart Home
    Thank you, device will soon appear at:
    https://openbekeniot.github.io/webapp/devicesList.html
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around troubleshooting a Sonoff B02-BL-A60 CW CCT bulb that was successfully flashed but has non-functional LEDs. The user followed a YouTube tutorial and managed to connect the bulb to Home Assistant, but the LEDs do not light up. Responses suggest checking the configuration of pins, specifically for PWM settings, and identifying the correct GPIOs for controlling the warm and cool white LEDs. The user discovers that the bulb uses a BP6772 IC instead of the expected BP5758D, leading to further troubleshooting steps. Ultimately, the user successfully identifies the pins that control the LEDs and configures them correctly, confirming that the bulb is a CW only model without RGB capabilities. A final template JSON for the device is created for inclusion in a device list.
Summary generated by the language model.
ADVERTISEMENT