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
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?
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.
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
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?
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...
@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 .
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.
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 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
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!
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 .
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
Thank you for your sharing, is this project require a router? or the Raspberry pi is an access point?
we require a router
One Word ----> Brilliant👌👌
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?
cant we make this to be controlled by anywhere like can we connect the raspberry pi to the interner??
I think no because everything should be connected with same wifi and globally it's not possible
Best explanation.
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.
Did you get a solution to this problem?
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
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?
Could you please also cover NODE-RED+MQTT+Raspberry Pi and ESP8266
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?
Why going for expensive?
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?
Please show us how do you design nodemcu PCB (kindly request)
Yes that is also something I really wanted to know.
I’ll be making a video on designing pcb soon
Download Diptrace and learn on youtube. Its a piece of cake.
very much useful it is like IOT offline
Excellent tutorial! Will this setup allow remote control through the cloud from outside the home?
No
How can we connect two or more nodemcu (esp8266) with a single raspberry pi??
Sir, can you make automatic transfer switch between the grid and solar panel?
Can we use breadboard instead of PCB for connections?? Please do help we have to work on that project.
Yes you can
hi techiesms
how many nodemcus we can connect to the raspberry pi????
Can u please help me to design PCB layouts professionally? I want to get a professional course for that
Excellent tutorial
can we implement alexa into this?
Hello.
I like your videos, but I got an error: unknown option -m
Why?
Thanks.
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...
Hi how to make it work if i wanna replace the phone app with a button on raspberrry pi
hi , can we write a public ip from another mqtt server instead of this ip?
please help
@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 .
This cannot be work if I connect each of my component to different network?
Is it possible to do local and remote mqtt server in the same device ?
so can u pls share how to make the connections of raspiberry pi an and node mcu
Sir, if we connect our local server to internet means we can access globally right?
i have the same question did u find out?
The article on your website does not exist.
techiesms.com/home-automation-based-on-local-mqtt-server-using-raspberry-pi-and-nodemcu-board/
Great tutorial👍👌
that code is working in opposite direction i.e it is turning off in 1 value and turning on in 0 value
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..??
How can I connect this to google assistant?
Hi.
Will it work outside your house ?
Thanks.
Marc.
depends on you routers coverage area
It will work till you are connected with your router
@@techiesms put openvpn on your phone and you can control it safely from anywhere
@@techiesms yes if we connect with global server like broker.hivemq.com
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.
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 ?
Change the the connections from NC to NO or viceversa
@@techiesms where Sir ,is it in the code ? Or physically through wire?
Wires
@@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
Thanks for sharing.
You can use node red
my mqtt dashbaord app is not connecting with server.....showing error
Server is offline try another global server like broker.hivemq.com
awesome video bro 👍👍
Thanks for sharing, is there any APP for IOS?
Could you please !!!
Superbbbbbbb...!!! 👏👏👏👏👏
Thank you :)
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!
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
@@qwarlockz8017 Will look into it! Thanks!
thanks
bro what is your graduation......?
coz.. to discuss with my parents abt ur graduation
B.E in Electronics and Communication
@@techiesms thank you
Personally i prefer to use blynk server in local network.
not working: no such file, etc...
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 .
Где бы посмотреть пример скетча?
там же ссылка в описании есть
Code please
Techiesms team
Please show excel data to publish and subscribe using mqtt
👌👌👌👌
website hack ho gai kya aapki???
techiesms.com/home-automation-based-on-local-mqtt-server-using-raspberry-pi-and-nodemcu-board/
Blynk is more compitable for you
Does it work on raspberry pi 4
Yes
@@techiesms thankuu
How can i take this over the internet?
Do i need static ip or port forwarding for that in my router?
Watch this ua-cam.com/video/9dxEdDDb_gE/v-deo.html