![]() Understand the concepts of Subscribing and Publishing in MQTT as we'll be using them when programming our Wemos D1 minis. ![]() Rui Santos over at Random Nerd Tutorials does it much better than me. Remote temp monitor how to#I won't explain here how to install Node Red and MQTT onto a RasPi. The latter then displays the temperature on the SSD1306 screen.Īs it costs only about $3 for the Wemos/Screen setup, any number of these devices can be placed around your house and they'll all update simultaneously. The RasPi MQTT server receives the data, then sends it to the MQTT Subscribed devices - in this case the other Wemos D1 mini(s). More about that below.)Įvery half an hour, (or other user-defined period) the outside Wemos D1 wakes from deepsleep, reads the temperature from the DS18B20, then transmits the data to the Raspberry Pi using the MQTT Publish protocol. (I use an 18650 battery and solar panel for the outside sensor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |