Got my Ruuvi tags in a day early so went to work adding them into Home Assistant.
Still following LEDGardeners video guide. I have to HIGHLY recommend this video series of his. Its very well done and easy to follow. I cannot believe how well fleshed out these free open source software packages are and what is available for them to do. I have invested less then $275 for something that would probably cost well over $3,000 if I bought it off the shelf.
First thing I did was add an Esp32 devboard into HA. My purpose for this device is to act as a Bluetooth to Wifi bridge. The Ruuvi pucks that are Bluetooth will communicate with the Esp32 which will then pass that info over wifi to the Rasberry PI that is running Home Assistant. HA has an integration called ESP32home that takes care of most of the backend scripting for you and this makes getting the esp32 board connected and working a breeze. This is where I ran into my first major issue, some esp32 boards require you to hold down the Reboot button on the actual board to allow the board to be updated when flashing the boards config. LEDGardener does mention that some of the boards require this so warning was given and I knew to look out for it. Good news is that you only have to do this once the very first time you configure the board and then subsequent over the air (OTA) updates don’t require it.
Another nice thing about the Esp32Home integration is that their website has the code for many supported devices and Ruuvi tags happen to be supported devices so this was a snap as well. Just had to copy their code and paste it into the yaml config file and replace the MAC address with those of my devices and I was good to go. Uploaded the new config to the esp32 board, checked the logs and boom the devices were talking and the Ruuvi tags were sending back their readings to Home Assistant.
Then added these sensor reading to my Dashboard using an entities card and ended up with this:
Even though the Ruuvi tags are labeled different in the UI I actually have them physically sitting next to each other because I want to check their accuracy. Pretty close so far. I have another Bluetooth sensor of a different brand and it reports the humidity 10% more then the Ruuvi tags. I have some humidor hygrometers that I use for curing that I will throw in the room to see which sensor is accurate with the humidity. My money is on the Ruuvi’s being the more accurate one.
My next project in Home Assistant will be to build some automations based off these environmental measurements and control turning on/off a ventilation fan and dehumidifier using the smart plugs.