My current home automation setup uses sensors with different technologies:
- MySensors (with node-red and serial gateway)
- zWave (with fhem)
- Homematic (with homegear)
- Buderus (oil-fired heating, with fhem)
- Sonoff Dual (hacked, with MQTT)
I have adapters for all of them to/from MQTT. With node-red I have written an abstraction layer for all of them, which is heavily inspired by the mysensors API.
The most complex thing I have implemented, is a regulation for the floor heating. The regulation algorithm takes in account:
- open windows
- room temperature
- lead temperature
Every room has it's own regulation. But it is dependent mostly on the room temperature sensor. I have written some fuzzy logic but if to many of them fail, it will get cold inside.
Tomorrow the old api of netatmo will not work anymore. It is the third time, I have written an adapter for my home automation setup. The new api doesn't really bring new functionality but I have to use it.
So I made a decision to replace all this netatmo stuff with MySensors (https://forum.mysensors.org/topic/4355/mh-z14a-co2-sensor/5).
It will be
- not dependent of the internet or the cloud
- up to me to decide, when or if I want to change the api
- fully open sourced
- not only IOT, bur IOYT
IOYT... what else?