HASS discovery works, but it's an MQTT packet to be sent to HASS to describe the device.
HASS API is described here, and it's also written the main advantages. For me, the main advantage is that there is nothing to set up, but also, MQTT works well
1. Perfect, I wrote in app -> Log -> Console "SetChannelLabel 1 switch". It would be useful to have the link you provided directly on the web UI near the console (I tried help w/o results)
2. I set it as shown above, but in the app, I only see the switch
How to Rename openBK Switch Entity and Separate External Switch in HASS with BK7231N?
Setting dInput, I see the value in HASS, but even if it's ok when I connect a bistable button, it's not good for a push button pressed very fast. It would be better to have a variable that toggles between on and off with the push, so I'm sure to detect the push even with network latency.
Many thanks
AI: Could you specify which firmware version of openBK or BK7231N you are using, and whether you’re running the official or a custom build?
I’m using the official openBK firmware, version 1.17.123.
AI: When you mention “separate external switch,” do you mean you want a second, independent entity in Home Assistant for the external switch input, or are you referring to a hardware wiring/configuration change?
I’m referring to having a separate entity in Home Assistant, not a wiring change.
HASS API is described here, and it's also written the main advantages. For me, the main advantage is that there is nothing to set up, but also, MQTT works well
1. Perfect, I wrote in app -> Log -> Console "SetChannelLabel 1 switch". It would be useful to have the link you provided directly on the web UI near the console (I tried help w/o results)
2. I set it as shown above, but in the app, I only see the switch
How to Rename openBK Switch Entity and Separate External Switch in HASS with BK7231N?
Setting dInput, I see the value in HASS, but even if it's ok when I connect a bistable button, it's not good for a push button pressed very fast. It would be better to have a variable that toggles between on and off with the push, so I'm sure to detect the push even with network latency.
Many thanks
AI: Could you specify which firmware version of openBK or BK7231N you are using, and whether you’re running the official or a custom build?
I’m using the official openBK firmware, version 1.17.123.
AI: When you mention “separate external switch,” do you mean you want a second, independent entity in Home Assistant for the external switch input, or are you referring to a hardware wiring/configuration change?
I’m referring to having a separate entity in Home Assistant, not a wiring change.