logo elektroda
logo elektroda
X
logo elektroda

[Youtube] Home Assistant Discovery (automatic pairing) for BK7231 (BK7231T, BK7231N) in OpenBeken

p.kaczmarek2  10 3540 Cool? (0)
📢 Listen (AI):

Here's a short video guide showing the automatic Home Assistant Discovery process for BK7231 (T and N), BL602, W800/W801, W600/W601 and XR809 devices in OpenBeken firmware. Automatic Discovery allows you to easily pair your device with Home Assistant, without having to write any YAML code. Everything is done with one button click and your device just shows up in Home Assistant, alongside with all it's relays, LED controls (if available) and sensors (for example, DHT temperature/humidity sensor or BL0942 power metering sensor.



Tutorial assumes that you have already OpenBeken installed. If not, please watch our "how to change firmware" videos:
https://www.youtube.com/@elektrodacom
Remember to visit OBK supported devices list and home page:
https://openbekeniot.github.io/webapp/devicesList.html
https://github.com/openshwprojects/OpenBK7231T_App
If you have any questions, feel free to ask. We're here to help you get your devices running 100% local and cloud-free!

About Author
p.kaczmarek2
p.kaczmarek2 wrote 12923 posts with rating 10724 , helped 599 times. Been with us since 2014 year.

Comments

p.kaczmarek2 01 May 2023 20:28

2023-05-01 update Today OpenBeken Home Assistant Discovery system has been improved. Starting from today, the advanced channel types will get discovered by HA as well. This will help with some of TuyaMCU... [Read more]

p.kaczmarek2 20 May 2023 21:13

2023-05-20 reminder Remember that you can set channel labels: setChannelLabel 1 Test123 and they will get to HA as well: https://obrazki.elektroda.pl/3556917900_1684609951_thumb.jpg Please... [Read more]

p.kaczmarek2 06 Sep 2025 19:07

@divadiow we got the following report: Are you able to reproduce it? Here's is a fix, can you check it? https://github.com/openshwprojects/OpenBK7231T_App/pull/1791 [Read more]

divadiow 06 Sep 2025 19:12

hi. I can try. I'm away from home until tomorrow. I'll see if I can check remotely without it being too much of a faff [Read more]

insmod 06 Sep 2025 19:46

It was reproducible for me, and this fixes it. Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic homeassistant/status Info:MQTT:HA status - online But, i've disabled self state... [Read more]

p.kaczmarek2 06 Sep 2025 19:53

Currently it's by design, because it's basically just straight up required for HA, so I assumed that it should be always published. Still, do you think it should be behind one of the flags? My only... [Read more]

insmod 06 Sep 2025 19:56

Why is it required? It works fine for me without it. Sensors on battery shows up as "unknown" after HA restart. Same problem, but can't be solved the same way. [Read more]

p.kaczmarek2 06 Sep 2025 20:14

Device state is not known after HA restart and users complain. I can't see currently any potential scenario where homeassistant/status online message is sent but we don't want full state publish. [Read more]

insmod 06 Sep 2025 21:55

Online is sent on any HA boot, be it a reboot, power cycle or reboot on update (I use HA OS in VM, mosquitto as an addon in HA). I've got a relay, which is configured as light (flag 34). If i reboot HA... [Read more]

p.kaczmarek2 07 Sep 2025 10:09

Merged, thanks [Read more]

%}