logo elektroda
logo elektroda
X
logo elektroda

Identify Mini smart switch WiFi Relay Module with ln882hki Chip

Lesnoi 10326 32
ADVERTISEMENT
  • #31 21524408
    Ogurezzz
    Level 5  
    Here is stock firmware, dumped with Python LN882Loader script:
    [Attach deleted because flash was accidentally done before dump]

    Hope I did everything right :)
  • ADVERTISEMENT
  • #32 21524518
    divadiow
    Level 35  
    the backup is of OpenBeken, after you've flashed device. It is not the original firmware :)
  • #33 21524782
    Ogurezzz
    Level 5  
    >>21524518
    My bad... Looks like my Win10 try was successful :)
    I will delete the file...

Topic summary

The discussion identifies a mini smart switch relay module based on the LN882H chip, commonly found in devices such as the Cozylife 16A mini switch (model LN-02). The LN882H chip runs firmware built on the LN882H SDK, with versions ranging from 1.8 to 2.1_rc1. Users have successfully interfaced with the device via UART, capturing boot logs and firmware details. The device firmware is not compatible with ESPHome, but OpenLN882H firmware from the OpenBeken project supports it, allowing flashing and customization. The device communicates over TCP with a cloud server on port 8899 using a proprietary protocol, and also listens on TCP port 5555 with an unknown protocol. MQTT support required buffer size adjustments for stable operation. Pin mappings and device templates are maintained in the OpenBeken IoT devices list. Firmware version display issues exist due to CMake integration challenges. Attempts to reverse engineer the communication protocol suggest it is non-HTTP and may require TCP MITM proxy tools for further analysis. Firmware backup and flashing tools such as LN882Loader are used for firmware extraction and updates. Community development is ongoing with calls for more contributors and suggestions for real-time collaboration platforms like Discord.
Summary generated by the language model.
ADVERTISEMENT