Example of using electrolink-client-mqtt-python library to drive WeIO board remotely.
-
Start electrolinkServer on WeIO board
-
Make sure that MQTT broker (Mosquitto) is running on WeIO board as described here, otherwise use some other server here
-
Execute the test on PC:
python test.py
N.B. Once started, test can be stopped from another terminal by executing:
ps aux | grep python | grep test | awk '{print $2}' | xargs kill