logo elektroda
logo elektroda
X
logo elektroda

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

p.kaczmarek2 180192 1264
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1261 21615283
    insmod
    Level 25  
    [postid:e8642bd1d4][/postid:e8642bd1d4]
    For LN882H it doesn't matter what wifi lib, i've just had to add ln_wpa_sae_enable() to connect HAL.
    Mixed mode doesn't matter. If WPA3 is supported - it will connect via WPA3. If not - WPA2.
    Since AmebaDplus supports WPA3, then AmebaLite supports it too.
    On ESP32 WPA3 is disabled. Can be enabled if CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is set to y in sdkconfig.defaults (do not enable OWE - we don't need it)
    I see that on ESP8266 ESP8266_WIFI_ENABLE_WPA3_SAE is enabled by default. If disabled - more free heap will be available.
  • ADVERTISEMENT
  • #1262 21615293
    divadiow
    Level 35  
    insmod wrote:
    For LN882H it doesn't matter what wifi lib, i've just had to add ln_wpa_sae_enable() to connect HAL.

    ah ok ok. cool.
    insmod wrote:
    On ESP32 WPA3 is disabled. Can be enabled if CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is set to y in sdkconfig.defaults (do not enable OWE - we don't need it)

    OK. I don't need WPA3 specifically, but was testing what works in general release.

    insmod wrote:
    I see that on ESP8266 ESP8266_WIFI_ENABLE_WPA3_SAE is enabled by default. If disabled - more free heap will be available.


    I'll do it again, but it didn't connect, so...

    Are there any in platforms.md I should try that you're definitely unsure about?
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #1265 21616549
    divadiow
    Level 35  
    p.kaczmarek2 wrote:
    Looks like another BK7231N renamed as T1, I am trying to ask user to take a boot log.

    isn't T1 BK7238 and T2 is BK7231N?

    Added after 7 [minutes]:

    T1 bootloader from Tuya T1 SDK booting on NiceMCU BK7238

    Code: Text
    Log in, to see the code


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

    Added after 1 [minutes]:

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

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