Accéder au contenu principal

Articles

Affichage des articles du mars, 2018

A simple temperature and humidity MQTT sensor for Home Assistant, based on Arduino MKR1000

This article describes a way to create and manage multiple very simple temperature and humidity sensors based on Arduino MKR1000 , and being able to send their information to Home Assistant . The Arduino MKR1000 is a pretty cool device, which has an integrated Wifi chip, optimized for low power consumption. This post is not addressing the power aspect, but keep in mind that a possible enhancement of the presented configuration could be to leverage the low power and sleep mode possibilities, in order to run the sensor on battery, instead of having it constantly plugged in. Without taking that into consideration, my requirements were the following: - To be able to plug in a sensor in each room of my home, connected to my Wifi network; - To read humidity and temperature every few minutes; - To collect all data on a pre-configured Home Assistant server; - To be able to re-connect automatically, whenever an Internet, wifi or power outage occurs (and in my place, you can expect all t...