Open sgbaird opened 2 months ago
@SissiFeng The most basic MWE I can think of for this is the same as the "blink the onboard LED, read the temperature" workflow within https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/1.4-hardware-software-communication.html.
Slight upgrade to that would be the "send RGB command, read 8 channel spectra" for the light-mixing demo. However, I'm not sure if the MicroPython implementation of SparkPlug B (linked above) is robust or not. So, you might need to use a Pi Zero 2 W or just a Python script running locally to test.
@SissiFeng The most basic MWE I can think of for this is the same as the "blink the onboard LED, read the temperature" workflow within https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/1.4-hardware-software-communication.html.
Slight upgrade to that would be the "send RGB command, read 8 channel spectra" for the light-mixing demo. However, I'm not sure if the MicroPython implementation of SparkPlug B (linked above) is robust or not. So, you might need to use a Pi Zero 2 W or just a Python script running locally to test.
https://github.com/SissiFeng/SparkPlugB-tutorial
I wrote a first draft (don't know which repo to put it in).
https://github.com/sciotaio/micropython-sparkplugb
http://www.steves-internet-guide.com/introduction-to-mqtt-sparkplug-for-iiot/
http://www.steves-internet-guide.com/sparkplug-payloads-and-messages/
http://www.steves-internet-guide.com/checking-active-mqtt-client-connections/
https://protobuf.dev/
https://protobuf.dev/getting-started/pythontutorial/
Related to the idea of being able to check statuses in a consistent way