logo elektroda
logo elektroda
X
logo elektroda

Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide

pogadaevalecsey 4929 49
ADVERTISEMENT
  • #31 20625806
    pogadaevalecsey
    Level 5  
    после обновления OpenBK7231N_1.17.148.rbl, мои розетки перестали работать.!!!
    after updating OpenBK7231N_1.17.148.rbl, my sockets stopped working.!!!
  • ADVERTISEMENT
  • #32 20625830
    p.kaczmarek2
    Moderator Smart Home

    Hello, can you provide more information, which sockets, which platform?

    I today updated first to 1.17.137:
    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide
    and then to 1.17.148:
    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide
    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide
    and it works for me. Do you have problems on a single socket or on many ones?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #33 20625834
    pogadaevalecsey
    Level 5  
    I had three sockets, I updated two, they stopped working, I did not update the third, I did not update. What information do you need to give?

    Added after 2 [minutes]:

    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide

    Added after 2 [minutes]:

    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide

    Added after 1 [hours] 12 [minutes]:

    I figured it out, the Wi-Fi settings flew off, the devices switched to the access point mode
  • #34 20625967
    p.kaczmarek2
    Moderator Smart Home

    Why did the WiFi settings get reset? Do you mean it booted in Safe Mode (so the settings are retained, it just booted into safe mode), or do you mean that the config is really clear? Only WiFi config or full config?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #35 20625969
    pogadaevalecsey
    Level 5  
    full seting bad
  • ADVERTISEMENT
  • #39 20626086
    pogadaevalecsey
    Level 5  
    да именно так
    yes
  • #40 20626105
    DeDaMrAz
    Level 20  

    pogadaevalecsey wrote:
    да именно так
    yes


    Ok, I'll try to replicate that and report back.

    Did you know you can backup, both your config and your autoexec before the update and then upload it back.

    webapp - flash tab - read OBK config
    webapp - filesystem - download FD backup
  • #41 20626157
    p.kaczmarek2
    Moderator Smart Home
    Seems to work for me, at least while updating 1.17.108 to 1.17.148:


    Helpful post? Buy me a coffee.
  • #42 20626310
    pogadaevalecsey
    Level 5  

    >>20626105
    how to do it?
  • #43 20645244
    pogadaevalecsey
    Level 5  
    спасибо! когда сделаете поддержку термодатчика DS18, очень актуально для розеток!
  • #44 20645365
    p.kaczmarek2
    Moderator Smart Home

    pogadaevalecsey wrote:
    full setting bad


    You are right. There was a small bug that caused settings to clear by OTA updates between certain builds. It's fixed now. Please choose the latest build when updating. Thank you for reporting.


    pogadaevalecsey wrote:
    спасибо! когда сделаете поддержку термодатчика DS18, очень актуально для розеток!

    DS18B20 is still pending, sorry, please wait! We've recently added MCP9808 support, if this may interest you.
    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide
    If not, please wait.
    Helpful post? Buy me a coffee.
  • #45 20645521
    pogadaevalecsey
    Level 5  
    Home Assistant Not Detecting OpenBeken Device: Manual Setup & Pin Configuration Guide

    Added after 11 [minutes]:

    MCP9808 избыточно
  • #46 20728864
    mmsdh
    Level 2  

    >>20430409
    I'd like to add my voice to adding RSSI in HA. We need it badly.

    Also, thank you very much for the wonderful work you're doing!
  • #47 20762555
    pogadaevalecsey
    Level 5  

    Not long ago, I bought another relay to control the thermostat. They turned out to be on the BK7231 chip, which makes it impossible to use the DS18B20 sensor.
  • #48 21289476
    pogadaevalecsey
    Level 5  
    I saw that ds18b20 support appeared, connected my sensor. to the board. but the result was not satisfactory.
    I connected it to free P6 and p26, the result is the same. maybe my sensors are fake? but the esp home works fine.

    holodos
    OFF
    Temperature 0.0C (1)
    NTP (217.147.223.78): Local Time: 2024-11-04 20:52:14
    DS1820 Temperature: -1.26 C (read 936 secs ago)
    3 drivers active (NTP, SSDP, DS1820), total 36
    Channel 0 = 0.00, Channel 1 = 0.00
    Cfg size: 3584, change counter: 39, ota counter: 0, incomplete boots: 1 (might change to 0 if you wait to 30 sec)!
    Chip temperature: 48.6°C
    Wifi RSSI: Good (-54dBm)
    Reboot reason: 0 - Pwr
    MQTT State: connected RES: 0(ERR_OK)
    MQTT ErrMsg:
    MQTT Stats: CONN: 1 PUB: 173 RECV: 30 ERR: 0
  • #49 21296297
    pogadaevalecsey
    Level 5  
    log
    Debug:SENSOR:DS1820[6] - Discover CRC failed (CRC=ff != calculated:14)
    Error:SENSOR:DS1820[6] - Family not discovered

    Added after 4 [minutes]:

    this is a piece of code from ESP HOME, where this sensor works
    - platform: dallas_temp
    address: 0x123ce1e381917128
  • #50 21351185
    pogadaevalecsey
    Level 5  
    извините, теперь еспхоум, поддерживает чипы БЕКЕН, с настройкой DS18B20, не возникло никаких проблем, к сожалению вынужден перейти на их платформу.

Topic summary

The discussion addresses issues with integrating OpenBeken-based smart sockets into Home Assistant (HA), focusing on manual pin configuration, MQTT setup, and device discovery. Initial problems included HA not detecting the device despite correct relay and pin settings. Solutions involved verifying MQTT credentials, using IP addresses instead of hostnames, and correctly configuring the "Configure device" tab rather than unrelated tabs. Users confirmed HA discovery works after proper setup, revealing multiple objects but lacking network status (RSSI) and LED control entities. LED behavior depends on pin assignments; blue LED typically indicates WiFi status, red LED power state, but pin mapping varies by device. Troubleshooting LED dimness involved checking pin inversion and electrical connections. Firmware from Tyua was noted to handle LEDs differently. The BK7231 chip pinout was referenced to clarify LED pin assignments. Users requested adding RSSI and temperature sensor support; current firmware supports DHT and SHT30 sensors but not DS18B20, which is pending implementation. OTA updates caused some users to lose full device configuration, including WiFi settings, due to a bug fixed in later builds. Backup and restore procedures for configurations were recommended. Recent firmware versions confirmed stable operation. Attempts to use DS18B20 sensors showed CRC errors and detection failures, while ESPHome platform supports BK7231 with DS18B20 successfully, leading some users to consider switching platforms. Overall, the thread provides practical guidance on manual device setup, pin configuration, LED control, MQTT troubleshooting, sensor integration, and firmware update management for OpenBeken devices in Home Assistant environments.
Summary generated by the language model.
ADVERTISEMENT