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

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 91

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

    • @techiesms
      @techiesms  2 года назад +1

      we require a router

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

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

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

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

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

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

  • @vamsikrishna9825
    @vamsikrishna9825 5 лет назад +1

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

  • @CharudattUplap
    @CharudattUplap 6 лет назад +1

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

  • @mountrat
    @mountrat 2 года назад

    Can u please help me to design PCB layouts professionally? I want to get a professional course for 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.

  • @RCshizzle
    @RCshizzle 5 лет назад

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

  • @Kwikwik
    @Kwikwik 2 года назад

    can we implement alexa into this?

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

  • @dineshbobburu4743
    @dineshbobburu4743 3 года назад

    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

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

  • @TheBookNarrativesbyTejashwini
    @TheBookNarrativesbyTejashwini 5 лет назад

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

  • @seyyedamirhossein7778
    @seyyedamirhossein7778 4 года назад

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

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

  • @reni_christian
    @reni_christian 4 года назад

    Best explanation.

  • @jasonliew2678
    @jasonliew2678 4 года назад

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

  • @woodywood1951
    @woodywood1951 5 лет назад

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

  • @sanjeev44
    @sanjeev44 6 лет назад

    One Word ----> Brilliant👌👌

  • @harryiotdeveloper7307
    @harryiotdeveloper7307 5 лет назад

    You can use node red

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

  • @mohamedsiddik0
    @mohamedsiddik0 4 года назад

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

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

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

  • @TheCarbys
    @TheCarbys 6 лет назад +1

    Personally i prefer to use blynk server in local network.

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

  • @anishmulukutla5777
    @anishmulukutla5777 5 лет назад

    How can I connect this to google assistant?

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

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

  • @vipul-pawar
    @vipul-pawar 6 лет назад

    very much useful it is like IOT offline

  • @dompower500
    @dompower500 5 лет назад

    Excellent tutorial

  • @krishnawa_
    @krishnawa_ 6 лет назад

    Great tutorial👍👌

  • @vimalbethuraj3915
    @vimalbethuraj3915 2 года назад

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

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

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

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

  • @woodywood1951
    @woodywood1951 5 лет назад

    not working: no such file, etc...

  •  4 года назад +1

    thanks

  • @deepakagrawal9654
    @deepakagrawal9654 6 лет назад

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

  • @ajaybnl
    @ajaybnl 5 лет назад

    Thanks for sharing.

  • @artisingh9165
    @artisingh9165 4 года назад

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

  • @eriklaken1025
    @eriklaken1025 6 лет назад +1

    Thank you :)

  • @АлександрП-л7п
    @АлександрП-л7п 6 лет назад

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

    • @homosanians
      @homosanians 6 лет назад

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

  • @robomakers8982
    @robomakers8982 6 лет назад

    Blynk is more compitable for you

  • @alpha_pixel_
    @alpha_pixel_ 4 года назад

    Does it work on raspberry pi 4

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

  • @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 ruclips.net/video/9dxEdDDb_gE/видео.html