logo elektroda
logo elektroda
X
logo elektroda

Another ELIVCO LSPA9: BSD342-2110 PCB with [LN882H] and [BL0937]

max4elektroda 5055 31

TL;DR

  • Elvico LSPA9 smart plug uses a BSD342-2110 PCB with a WL2S-labeled LN882H module, BL0937 energy metering, and a relay marked 16A/20A.
  • The case opens by pressing the lightly glued halves from the sides, then the firmware can be flashed through Rx0/Tx0 on the main PCB.
  • Only three wires are needed for flashing: 3.3 V VCC, RX, and TX, while the power pin opposite the LN882H can serve as GND.
  • A9 must be briefly shorted to GND after power-up, and flashing worked reliably at 115200 rather than 200000.
  • The included OpenBeken template maps GPIOs for LED, button, relay, Wi-Fi LED, BL0937 CF/CF1, and BL0937SEL.
Generated by the language model.
ADVERTISEMENT
📢 Listen (AI):
  • #31 21832472
    io2345
    Level 9  
    Posts: 268
    Help: 1
    Rate: 7
    In fact not only the wifi mode had changed, but the whole configuration was lost. FW-Version was of April 2025, if I remember right.
  • ADVERTISEMENT
  • #32 21832777
    max4elektroda
    Level 24  
    Posts: 756
    Help: 48
    Rate: 187
    It should be no general issue, maybe a (sad) isolated problem?
    I know it's no help for you, but hard to find if it's not a common error.
    You don't have a log from the start, maybe showing why config was erased?
    Usually the default config is loaded, if there's a CRC error for the config in flash.

    Just tried an update from 1.18.25 (January 2025) to actual 1.18.256:

    Screenshot of OpenLN882H web UI with Wi‑Fi SSID/password fields, SSID2, and web authentication settingsScreenshot of OpenLN882H web panel showing Wi‑Fi settings, SSID fields, and a “Submit” button

    Pin configuration also was present after the update
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the ELIVCO LSPA9 device, specifically the BSD342-2110 PCB variant equipped with LN882H and BL0937 components. Users share insights on opening the device, stability issues, and firmware performance. Some report successful operation with the latest OpenLN882H firmware, while others experience instability and high power consumption. Users discuss power measurement techniques, MQTT integration with ioBroker, and LED behavior customization. The conversation highlights the importance of firmware versions and settings for optimal device performance.
Generated by the language model.

FAQ

TL;DR: This FAQ shows how to open and flash the Elvico LSPA9 using only 3 wires and a brief A9-to-GND short; one contributor said, "you only need to solder three wires." It helps OpenBeken users identify the BSD342-2110 / LN882H / BL0937 variant, avoid cracking the glued case, and handle firmware issues such as reboots, heat, LED behavior, and MQTT control. [#20965239]

Why it matters: The LSPA9 exists in multiple hardware variants, so correct flashing points, pin mapping, and firmware expectations matter more than the product name.

Topic This LN882H BSD342-2110 variant Notes from the thread
Main SoC/module LN882H, WL2S-labeled module Not the common Beken-based variant
Metering chip BL0937 Power readings supported in OpenBeken
Flash entry Short A9 to GND for a few seconds after power-up Retry timing may be needed
Observed idle draw Approx. 8.5 mA relay off Reported with both Open firmware and vendor firmware
Observed temperature About 60°C with powersave 0, ~40°C with powersave 1 powersave 1 was not fully reliable early on

Key insight: Treat this plug as a board-specific target, not just an "LSPA9." The successful recipe is BSD342-2110 wiring, A9 boot shorting, and the matching pin template for A3, A10, A11, A12, and A19. [#20965239]

Quick Facts

  • Flashing worked at 115200 baud; one user could not make 200000 baud work on this board and wiring setup. [#20965239]
  • The confirmed UART setup uses 3.3 V, RX, and TX, while a mains-side power pin opposite the module was used as GND during bench flashing. [#20965239]
  • Early OpenLN882H reports showed instability, with the longest uptime around 48 h before the plug disappeared from the network. [#21015608]
  • Reported AC-side current draw was about 8.5 mA with relay off and 12.5 mA with relay on, roughly 2–3 W. [#21024659]
  • Reported internal temperature was about 60°C with powersave 0 and about 40°C with powersave 1, but the GUI could stop responding after some time. [#21023618]

How do you safely open the Elvico LSPA9 smart plug without damaging the glued case?

Open it by compressing the glued sidewalls evenly until the light adhesive bond cracks. 1. Protect the housing with thick paper or cardboard. 2. Squeeze the sides gently in a vice, then rotate the plug to load both side pairs. 3. Keep steady pressure and add slight bending until the case pops apart. A light crack is normal; a loud crack means you used too much force. The author opened five units this way without breaking one. [#20965239]

What are the correct UART wiring points for flashing the BSD342-2110 PCB with the LN882H WL2S module?

Use three soldered wires: 3.3 V, RX, and TX on the main PCB pads for UART0. The boot log appears on Tx1, but flashing uses Rx0/Tx0. You can use the plug’s power pin opposite the LN882H module as GND, so no GND wire must be soldered. That shortcut is convenient on the bench, but it also proves the exposed ground reference sits next to live mains parts and must never be brought outside the case. [#20965239]

Which pin assignments and OpenBeken template work for the Elvico LSPA9 with LN882H and BL0937?

The posted working template maps A0 to LED_n;0, A3 to Btn;0, A7 to BL0937CF1;0, A10 to WifiLED_n;1, A11 to Rel;0, A12 to BL0937CF;0, and A19 to BL0937SEL;0. It identifies the device as Elvico LSPA9, board BSD342-2110, chip LN882H, with keywords BSD342-2110, LN882H, and BL0937. Another user reported a different LSPA9 board marking, so verify your PCB before copying the mapping. [#20965239]

Why does the LN882H on this LSPA9 need A9 shorted to GND during flashing, and how long should that short be held?

It needs A9 briefly grounded to enter the flash-ready boot state after power-up. Hold A9 to GND for a few seconds right after applying power, then release it; it did not need to stay shorted for the whole transfer. If you miss the timing, the LED starts its normal flashing pattern and you must retry. One user looped the flashing command every 5 seconds because entering this mode did not work on every first attempt. [#20965239]

What is the BL0937 chip in the Elvico LSPA9, and what does it measure?

The BL0937 is the plug’s energy-metering IC, and the template shows it feeding OpenBeken through BL0937CF, BL0937CF1, and BL0937SEL pins. > "BL0937 is an energy-metering chip that measures electrical load data, using dedicated pulse outputs and a select line for integration with the main controller." In this LSPA9, users relied on it for power updates shown in the GUI about every 3 seconds. [#21064249]

What is the LN882H module, and how is it different from the Beken-based plugs people often flash with OpenBeken?

The LN882H is the Wi-Fi control module used on this LSPA9, and this unit carries a WL2S-labeled LN882H module on a BSD342-2110 PCB. > "LN882H is a Wi-Fi module family that runs the plug’s main firmware, using a different platform and flashing flow than the Beken chips commonly seen in OpenBeken devices." In practice, users here had to use LN882H-specific flashing steps, including Rx0/Tx0 wiring and the A9-to-GND boot short. [#20965239]

Why do some OpenLN882H firmware versions after 1.17.512 reboot or hang on the normal Web GUI while the Web App still works?

Some builds after 1.17.512 showed a board-specific stability issue on this plug. One user reported that versions from 1.17.513 upward instantly restarted, or ran only long enough to reflash. The same user found that the Web App could still work while the normal Web GUI hung for 20 to 30 seconds. Later reports improved: version 1.17.521 was smooth for another user, and 1.17.530_OTA ran stably for more than 3 days with PowerSave 1 set manually after boot. [#21015608]

How should the hardware button be configured in OpenBeken so pin A3 controls relay channel 0 on the LSPA9?

Set pin A3 as Btn;0 and set the relay pin to the same channel, Rel;0. That makes A3 the control input for relay channel 0. If pressing the button does nothing, first check that the relay is not assigned to another channel. If channels match, test for a hardware issue; one user solved the problem after finding the push-button needed extra force to make contact. [#21022708]

What does setting channel 0 startup value to -1 do in OpenBeken, and how does it behave after power loss or reboot?

Setting channel 0 startup value to -1 worked as a valid retained-start behavior on this device. Two users tested it and confirmed it behaved correctly after both power loss and GUI-triggered reboot. One user explicitly said the device worked “without any problems” after changing channel 0 to -1. That makes -1 a usable startup option on this LSPA9, even though one tester was initially afraid it might brick the unit. [#21023427]

How do you measure the real AC-side power consumption of the Elvico LSPA9 accurately, and why might a multimeter miss fast current spikes?

Measure it with a scope-based current method if you want accurate AC-side power. A multimeter can show average current, but it will miss fast peaks because this plug’s consumption changes quickly. One contributor recommended a shunt resistor and oscilloscope so you can capture the voltage drop, calculate current, and record spikes over time. Their DMM and clamp meter agreed roughly, but they still concluded an oscilloscope was needed for reliable results. [#21024780]

Original Tuya firmware vs OpenBeken on the LN882H LSPA9: how do stability, power consumption, and heat compare?

They looked surprisingly similar in power draw, while Open firmware matured over time in stability. One user measured about 8 mA with relay off and 12.5 mA with relay on under original firmware, matching OpenBeken figures. Heat also remained a concern, with reports around 60°C at powersave 0. Stability was mixed early, but later users reported more than 3 days and nearly 1 week of stable 24/7 use on newer OpenLN882H builds. [#21024780]

How can I make the LSPA9 LED show red when the relay is on instead of purple in OpenBeken?

Change A10 from WifiLED_n to WifiLED if you want red-on and off-off behavior. The purple effect came from both the blue and red LEDs being active when the relay was on. After switching A10 to WifiLED, one user reported the result as “LED off when Power off, LED red when Plug has Power.” If you prefer the original Tuya-style locator glow, another user suggested assigning A10 to LED instead. [#21067125]

What is the difference between assigning A10 as WifiLED_n, WifiLED, or LED on this smart plug?

WifiLED_n keeps the second LED active in the inverted Wi-Fi role, which caused blue-plus-red and a purple on-state for one user. WifiLED limits that LED mainly to the connection phase, so the plug ended up off when off and red when on. LED gives the Tuya-like locator style, with blue visible when power is off. The thread treats A10 as the behavior switch for how the front dual-color indicator is used. [#21067385]

How do you control the Elvico LSPA9 from ioBroker over MQTT, including which set/get datapoints to create manually?

Use the socket’s local topic tree, not the separate cmnd and stat trees. 1. In ioBroker expert mode, create mqtt.0.<client_topic>.0.set as a readable and writeable number state. 2. Write 0 or 1 to set for OFF or ON. 3. Read current state from mqtt.0.<client_topic>.0.get, which also changes when you press the hardware button. One user first tried cmnd/.../POWER, but later confirmed the simpler set/get method worked better. [#21064461]

How can the Elvico LSPA9 with BSD342-2110 be added to the OpenBeken device list when existing LSPA9 entries use different pin mappings?

Add it as a separate board variant with its own pin map, not as a generic LSPA9 clone. A user noted the existing LSPA9 entries used different pin settings, while this thread documented a BSD342-2110 board with LN882H and the mapping A3 button, A11 relay, A7/A12/A19 for BL0937, and A10 for the second LED. The practical fix is to submit this exact template as a distinct device-list entry for the BSD342-2110 hardware revision. [#21059991]
Generated by the language model.
ADVERTISEMENT