Start a Node-RED server in your Command Prompt:
node-red
Open the Your instructor will start two application of the SmartMeshSDK on their computer:
JsonServer
connects to the SmartMesh IP managerHiveMqConnector
which connects to the MQTT broker and publishes information it gets from the SmartMesh network onto topicaiotacademy
On your computer, start Node-RED (command “node-red”) and open its interface at http://127.0.0.1:1880/
Create the following Node-RED flow
...
You will need the following parameters to configure your nodes:
Broker address | |
---|---|
Port | 1883 |
Topic we will publish on | iotprona |
...
Crash course
...
aiotacademy |
Once all set, don’t forget to deploy your flow
What do you receive in your debug window?
...