logo elektroda
logo elektroda
X
logo elektroda

[LN882H] [WL2S] Elivco 20A BSD34 EU Power Monitoring Plug [BL0937]

divadiow 9345 35
ADVERTISEMENT
📢 Listen (AI):
  • #31 21021691
    p.kaczmarek2
    Moderator Smart Home
    @beloborodom in the past days I also integrated a threading fix for MQTT from LWIP library that was also applied to BL602 in the past and also helped:
    https://github.com/openshwprojects/OpenLN882H/commit/15fde0f403e408eab6ffa31d0e5711e97c37afe2
    GitHub commit view showing a fix for MQTT in the LWIP library.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 21431813
    andraskszabo
    Level 4  
    I have the same BSD34 smart plug and could flash it with openBKN without issues (even without desoldering the module). It works great with HomeAssistant und mqqt.
    The only issue I have is the red LED is always on regardless of the relay state. Any ideas?
  • ADVERTISEMENT
  • #33 21431833
    p.kaczmarek2
    Moderator Smart Home
    Use GPIO Doctor to find out which pin is used for LED. Or do Tuya config extraction. Was this LED controllable in Tuya firmware?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #34 21433856
    andraskszabo
    Level 4  
    Thank you for the tipps.

    I played around and it looks like that pin 8 controlls the button and relay blue LED and 23 the red one indication WiFi connection status

    "pins": {
    "6": "BL0937CF1;0",
    "7": "BL0937CF;0",
    "8": "LED_n;1",
    "10": "Btn;1",
    "23": "WifiLED;1",
    "24": "BL0937SEL;0",
    "26": "Rel;1"
    },
  • ADVERTISEMENT
  • #35 21437255
    divadiow
    Level 35  
    andraskszabo wrote:
    I have the same BSD34 smart plug

    100% the same in terms of appearance, label markings, module, chip?
  • #36 21438406
    andraskszabo
    Level 4  
    They look exactly the same, see pictures. They were sold under SURFOU branding on Amazon.
    The modules are CBS2 by the way...
    I bought them as a 4er pack and they did not even had the same charge of modules. two were "normal" CBS2s and two were those, where the pin marking were swapped (I guess on purpose...)

    Close-up of an electrical plug labeled model BSD34 on a wooden surface.
    White smart plug on a wooden table.
📢 Listen (AI):

Topic summary

The discussion centers on the Elivco 20A BSD34 EU smart power monitoring plug based on the LN882H chip and WL2S Tuya module, featuring the BL0937 power metering IC. Initial efforts involved flashing the LN882H device using OpenBeken firmware, with community contributions providing a detailed flashing guide and driver development for BL0937 support. Challenges included manual makefile configuration and driver integration, resolved through pull requests and code adjustments. Users reported successful flashing and basic functionality, including MQTT and Home Assistant integration with HASS Discovery, though some experienced issues with the "ping watchdog" causing WiFi disconnections and reconnection behavior variability after router outages. Firmware updates and MQTT threading fixes improved stability. Additional observations identified GPIO pins controlling LEDs and buttons, with some devices showing always-on red LEDs regardless of relay state. The BSD34 plug shares hardware similarities with CBS2 modules and is sold under various brands like Ledlux and SURFOU. Testing confirmed LN882H devices can reconnect to WiFi after temporary outages, though behavior varies. The community continues refining firmware and drivers to enhance device reliability and feature support.
Summary generated by the language model.
ADVERTISEMENT