logo elektroda
logo elektroda
X
logo elektroda

[BK7231T] My HTTP server, configurator, MQTT support from Home Assistant

p.kaczmarek2 183831 1290
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1291 21658097
    krzakx
    Level 12  
    >>21656780 .

    Thank you for your continued support.
    So the reality seems to be quite sad because I encountered electro-smarts, I was affected not only by the problem of defective capacitors and something more because after replacing the capacitor the device works correctly powered from the UART converter it unfortunately does not work powered from the AC mains.
    The second problem that affected me was a poor quality UART converter, the converters I used ~1.5 years ago (I also bought a spare) also stopped working :=°.....

    Therefore, I repeat the question, are there any known good quality WiFi doped relays ?
    Or is the clue to use the PowerSave mode ?

    In the pictures, the low quality products I have experienced
    Close-up of a PCB with relay, capacitors, and a blue electronic module .
    Two USB-UART converters with visible damage on one of them
  • ADVERTISEMENT

Topic summary

The discussion centers on the development and testing of an open-source firmware project for the BK7231T microcontroller, focusing on creating a cross-platform mini HTTP server, web-based pin configuration, MQTT integration, and Home Assistant compatibility. The project includes a Visual Studio project for Windows and firmware flashing tools like Beken Writer and a Python-based uartprogram. Users report challenges with flashing devices, including issues with firmware size limits (956KB), UART converter compatibility, and power supply stability during flashing. Solutions include using specific UART adapters (e.g., FT232R, CP2102), resetting devices via the CEN pin instead of power cycling, and trimming firmware binaries. The firmware supports devices with BK7231T and BK7231N chips, with ongoing work to add PWM dimmer support, BLE, TuyaMCU protocol integration, and OTA updates. Various smart devices such as WB2S/WB3S modules, smart plugs, LED bulbs, and switches from brands like MOES, Nedis, Hama, and Calex are tested. Users share detailed hardware teardowns, pinouts, and flashing procedures. MQTT topic naming issues related to MAC address usage were identified and fixed. The project emphasizes community collaboration, with suggestions for a Discord server to enhance real-time communication. Additional tools and SDK improvements, including CMake support and BLE integration, are under development to facilitate firmware building and device support expansion.
Summary generated by the language model.
ADVERTISEMENT