

Home assistant radbeacon update#
( Updated: version 0.7beta - ) SET COMMANDS (fetch HA data to update the Nextion) I have shared more details on GitHub together with some example files that can be used as templates to get going.

There are only 3 places in your HMI files that you need to add customized code (highlighted in light blue in the diagram) - the rest can use standardized template code. The diagram below summarises how it works, and I’ve listed the instruction set that nextion_handler makes available in the Nextion Editor below. This allows you to program a Nextion touch screen device (NSPanels in particular) to interact with Home Assistant (HA) without having to do any coding in ESPHome YAML or Home Assistant automations. But the approach I’m using is a bit different from what I’ve seen others doing - it uses a Python script to provide a service so that you can send instructions to Home Assistant directly in the Nextion Editor. Like quite a few other people, I’ve been working on integrating my Sonoff NSPanels into Home Assistant.
