Nice project. Even though some items are in a language I do not understand, the sketch provided me with a better understanding of the MySensors work. Thank you for making the connection of what I know and what I was having trouble understanding.
We are of like minds, Don't like the cloud based controls (that's another discussion).
In my case I have a Bryant/Connex system, heat pump, variable speed fan and 4 zones. There's a lot going on: the 4 zones creates 16 profiles. The fan speed for a profile will depend on the indoor and outdoor temperature. The thermal fluid pump also has to be controlled. A profile will have an optimal air pressure, so there's a sensor there.
The controller works just fine not being connected to the cloud. But I want to set the parameters remotely, Bryant/Connex can do this. I also wnat the status of the various actuators and sensors to show up in Home Assistant.
The signals sent over the RS422 are proprietary. My plan was to reverse-engineer the signals. After doing this I'll have to experiment to get the right mix of air pressue, fan speed and thermal fluid flow for each profile.
I'd like to do the same for my AO Smith heat pump water heater.
I'd like to follow your progress.
OSD
@Kokosnoot good solution. I remember the discussion in the early days of MySensors. I've powered the radio's for most of my sensors from the 3.3v regulator on the arduino board and for me that works perfect. But for my latest designs I decided to add a separate ams regulator for my radio's like the guys suggested in the beginning. Because you basically want the on board regulator to power the mcu only.
@pbw a gateway's function is to act as a gateway between the nodes and a controller. I don't think you will have all of the needed memory available to add logic to the gateway and you will make your solution very static.
You can implemented your own lightway controller, just have a look at the Serial API. But controllers like Domoticz are lightweight and the already over a browser based interface. And most of them are easy to setup creating a much more versatile and dynamic solution.