Thanks.You should investigate "mysensors" as well. DIY sensors and actuators; might suit your needs better than Wi-Fi IOT stuff. I've played with it on Arduinos to create temperature sensors and relay actuators for the Pihome heating control system. It was easy to convert from the default wireless network to RS485 wired (just change a few lines in the Mysensors Arduino sketches). Figuring out how to make Pihome understand zone controllers that combine temp sensors and relays is another story.
https://www.mysensors.org/
https://www.pihome.eu/
Sure, I'll check them.