01-23-2022, 09:23 PM
(01-23-2022, 08:22 PM)TheOldPresbyope Wrote: @heman22
I haven't monitored sensors via a moOde install but certainly MQTT clients work fine in RaspiOS. I scripted the mosquitto client, for example, to monitor the progress of simultaneous moOde builds on several RPi models back in the day when binary images weren't being distributed.
Besides its light weightedness, the wonderful thing about MQTT is its ubiquity---name a platform and there's likely to be a MQTT implementation for it. You can mix and match RPi, ESP8266, etc.
Coincidentally, I'm starting a project to monitor temp and humidity (and, hopefully, air flow or at least the state of the fan) in a number of rooms in the house we recently moved into. ATM, the air distribution system is seriously unbalanced. My personal calculus is that using microcontrollers makes better sense because
Good luck.
- I want to monitor at least 6 spaces so cost is a factor
- I want to keep the power consumption and heat generation down to avoid influencing the temp sensor; as well, the monitors doesn't have to be battery powered, but that could be a bonus because I could move them around easily
- I don't want to have to reinstall the monitoring software any time I reinstall moOde (which I tend to do a lot in testing)
- I want an excuse for a microcontroller project so I can explore the progress that's been made in the 8 years since I last did one
Regards,
Kent
You are absolutely right. I already have 7 ESPs deployed gathering temp and humidity data. For the boy's room I have a Pi running moOde and an ESP with a sensor. For the sake of being able to use the ESP from the boys room on another project, I figured I would put that sensor on the Pi.
I also set the sensors up around the house to get a feel how unbalanced the rooms are. I'm taking the data from MQTT and use nodered to put the data in an influx database. I used Grafana to display the data. All of this is run in various docker containers. I'm starting to script everything I run at home, so I will have a repo with my BASH script to install what's needed after and will just pull and run the script.
I attached a screen shot of one of the Grafana dashboards.