Add the server as localhost:1883 , topic as iot-topic and give it some name. Once that is done, we now get back to the Node-RED page and start the circuit connections, I am adding input Inject, mqtt and output debug nodes to the flow. Go to System Preferences –> Network –> TCP/IP and get the IPv4 Address.
LOAD MOSQUITTO ON WINDOWS HOW TO
Here are the steps on how to set the local network open to connected devices on Mac, Network- WiFi(Internet) sharing and IP address : Paul Schragger for helping me with this part.
![load mosquitto on windows load mosquitto on windows](https://m2msupport.net/m2msupport/wp-content/uploads/2019/04/mqtt_connect_to_local_machine.png)
I understand that first time users will struggle to figure this out, as it happened to me while doing it. Go to Device Config and update the MQTT server url with the systems IP address.Remember how we start our mos UI ? repeat the same steps and let the init.js run But now how do we make our device talk to Node-RED ? We have to make sure that they are both talking through the local server. node-red starts running on the local server and we can open on any of the browsers and the UI pops-up.Open node-red using the command node-red in terminal.Sudo npm install -g -unsafe-perm node-red Check the version of node.js installed using node -v.
![load mosquitto on windows load mosquitto on windows](http://www.steves-internet-guide.com/wp-content/uploads/dos-prompt-admin.jpg)