3 ms·
Sorry if it’s off-topic but how does it know if the bathroom window open or not? Did you build some kind of device and connect it to the home assistant?
by veeableful 6y ago
Sorry if it’s off-topic but how does it know if the bathroom window open or not? Did you build some kind of device and connect it to the home assistant?
- milgrim 6y agoYou can easily integrate Zigbee devices. The Aqara or Xiaomi door/window sensors for example are cheap and pretty nice.
- veeableful 6y agoThanks! I didn't know Xiaomi made such sensors too. They are definitely one of the brands that I recognize.
- dylz 6y agoOfficially, they only work with Mi Home cloud-crap, but there are Zigbee drivers for interfacing with it.
- milgrim 6y agoI use a few different devices from them with zigbee2mqtt and it’s working great. It’s perfect for combining devices from different manufacturers and not having to use their individual gateways.
- MrGilbert 6y agoI'm happy to answer. :) I'm using a ready-made sensor for this. It's the same system I'm using for temperature and humidty measurement. It's proprietary [0], but someone reverse engineered it [1], so I can send the data via MQTT to home-assistent. I then wrote an automation using Node-RED. It get's triggered when the window opens. After an initial timeout of five minutes, it will compare the inside temperature and humidity with the outside temperature and humidty, and decide if it should wait another five minutes or fire off a notification. If you close the window before, it will stop everything and reset itself. [0]: https://mobile-alerts.eu/ https://mobile-alerts.eu/ [1]: https://github.com/sarnau/MMMMobileAlerts https://github.com/sarnau/MMMMobileAlerts
- veeableful 6y agoThanks for the answer! I didn't know there are already ready-made sensors for such use-cases (though I'm not familiar with Home Assistant itself either, only heard of what it is).