logo elektroda
logo elektroda
X
logo elektroda

[BK7231N][CB2S] Ledlux BSD34 Smart Socket: Upgraded with CB2S Module, BL0937 Power Meter

sysop42 2385 3
ADVERTISEMENT
  • #1 20476652
    sysop42
    Level 1  
    Upgraded version of http://networkingathome.blogspot.com/2020/02/installing-tasmota-firmware-for-cheap.html https://templates.blakadder.com/BSD34.html with CB2S module and BL0937 power meter.
    [BK7231N][CB2S] Ledlux BSD34 Smart Socket: Upgraded with CB2S Module, BL0937 Power Meter

    [BK7231N][CB2S] Ledlux BSD34 Smart Socket: Upgraded with CB2S Module, BL0937 Power Meter

    [BK7231N][CB2S] Ledlux BSD34 Smart Socket: Upgraded with CB2S Module, BL0937 Power Meter

    [BK7231N][CB2S] Ledlux BSD34 Smart Socket: Upgraded with CB2S Module, BL0937 Power Meter

    After few attempts, I've succeded in flashing OpenBK7231 via tuya-cloudcutter (profile tuya-generic-bsd48-16a-uk-smart-plug). Pin configuration is identical to BSD48 - https://www.elektroda.com/rtvforum/topic3942936.html:

    "pins": {
    "6": "BL0937CF1;0",
    "7": "BL0937CF;0",
    "8": "WifiLED;1",
    "10": "Btn;0",
    "24": "BL0937SEL;0",
    "26": "Rel;0"
    },
  • ADVERTISEMENT
  • #2 20476681
    p.kaczmarek2
    Moderator Smart Home
    Thank you, template has been added. Don't forget to do the power calibration.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21431807
    andraskszabo
    Level 4  
    I have the same BSD34. Flashing with openBKN was without problems and this template works too.

    The only issue is that the red status LED is always in, regardless of the relay state. It should be lit if the relay is on. Any ideas?
  • #4 21434399
    p.kaczmarek2
    Moderator Smart Home
    Can you do Tuya config extraction so we can tell which GPIO is used for LED?
    https://www.youtube.com/watch?v=WunlqIMAdgw&ab_channel=Elektrodacom
    Or just play around with GPIO Doctor:
    https://www.elektroda.com/rtvforum/topic3976371.html

    Alternatively, maybe you already have set a role for your LED pin, but you want a different role? If you have set your LED as WiFi LED, it may stay on. If you want it to follow relay state, change WiFiLED to LED or LED_n (for inverse logic). If this config part applies to you : "8": "WifiLED;1", , then you can change it to just LED in Configure Module page.
    Helpful post? Buy me a coffee.
ADVERTISEMENT