Monitor Room Temperature Remotely with Arduino & MQTT

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

Пікірлер: 37

  • @thaernejem7317
    @thaernejem7317 Жыл бұрын

    Love it! First time I’m aware of this kind approach. Thanks Gary!

  • @robdavidowitz6428
    @robdavidowitz642822 күн бұрын

    Excellent tutorial👍 None of the unnecessary American style waffle. Straight to the point.

  • @GaryExplains

    @GaryExplains

    22 күн бұрын

    Thanks, I think... I am not quite sure what "American style waffle" is, but I am glad you liked the video 👍

  • @mikedunning265

    @mikedunning265

    16 күн бұрын

    @@GaryExplains Sickly sweet and buttery??? :D

  • @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.

  • @gianlucaminervo5141
    @gianlucaminervo5141 Жыл бұрын

    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

  • @clipje6628
    @clipje6628 Жыл бұрын

    Dear Gary, Thanks. nice explain. Does somebody have any advice on a nice MQTT Panel for IOS?

  • @ecahbella921
    @ecahbella9219 ай бұрын

    can i use this for landslide monitoring using arduino nano 33 iot?

  • @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.

  • @1MarkKeller
    @1MarkKeller Жыл бұрын

    GARY!!! GOOD AFTERNOON PROFESSOR! GOOD AFTERNOON FELLOW CLASSMATES! Stay safe out there everyone!

  • @GaryExplains

    @GaryExplains

    Жыл бұрын

    MARK ‼️

  • @MUHAMMADYAWARIFRAHEEM
    @MUHAMMADYAWARIFRAHEEM Жыл бұрын

    Nychhhhhhhhh👍👍

  • @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.

  • @ehoworka
    @ehoworka Жыл бұрын

    Please post your code SOMEWHERE... Thank you for the video.

  • @GaryExplains

    @GaryExplains

    Жыл бұрын

    I did. It is in my GitHub repo.

  • @4olovik
    @4olovik Жыл бұрын

    Like for ground studio promotion

  • @leventtore10
    @leventtore107 ай бұрын

    where is the code ???

  • @GaryExplains

    @GaryExplains

    7 ай бұрын

    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...