logo elektroda
logo elektroda
X
logo elektroda

OBK Devices Lose State in Home Assistant on Restart, Flag 10 Ineffective

yarix2 447 1
ADVERTISEMENT
  • #1 21070099
    yarix2
    Level 6  

    Hi

    I think I miss something, or there's an annoying bug with Home Assistant integration.

    When the Home Assistant restarts, all OBK devices lose their state in HA.
    To reproduce:
    1. Turn on some OBK switch/light. Make sure the state in HA is correct.
    2. Restart HA
    3. Check the status of the switch/light
    --- see that it is set to "off" (bug!!)

    Is there a workaround or solution for that? BTW, flag 10 doesn't solve the issue
    Flag 10 - [MQTT] Broadcast self-state on MQTT connect
    doesn't seem to help.

    Added after 46 [minutes]:

    Seems like it was also reported as a bug https://github.com/openshwprojects/OpenBK7231T_App/issues/1182

    For me, the workaround is setting flags 10 and 21 (and restarting the device)
  • ADVERTISEMENT
  • #2 21070977
    miegapele
    Level 15  

    I have set flag 2 and it works fine, state appears back after some seconds
ADVERTISEMENT