Lab 15. Receiving mote data over MQTT

  • Your instructor will start two application of the SmartMeshSDK on their computer:

    • JsonServer connects to the SmartMesh IP manager

    • HiveMqConnector which connects to the MQTT broker and publishes information it gets from the SmartMesh network onto topic aiotacademy

  • 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

  • Once all set, don’t forget to deploy your flow

  • What do you receive in your debug window?

Answer 1:

Crash course

How do you differentiate data coming from different motes?