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

КОМЕНТАРІ • 37

  • @robdavidowitz6428
    @robdavidowitz6428 7 місяців тому +1

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

    • @GaryExplains
      @GaryExplains  7 місяців тому

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

    • @mikedunning265
      @mikedunning265 7 місяців тому

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

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

  • @thaernejem007
    @thaernejem007 2 роки тому +1

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

  • @michabarnas612
    @michabarnas612 2 роки тому +2

    Perfect timing for a tutorial I wanted, nice video, thanks!

  • @munocat
    @munocat 2 роки тому +1

    This was a prefect timed video, I am working on such a project, I will be using a RPi pico w with a BME680

  • @byavarsi
    @byavarsi 2 роки тому +1

    Wow! Thanks Gary.
    Was searching for a similar device since a week.

  • @FreeTheUyghurs
    @FreeTheUyghurs 2 роки тому +2

    Check out the Hestia Pi project as well. We have an open source pi-based thermostat you can buy or print yourself.

  • @b_dawg_17
    @b_dawg_17 2 роки тому +3

    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 2 роки тому +1

      I'm using a PI 3 and NodeRED. My sensor is a BME280 which does temperature, humidity and pressure.

    • @AndersJackson
      @AndersJackson 2 роки тому +1

      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 2 роки тому +1

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

  • @ecahbella921
    @ecahbella921 Рік тому

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

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

  • @muddyexport5639
    @muddyexport5639 2 роки тому

    Excellent!

  • @clipje6628
    @clipje6628 2 роки тому

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

  • @ehoworka
    @ehoworka Рік тому

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

  • @letrainavapeur
    @letrainavapeur 2 роки тому

    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 2 роки тому

      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.

  • @leventtore10
    @leventtore10 Рік тому

    where is the code ???

    • @GaryExplains
      @GaryExplains  Рік тому

      In my GitHub repo. Just Google "Gary Explains GitHub"

  • @MUHAMMADYAWARIFRAHEEM
    @MUHAMMADYAWARIFRAHEEM 2 роки тому

    Nychhhhhhhhh👍👍

  • @4olovik
    @4olovik 2 роки тому

    Like for ground studio promotion

  • @kimberlyjacobsen4148
    @kimberlyjacobsen4148 2 роки тому

    Why not use a ESP8266?

    • @GaryExplains
      @GaryExplains  2 роки тому +1

      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 2 роки тому

      @@GaryExplains both are supported by arduino IDE, one have native Wi-Fi support the other one does not. One is cheaper etc

    • @GaryExplains
      @GaryExplains  2 роки тому

      Now I am even more confused. What was the exact purpose of your original question?

    • @AndersJackson
      @AndersJackson 2 роки тому

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