Monitor Room Temperature Remotely with Arduino & MQTT
Вставка
- Опубліковано 9 лют 2025
- Temperature monitoring is essential for keeping your home, vacation rental, or RV safe, comfortable, and energy efficient. There are lots of commercial solutions, but you can also build your own using a cheap microcontroller board, a temperature sensor, Arduino, and an MQTT broker.
---
MQTT with a Raspberry Pi and an Arduino - • MQTT with a Raspberry ...
Let Me Explain T-shirt: teespring.com/...
Twitter: / garyexplains
Instagram: / garyexplains
#garyexplains
Excellent tutorial👍
None of the unnecessary American style waffle.
Straight to the point.
Thanks, I think... I am not quite sure what "American style waffle" is, but I am glad you liked the video 👍
@@GaryExplains Sickly sweet and buttery??? :D
Mate top notch explanation.
I have been making an electronics project and told we use this sort of data transfer and know nothing about it.
You just walked that example beautifully.
All the best from Australia.
==BOZE==
Glad it helped.
@@GaryExplains Gary do you mind me asking, what is your professional background?
I have an honors degree with a major in computer science. I worked for 10 years as a software engineer before moving to writing and content creation.
@@GaryExplains Excellent,
I work at an Australian University and was an electronics tech before moving to PC support. Never lost my love of doing this stuff. I am the only one in our orbit that knows anything about analogue, and the newer kids don't even try. Not their fault, just that everything else is now modular and easy to jig together.
I have had a wonderful life doing this stuff.
OK, all the best and will look you up on your site. Again, best wishes from Oz and Happy Easter.
Love it! First time I’m aware of this kind approach. Thanks Gary!
Perfect timing for a tutorial I wanted, nice video, thanks!
Glad to help!
This was a prefect timed video, I am working on such a project, I will be using a RPi pico w with a BME680
Wow! Thanks Gary.
Was searching for a similar device since a week.
Glad I could help
Check out the Hestia Pi project as well. We have an open source pi-based thermostat you can buy or print yourself.
I'm actually working on a similar project right now! But I'm using the RP Pico W, DHT20 temp/humid sensors, and I'm going to host it on an Ignition server running on my RP4 with a neat touch screen display 😎 I was thinking about using MQTT as my communication method so this video (and your one about MQTT specifically) is really helpful! Thanks Gary! 😁
I'm using a PI 3 and NodeRED. My sensor is a BME280 which does temperature, humidity and pressure.
Have a look at the MQTT topic standard for publishing data for home automation.
So you don't get a flat topic structure, which isn't that efficient.
GARY!!!
GOOD AFTERNOON PROFESSOR!
GOOD AFTERNOON FELLOW CLASSMATES!
Stay safe out there everyone!
MARK ‼️
can i use this for landslide monitoring using arduino nano 33 iot?
Hi, thank you so much for this tutorial!
I have a question to ask, I noticed that if I don't keep the app in the background in the phone it doesn't update the data sent from the esp, so is it normal that I have to necessarily leave the app in the background in the phone to constantly receive the temperature and humidity data? (I am always using IoT MQTT Panel as the app). Thanks for any reply and sorry for my poor English
Excellent!
Dear Gary, Thanks. nice explain. Does somebody have any advice on a nice MQTT Panel for IOS?
Please post your code SOMEWHERE... Thank you for the video.
I did. It is in my GitHub repo.
Seems a lot of code compared to Micropython but great to see how you have tacked it.
It would be very useful to see how you would make this available on the internet when you have the broker running on a Raspberry pi in the home, I currently use Wireguard to access it.
Using a VPN is indeed a safe and relatively easy way to make it accessible.
Setting up a reverse proxy with Apache httpd or NGINX needs a bit more care to keep it safe.
where is the code ???
In my GitHub repo. Just Google "Gary Explains GitHub"
Nychhhhhhhhh👍👍
Like for ground studio promotion
Why not use a ESP8266?
I don't understand the question, why does my choice of microcontroller board elicit a "why not use X" question? Why not use a Pico W? Why not use a ESP32-C3? You can use whatever controller you want, that is why I wrote the code using Arduino. Your choice.
@@GaryExplains both are supported by arduino IDE, one have native Wi-Fi support the other one does not. One is cheaper etc
Now I am even more confused. What was the exact purpose of your original question?
Why on earth use the ESP8266? Because it is what you have at home? Well, then use that. No one stop you, and this will still be useful for you, if you chose to do so...