Monitor Room Temperature Remotely with Arduino & MQTT

  Переглядів 19,289

Gary Explains

Gary Explains

Рік тому

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/gary-explains-l...
Twitter: / garyexplains
Instagram: / garyexplains
#garyexplains

КОМЕНТАРІ: 34
@thaernejem7317
@thaernejem7317 Рік тому
Love it! First time I’m aware of this kind approach. Thanks Gary!
@munocat
@munocat Рік тому
This was a prefect timed video, I am working on such a project, I will be using a RPi pico w with a BME680
@michabarnas612
@michabarnas612 Рік тому
Perfect timing for a tutorial I wanted, nice video, thanks!
@GaryExplains
@GaryExplains Рік тому
Glad to help!
@byavarsi
@byavarsi Рік тому
Wow! Thanks Gary. Was searching for a similar device since a week.
@GaryExplains
@GaryExplains Рік тому
Glad I could help
@FreeTheUyghurs
@FreeTheUyghurs Рік тому
Check out the Hestia Pi project as well. We have an open source pi-based thermostat you can buy or print yourself.
@muddyexport5639
@muddyexport5639 Рік тому
Excellent!
@bozotheclown935
@bozotheclown935 Рік тому
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==
@GaryExplains
@GaryExplains Рік тому
Glad it helped.
@bozotheclown935
@bozotheclown935 Рік тому
@@GaryExplains Gary do you mind me asking, what is your professional background?
@GaryExplains
@GaryExplains Рік тому
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.
@bozotheclown935
@bozotheclown935 Рік тому
@@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.
@clipje6628
@clipje6628 Рік тому
Dear Gary, Thanks. nice explain. Does somebody have any advice on a nice MQTT Panel for IOS?
@1MarkKeller
@1MarkKeller Рік тому
GARY!!! GOOD AFTERNOON PROFESSOR! GOOD AFTERNOON FELLOW CLASSMATES! Stay safe out there everyone!
@GaryExplains
@GaryExplains Рік тому
MARK ‼️
@gianlucaminervo5141
@gianlucaminervo5141 9 місяців тому
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
@b_dawg_17
@b_dawg_17 Рік тому
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! 😁
@wayland7150
@wayland7150 Рік тому
I'm using a PI 3 and NodeRED. My sensor is a BME280 which does temperature, humidity and pressure.
@AndersJackson
@AndersJackson Рік тому
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.
@ecahbella921
@ecahbella921 6 місяців тому
can i use this for landslide monitoring using arduino nano 33 iot?
@letrainavapeur
@letrainavapeur Рік тому
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.
@flemlion13
@flemlion13 Рік тому
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.
@MUHAMMADYAWARIFRAHEEM
@MUHAMMADYAWARIFRAHEEM Рік тому
Nychhhhhhhhh👍👍
@ehoworka
@ehoworka 9 місяців тому
Please post your code SOMEWHERE... Thank you for the video.
@GaryExplains
@GaryExplains 9 місяців тому
I did. It is in my GitHub repo.
@4olovik
@4olovik Рік тому
Like for ground studio promotion
@leventtore10
@leventtore10 4 місяці тому
where is the code ???
@GaryExplains
@GaryExplains 4 місяці тому
In my GitHub repo. Just Google "Gary Explains GitHub"
@kimberlyjacobsen4148
@kimberlyjacobsen4148 Рік тому
Why not use a ESP8266?
@GaryExplains
@GaryExplains Рік тому
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.
@kimberlyjacobsen4148
@kimberlyjacobsen4148 Рік тому
@@GaryExplains both are supported by arduino IDE, one have native Wi-Fi support the other one does not. One is cheaper etc
@GaryExplains
@GaryExplains Рік тому
Now I am even more confused. What was the exact purpose of your original question?
@AndersJackson
@AndersJackson Рік тому
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...
13 Brilliant IoT Projects!!! (2024 Edition)
10:25
ToP Projects Compilation
Переглядів 66 тис.
What is an MQTT Broker Clearly Explained
10:11
Opto Video
Переглядів 184 тис.
Помилка,  яку зробило військове керівництво 🙄
01:00
Радіо Байрактар
Переглядів 263 тис.
Manage your device via the Internet from anywhere in the world. MQTT Protocol
12:43
Home Made - то, что ты можешь сделать
Переглядів 157 тис.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Переглядів 580 тис.
quick introduction to UART communication with example
4:04
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 564 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Переглядів 752 тис.
The One BIG Reason to Learn Google's Go Language
17:55
Gary Explains
Переглядів 152 тис.
NEW Arduino Uno R4 Boards - Minima & WiFi
57:40
DroneBot Workshop
Переглядів 96 тис.
MQTT Network Controller
51:13
Playful Technology
Переглядів 138 тис.