I’m looking to build my home automation project based on HA. I’ve bought a Unipi Neuron some time ago, and realy like the hardware. Currently it’s running on node-red as a way to control the relays based on the digital inputs. It works, but gets messy real quick.
Unipi uses an API called Evok, which I use to interface with it in node-red. The path I was thinking to walk would involve node-red to send and recieve MQTT messages on a basic level…
- digital input triggered > send MQTT
- relay changed > send MQTT
- MQTT message recieved to change relay state > change relay
- …
this way I would be able to use HA as the brains of my automation process, and keep the hardware seperate and quite open to use other stuff (like an arduino, as it would be able to send an recieve MQTT packages too… and HA will process it the same way)
Or would it be better to use the Evok API directly in HA?