Home Automation based on Local MQTT server using Raspberry Pi and NodeMCUBoard | ESP8266 Projects

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 92

  • @os-channel
    @os-channel Рік тому

    Hi techiesms,
    what a great project! It works properly.
    I would like to setup a MQTT project with one ESP32 as a subscriber and another ESP32 as publisher. The broker should be a local RasPi standalone as Broker-Server creating its own WLAN without connection to the Internet via Router or Access Point.
    Can you give me hints how to do this?
    The handling of the ESP32 should be easy. But with the RasPi I have got my problems to combine the installed Mosquitto and the WLAN-Server capabilities.
    Do you have this setup described in one of your courses? (Please without NodeRed.)
    Thanks!
    Oli

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

    Thank you for your sharing, is this project require a router? or the Raspberry pi is an access point?

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

    One Word ----> Brilliant👌👌

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

    How would I control some stepper motors with your code and the esp8266 nodemcu board. My steppers are very small and I’m hoping to control them without using a motor shield. Can I use MQTT to send the correct commands?

  • @harsheetchordiya1773
    @harsheetchordiya1773 3 роки тому +1

    cant we make this to be controlled by anywhere like can we connect the raspberry pi to the interner??

    • @goonline6882
      @goonline6882 4 місяці тому

      I think no because everything should be connected with same wifi and globally it's not possible

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

    Best explanation.

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

    can we make hybrid like online as well as offline.....Online we have a lot of option but when the internet is gone there is a lot of issue. So trying to find a solution to make it work offline as well as online.....hope the question make sense ......thank you for the info though great work keep it up.

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

      Did you get a solution to this problem?

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

    Sir, could you please consider making a tutorial/video to control these relays with the raspberry pi but using the Arduino Iot Cloud and the API they provide for the mqqt broquer exchange

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

    hi, can I command relays also when my phone are disconnected to my wifi? or it work only in local, when all is connected to wifi?

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

    Could you please also cover NODE-RED+MQTT+Raspberry Pi and ESP8266

  • @Leo-sy4mi
    @Leo-sy4mi 5 років тому +2

    Great video!!
    I am gonna try myself as well. I am thinking to use ESP32 instead.
    Any changes to your setup (using ESP8266) that I need to be aware?

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

    Great video. Just one question, how can I run MQTT server script on pi and listen to some of the data flowing on the same pi and take action against it. For example, the temperature sensor data can be used to turn on the fan connected via relays to Raspberry Pi.
    Also had a doubt regarding the port number. There must be some file you ran for a broker on PI? Can you please elaborate on that?

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

    Please show us how do you design nodemcu PCB (kindly request)

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

      Yes that is also something I really wanted to know.

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

      I’ll be making a video on designing pcb soon

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

      Download Diptrace and learn on youtube. Its a piece of cake.

  • @vipul-pawar
    @vipul-pawar 6 років тому

    very much useful it is like IOT offline

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

    Excellent tutorial! Will this setup allow remote control through the cloud from outside the home?

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

    How can we connect two or more nodemcu (esp8266) with a single raspberry pi??

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

    Sir, can you make automatic transfer switch between the grid and solar panel?

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

    Can we use breadboard instead of PCB for connections?? Please do help we have to work on that project.

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

    hi techiesms
    how many nodemcus we can connect to the raspberry pi????

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

    Can u please help me to design PCB layouts professionally? I want to get a professional course for that

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

    Excellent tutorial

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

    can we implement alexa into this?

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

    Hello.
    I like your videos, but I got an error: unknown option -m
    Why?
    Thanks.

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

    Great Explanation!! If we consider real time scenario and if we are making a product then how are we gonna connect esp32's acting as a subscriber to the Raspberry PI acting as MQTT broker, as the esp32 code can't be updated again and again when IP address of broker change, can you please clarify this doubt and mobile app will be interacting with the MQTT broker as publisher to MQTT broker, Thanks in advance...

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

    Hi how to make it work if i wanna replace the phone app with a button on raspberrry pi

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

    hi , can we write a public ip from another mqtt server instead of this ip?
    please help

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

    @techiesms can you please tell how to configure the same setup with home assistant , I have pcb ready and it does work with the app and I want to make it work with homeassistant and alexa.
    Kindly tell how it can be done .

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

    This cannot be work if I connect each of my component to different network?

  • @YouTube-i9
    @YouTube-i9 5 років тому

    Is it possible to do local and remote mqtt server in the same device ?

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

    so can u pls share how to make the connections of raspiberry pi an and node mcu

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

    Sir, if we connect our local server to internet means we can access globally right?

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

    The article on your website does not exist.

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

      techiesms.com/home-automation-based-on-local-mqtt-server-using-raspberry-pi-and-nodemcu-board/

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

    Great tutorial👍👌

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

    that code is working in opposite direction i.e it is turning off in 1 value and turning on in 0 value

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

    i want to do the same thing by using pubsubclient library in place of adfruit_mqtt_client , how can i do that what will be code for that..??

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

    How can I connect this to google assistant?

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

    Hi.
    Will it work outside your house ?
    Thanks.
    Marc.

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

      depends on you routers coverage area
      It will work till you are connected with your router

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

      @@techiesms put openvpn on your phone and you can control it safely from anywhere

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

      @@techiesms yes if we connect with global server like broker.hivemq.com

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

    Personally speaking, pcbway's service makes me feel more secure because their service rep is more responsive and I can get any information I want on their website.

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

    I tried using with the 4 channel relay module,but all the relays are turned automatically on when I power the nodemcu and switching buttons on turns off the relay ...please help with the code ...what code to change ?

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

      Change the the connections from NC to NO or viceversa

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

      @@techiesms where Sir ,is it in the code ? Or physically through wire?

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

      Wires

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

      @@techiesms but sir it may look odd then , I want to know why its working reverse on 4 channel relay board and would like to know how through code this can be solved , thanks for replying

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

    Thanks for sharing.

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

    You can use node red

  • @amitgupta-or5nm
    @amitgupta-or5nm 5 років тому

    my mqtt dashbaord app is not connecting with server.....showing error

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

      Server is offline try another global server like broker.hivemq.com

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

    awesome video bro 👍👍

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

    Thanks for sharing, is there any APP for IOS?
    Could you please !!!

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

    Superbbbbbbb...!!! 👏👏👏👏👏

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

    Thank you :)

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

    I think the project is kinda simple but very interesting, and your video explained it very well! I want to build something like that but beeing able to connect to the network from the internet. I dont want to expose a port on my router actually:( I there an other way??
    Also i want to have a server like rasberry and nothing cloud based because i want to be robust and can work offline too:) Thanks if you can suggest something it would help a lot!

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

      setup an openvpn server in your network. Setup openvpn client on your phone. click the button and your phone is back in your network safely

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

      @@qwarlockz8017 Will look into it! Thanks!

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

    thanks

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

    bro what is your graduation......?
    coz.. to discuss with my parents abt ur graduation

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

    Personally i prefer to use blynk server in local network.

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

    not working: no such file, etc...

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

    hello there thanks for this video. please make a video on how to install multiple mqtt brokers on raspberry pi3 i.e example mosquitto mqtt broker and aws iot using broker bridging .

  • @АлександрП-л7п
    @АлександрП-л7п 6 років тому

    Где бы посмотреть пример скетча?

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

      там же ссылка в описании есть

  • @nayproject2580
    @nayproject2580 3 дні тому

    Code please

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

    Techiesms team
    Please show excel data to publish and subscribe using mqtt

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

    👌👌👌👌

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

    website hack ho gai kya aapki???

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

      techiesms.com/home-automation-based-on-local-mqtt-server-using-raspberry-pi-and-nodemcu-board/

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

    Blynk is more compitable for you

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

    Does it work on raspberry pi 4

  • @RahulSingh-wq3sr
    @RahulSingh-wq3sr 6 років тому

    How can i take this over the internet?
    Do i need static ip or port forwarding for that in my router?

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

      Watch this ua-cam.com/video/9dxEdDDb_gE/v-deo.html