DIY Home Automation - ESP32, Raspberry Pi, Node Red, MQTT, Smart House || IoT Project - Part 1

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 76

  • @vegavega9399
    @vegavega9399 4 роки тому

    Svaka čast na trudu i odlično urađenom tutorijalu,puno sreće u narednim prijektima. Bravo !

  • @JoshuaSeagroves
    @JoshuaSeagroves 6 років тому +3

    Great video! Very well put together overview. Can't wait to see where you break it down into more details.

    • @dusnoki
      @dusnoki  6 років тому +1

      Thanks so much! It really means a lot. Gonna make a live stream where I go into the details of the code and the node red setup. Also going to publish the video on how I setup the raspberry pi if someone is interested.

  • @cncmachineguy1
    @cncmachineguy1 3 роки тому +4

    The image for the pi seems to be deleted. Do you have another image or do we need to install all the bits and pieces now?

  • @lanmi70
    @lanmi70 5 років тому +1

    Sjajno odradjeno, odlican tutorijal. Cestitam i zelim ti puno uspeha sa projektom.

    • @dusnoki
      @dusnoki  5 років тому

      Hvala Vam lepo. Jako je puno truda uloženo i puno znači dobar komentar :)

    • @lanmi70
      @lanmi70 5 років тому

      @@dusnoki Stvarno je odlicno i potpuno te razumem koliko ti je truda trebalo. Ja sam moj projekat radio ko crnac godinu dana, i razmisljam kuda dalje :) lanmisoft.com

  • @joeglass8431
    @joeglass8431 6 років тому +3

    Thatk you for doing all the hard work for us! Great Video!

    • @dusnoki
      @dusnoki  6 років тому

      Glad I could help :) and you like it

  • @MsRodaroda
    @MsRodaroda 4 роки тому +1

    Well done!! Congrats! I will be using sone of your tips!

  • @originalhotrodder4337
    @originalhotrodder4337 5 років тому +1

    Great work Boris! Thank you for sharing. Going to watch your next videos on it for further detail.

    • @dusnoki
      @dusnoki  5 років тому

      Thanks man. It really means a lot.

  • @josemuygay8851
    @josemuygay8851 4 роки тому +1

    This video is really great! You deserve more subscribers

    • @dusnoki
      @dusnoki  4 роки тому

      Thanks man. I really appreciate it. Shame I don't have time to make new videos lately cause of work. But maybe soon :)

  • @Tony455HO
    @Tony455HO 5 років тому +1

    Great video Boris.. subbed and watching the rest of videos. Cheers.

    • @dusnoki
      @dusnoki  5 років тому

      Thanks man, I really appreciate it :)

  • @ngoranbedes6811
    @ngoranbedes6811 5 років тому +1

    Nice work good spirit
    Is it possible to do this same project without the ESP 32

    • @dusnoki
      @dusnoki  5 років тому

      Probably yes, with the esp8266. Just curious what you have against he esp32 :)

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

    Well Done mate , great job. The PI image and Gerber has been deleted . Would you mind , please updating the file for us . Looking forward . Please let know . Thanks again.

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

    Thank you for the vid. I want to do automation projects where the controls can be manipulated on a web-enabled devise that is not on the same wifi network as the esp32. How can I do that?

  • @Mariyana
    @Mariyana 6 років тому +2

    Can't wait for you to install this in our house ❤️

  • @sarthakvarshney
    @sarthakvarshney 3 роки тому

    Nice work buddy.

  • @pedjanbgd4221
    @pedjanbgd4221 6 років тому +1

    Odlican video, Jel ti se isplati izrada sopstenog kucista 3D stampanjem, I kolika bi bila cena narucivanja preko JLCPCB-a DHL-om za srbiju da li je zaista 44.62$ shipping a PCB 2$?

    • @dusnoki
      @dusnoki  6 років тому

      E ne pitaj me za DHL molim te... Sad se svadjam sa njima neće da mi odobre komponente koje su mi poslali sa lcsc.com za novi projekat jer ih ima kao 600 komada pa misle da hoću da ih preprodajem(smd komponente neće ni da šalju neke manje od 100 komada) . Plus naplatice mi troškove spedicije(3500 din) i jos troškove carine i pdv(ne verujem ispod 1000). Tako da toplo bih ti preporucio naručivanje preko Obične pošte. Malo će duže trajati ali bice bezbolnije i mnoooogo jeftinije.

    • @pedjanbgd4221
      @pedjanbgd4221 6 років тому

      @@dusnoki Kad bi prodavao gotov KIT ne bih mogao komponente bi te jedino kocile.

    • @dusnoki
      @dusnoki  6 років тому

      A sto se tice 3d štampanja. Ne znam kolko bi me izašlo. Ovo svakako nije gotov proizvod već samo prototip modula. Kad bih pravio gotov proizvod ne bih koristio dev ploču već bih napravio redovnu ploču sa integrisanim esp32. Ali ovo vise radim iz hobija i jer me interesuje a i da pomognem drugima koji žele da udji u ove vode malo. Posto sam dosta toga morao da kopam po netu na raznim stranama.

  • @baseladams280
    @baseladams280 4 роки тому

    Thank you for the video. how to send the MQTT messages over the internet and not only over the local network?

  • @brunojesus4994
    @brunojesus4994 4 роки тому

    Awesome video! Thanks for sharing! It was very instructive. I still not saw the second video, but I have some "noob doubts" that I'll appreciate if you could help me. I don't have an HTU21D Temperature and Humidity Sensor, instead, I have a DHT11 sensor. Is it much more difficult to adapt the code for this sensor? Unfortunately, I don't have a Relay Board too, is it possible to use the same code to run, or I should do some changes to use just the protoboard? Thanks again!

  • @muhammadatif1696
    @muhammadatif1696 4 роки тому

    Please share the Raspberry Pi image again. It's not available in the provided link.
    It has been removed.
    Looking forward to it.
    Thanks!

  • @vunnamprasad
    @vunnamprasad 5 років тому +2

    Hi Boris, Do you have circuit diagram for this? BTW it's an excellent video :)

    • @dusnoki
      @dusnoki  5 років тому +1

      Hey man. Thanks i really appreciate it. You have a link in the description. The easy eda project. You can find the circuit diagram and the pcb layout there as well. Hope it helps. There is also a part two where I dive deeper into the code and node red.

    • @vunnamprasad
      @vunnamprasad 5 років тому

      @@dusnoki yep I've seen it. Thanks :)

  • @mcdls5
    @mcdls5 6 років тому +1

    Amazing work Boris. This is a fantastic template for the kind of automation I want to do.
    What are you using for your screen capture software and for your editing?

    • @dusnoki
      @dusnoki  6 років тому

      Thanks man it really means a lot.
      OBS studio is used for recording. And I use Adobe premiere Pro for editing and Adobe after effects for the animations. Also a bit of Photoshop and illustrator :)

    • @mcdls5
      @mcdls5 6 років тому +1

      I could go on and on about how really good this post is but I don't English too good. You see, I'm an American. :)
      What I like about what I see here is that you packaged the whole system together in a way people can emulate. And by people, I mean me. It's well thought out. It's scalable. It's a good base for additions. Besides the project being something to emulate, your work and your post are also.

    • @dusnoki
      @dusnoki  6 років тому

      Thanks man for the support :) this is a prototype and wouldn't use it for more than maybe the room temperature reading and ir controls. I'll be making a more real life solution with a proper relay board and explanation on my house that is being built at the moment. So will keep you posted how it's going and what I learned along the way.

  • @Roottech25
    @Roottech25 4 роки тому

    is the ESP32 for connecting the relay board to the Raspberry PI? that part was not clear

  • @pistifesus1785
    @pistifesus1785 5 років тому

    Would you mind to share the flow? I am curious about historical weather data. I would love to see some of my weather stations display the data like yours. Thanks.

    • @dusnoki
      @dusnoki  5 років тому +1

      It's there in the github page. It has evolved a bit until then cause I added grafana support but it should still be viable.

  • @dnyaz5622
    @dnyaz5622 5 років тому +1

    Hi Boris,
    Could you briefly explain how you store the DHT data in the SQL database?

    • @dusnoki
      @dusnoki  5 років тому +1

      You can check out part two of my video where I explain in more detail the code, node red setup and everything.

  • @desparky
    @desparky 5 років тому +1

    Thanks for sharing Boris. I've only recently discovered Node Red and this almost exactly what I intend to set up. Unfortunately the link to the Raspberry Pi image no longer works. Is it available anywhere? Cheers from Australia.

    • @dusnoki
      @dusnoki  5 років тому +1

      I would highly recommend installing rasbian from scratch using my tutorial. ua-cam.com/video/2gvRVaHxhW4/v-deo.html

    • @desparky
      @desparky 5 років тому

      Thanks Boris. I'll follow your lead. Cheers.

    • @rajpalpatil274
      @rajpalpatil274 4 роки тому

      @@dusnoki Can this Image be installed on Raspberry Pi4 B ????

  • @HasanAYousef
    @HasanAYousef 3 роки тому

    Great work, thanks

  • @eliudsmarlin
    @eliudsmarlin 5 років тому +3

    Can I use Raspberry Pi 3 instead of the Pi Zero? Will the image work as is?

    • @dusnoki
      @dusnoki  5 років тому

      Yes you can, but I don't know if the image itself will work. I have made a detailed more recent video on how to install raspbian, mqtt, node red... on the raspberry pi (headless even), so you can check out that video if you wish. It also uses Peter Scargill's script. The only thing you are going to have to setup is the flow itself which you have in the github repo.
      ua-cam.com/video/kRvNlSJs0Hg/v-deo.html here is the link of the video.

  • @markosisak
    @markosisak 6 років тому +3

    Pozdrav Boris,
    odličan video! sviđa mi što daješ instrukcije kako što napraviti i samim time pomažeš hrpi ljudi koji počinju se time baviti da shvate principe.
    Da li si probao Home Assistant ( www.home-assistant.io/)? Ukoliko nisi toplo preporučam, jer ima support za jaaako puno proizvoda i meni je idealan kao centralni "hub" koji povezuje različite uređaje kao što su xiaomi, philips hue, node-red za automatizaciju, mqtt, esp8266 i slično.
    Sve u svemu velika podrška za ovakve videe i nadam se da češ nastaviti sa detaljnim videima.

    • @dusnoki
      @dusnoki  6 років тому

      Hvala puno. Mislim da sam već gledao home assistant nedavno ali nisam mogao još i njega da ubacim u ovaj video jer bi bio predugačak. Gledajte na ovaj video kao početak serijala o home automation. Biće ih još, kao i live streamova :) hvala još jednom na podršci i lepim recima. Stvarno puno znači

    • @denishd4706
      @denishd4706 6 років тому +1

      @@dusnoki Baš se radujem nadolazećim videima, jer i mene u poslednje vreme baš zanima kućna automatizacija! Samo napred! 😀🔝🔝

  • @denishd4706
    @denishd4706 6 років тому +1

    Ovu kombinaciju RPi -ja i NodeRed -a ću i ja jednog dana implementirati.. ali ne kontam bas kako se podesava node red.. moze neki video tutorijal i na tu temu? 😁 I ako bi mogao da stavis titlove na srpskom za svaki klip.. posto te preko 50% ne razumem.. jer mi engleski nije bas jaca strana.. a verovatno da ima jos takvih.. 😁😂

    • @JocinaKujna
      @JocinaKujna 6 років тому

      Staviću titlove čim stignem. A što se tiče node red-a. Pravicu live stream gde ću objašnjavati kako sam sve povezao ali na engleskom. Iskreno, Puno experimentisanja. I ako želiš da naučiš više stvari. Engleski je nažalost must have.

    • @denishd4706
      @denishd4706 6 років тому

      @@JocinaKujna Hahah znam.. ali ne ide.. 😂 Ovako iz knjige da strebam, nema sanse, slabo ja to zapamtim.. Najbolje bi bilo ovako kad igram razne igre, pa usput i slušam šta se priča.. i onda bih vremenom naučio (kao i većina mojih drugara).. ali na žalost, još uvek nisam sklopio računar, koji može da podrži igre koje me zanimaju.. (uglavnom ove najnovije, koje usput traze zverku do kompa)

  • @juanrobertocuellarlozano5646
    @juanrobertocuellarlozano5646 5 років тому +1

    I downloaded the image and the dietpi.txt file is nothing like what you show in the video, i cannot change to which wifi network its going to connect

    • @dusnoki
      @dusnoki  5 років тому

      Yes I'm aware of this issue. That's why I created a new video how to install raspbian headless with Peter scargills script. You can check it out. Unfortunately, dietpi doesn't allow changing of WiFi after the fact.
      ua-cam.com/video/2gvRVaHxhW4/v-deo.html

    • @juanrobertocuellarlozano5646
      @juanrobertocuellarlozano5646 5 років тому

      @@dusnoki Thank you so much for the info

  • @JocinaKujna
    @JocinaKujna 5 років тому

    Exelent video thanks 🌴🍾🍾🍾🍾🍾

  • @sunitapatil381
    @sunitapatil381 4 роки тому

    Thank you so much sir for this beautifull vedio thank you

  • @SyedAliNasir
    @SyedAliNasir 5 років тому

    Kindly share the circuit diagram.

  • @robertparenton7470
    @robertparenton7470 5 років тому

    Thank You!

  • @ssabt12
    @ssabt12 5 років тому

    Hi.. would you like to collaborate with me and extend the software capability of this?

  • @colinpamplin9976
    @colinpamplin9976 6 років тому

    Thanks for a really interesting video. However I cannot login to the dietpi installation, I have downloaded your .zip and used Etcher. Tried pi/password root/password etc. and nothing works. Any ideas? Is there a link to the node red flow?

    • @dusnoki
      @dusnoki  6 років тому

      Hey man, thanks for writing.
      I've just tried it now, it seems to work with pi/password. Haven't changed any passwords
      Node Red Admin address: ip-address-to-raspberry-pi:1880
      username: admin
      password: password
      Node Red UI address: ip-address-to-raspberry-pi:1880/ui
      username: user
      password: password
      Raspberry pi user: pi
      Raspberry pi password: password
      The flow.json is there in the github repo.
      github.com/dusnoki/esp32-home-automation-mqtt
      Hope it helps... If you still can't login hop on to my discord channel discord.gg/Aef4VRc , I'll try and help you out when I find the time. I'll upload a new version of the dietpi that is updated with the newest flow.

  • @jacob.9664
    @jacob.9664 6 років тому +1

    $44 for shipping what?

    • @dusnoki
      @dusnoki  6 років тому +2

      Yeah that is shipping to Serbia via DHL. I know. A bit steep. In comparison, to the US it around $17 with DHL. Depends on the countries prices for shipping. There are other shipping methods available as well. Check the site for more details on the shipping cost to your country.

    • @jacob.9664
      @jacob.9664 6 років тому +1

      @@dusnoki Ah ok i feel bad for you. Good video btw :)

    • @dusnoki
      @dusnoki  6 років тому

      It's not this site particular. DHL has poopy rates to Serbia from anywhere. Thanks though :)

  • @denishd4706
    @denishd4706 6 років тому

    Inace, ja od nedavno pokusavam nesto sa Node.js da programiram.. meni je zanimljivije, da sve preko koda odradim.. 😁😂

    • @JocinaKujna
      @JocinaKujna 6 років тому +1

      Ja node.js programiram na poslu za backend. Kao i react.js za frontend :D

    • @dusnoki
      @dusnoki  6 років тому +1

      Inace ne pitaj zasto mi je mobilni odlucio da odgovaram sad drugog profila :D

  • @dijoxx
    @dijoxx 4 роки тому

    Why do you say the relay is for low-power devices? It can very well accommodate higher power devices as well. Also, you really did not need a Raspberry PI for this project.

  • @balhoto
    @balhoto 4 роки тому

    Nice. If you've got a litecoin wallet i'm keen to provide donations

    • @dusnoki
      @dusnoki  4 роки тому

      sudokin.com/donate/ Don't have a Litecoin wallet but some ETH and BTC, also some other ways to donate. It is always appreciated and thank you in advance :)