Now, we will run the surfboard sensor emulator and the surfboard monitor we recently coded. Make sure you run these Python programs after you have followed the necessary steps to activate the virtual environment in which we have been working.
Execute the following line to start the surfboard sensor emulator example on any computer or device that you want to use as the MQTT client that works as the surfboard sensor emulator and uses Linux or macOS:
In Windows, you must execute the following line:
After a few seconds, you will see the output shown in the next lines:
Result from connect: Connection Accepted. surfboards/surfboard01/status: ...