logo elektroda
logo elektroda
X
logo elektroda

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

p.kaczmarek2 193173 1292
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #1291 21787297
    divadiow
    Level 37  
    Negative. My tests were not with Easy Flasher because I know the T protection gets in the way.

    Besides, this wouldn't have made sense if I was:

    divadiow wrote:
    I am seeing switches between BK7231S_1.0.5 and BK7231S_1.0.6 BL
  • ADVERTISEMENT
  • #1292 21787326
    p.kaczmarek2
    Moderator Smart Home
    Interesting, so you probably flashed the new bootloader correctly and the issue arise only if overwrite it with non functional data.
    Helpful post? Buy me a coffee.
  • #1293 21787335
    divadiow
    Level 37  
    Well indeed! I've flashed loads from 0x0 now. Very interesting.
📢 Listen (AI):

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