Used devices
- Aqara sensors are used with zigbee2mqtt.
- Hue lights are used with Hue bridge and a python API to access the REST service so that both vendor app and custom apps can be used at the same time. I found the python hue API more practicle than the zigbee2mqtt interface (Note that Hue allows the bridge usage with a smartphone app or through the REST in the local network without any account).
- The nRF52 sensors are DIY RF mesh open source HW/SW from #nRF5 Custom Mesh Network, that join the rest of thesensors at mqtt level.
- The bed heater is simply layin in gihub, the ESP32 code is in this repo and its mqtt python client is here.
- For miflora, I used this miflora-mqtt-daemon, which integration in the rest of the environment worked out of the box.
- The neopixels panel and its webapp are detailed in #Neopixels Animations on ESP32 MQTT Json Webapp.
More details about deployment at https://hackaday.io/project/20388-home-smart-mesh/log/169353-sensors-to-services-deployment.
For any question or recommendation, feel free to use the comments section.
Aqara and Eurotronics hand in hand to save energy
and make life more convenient for users. In this home automation section, aqara window contact sensors are used to send a window open alert to the Eurotronic thermostat, once the alert is disabled, the thermostat resumes the previously set temperature.

The Spriit (google "eurotronic thermostat zigbee" ) has the spirit of devices compatibility introducing a zigbee product, which support is added by the zigbee2mqtt community.
In this code section below, multiple windows contacts ("apertures") are aggregated and a notification is sent when the state changes, the full code is available here.
Python Client injects selected MQTT traffic to influxdb

This project has been constatly evolving, from custom RF to zigbee sensors to DIY Thread as depicted below. It is a collection of ideas and sample code and not focusing on a single software or framework.
Thread, OpenThread, nRF52-dongle, firmware Coming soon
The evolution of WPAN (wireless private area network) has led to this moment where the 802.15.4 (already in use by zigbee) joins the ipv6 in the Thread standard managed by the threadgroup. Google, behind Nest provided an open source implementation : openthread. Nordic has provided a very cheap and convenient nRF52840-dongle supporting all sorts of modern wireless protocols and with a direct usb connection (for bootloader sw update, logging, interfacing), sure you can get the nRF52 dev kit rather for development, but hacking the dongle is more fun and given the size and cost you can have many to test with real networks:

I prepared an OpenThread mind map here, have x5 of those dongle, managed to have the USB running to log the events of the MQTT-SN sample (to be shared soon in github)
Given the beauty of the tools and the framework, released around a raspberry pi border router, I'm glad to lead the next generation of custom low power wireless sensors toward the Thread standard, and they're likely to easily get compatible with other off the shelf future smart home products !
(You can contact me in case you'd like to help in this direction)
zigbee2mqtt 2 influx 2 grafana
- I hoped to replace my nRF52 low power sensors with off the shelf zigbee but that's not gonna happen any time soon as the ones I designed with the custom protocol are competitive in the logging use case. I have now an Aqara temperature sensor running over zigbee2mqtt logging side by side with my custom sensor on a grafana dashbaord (example snapshot here).
The high resolution of the nRF52 custom sensor comes from a stunning 30 sec period log (1 min per parameter), that's been running for alomst 6 months already on a CR2032 with a +4dB configuration, so no wonder how long the CR2477 version can last.
- When it comes to buttons,...
That's one of the best smart home solutions I have seen so far.
How long do the batteries on those Aqara devices last?
Do you use the CC2531 USB stick ?
I would really like to add zigbee devices to my smarthome:https://hackaday.io/project/14862-diy-scada-smart-home