Still trying to figure out how Moteino's work. I am trying to read the output from a MoteinoUSB plugged into a usb port of a RPi. I am trying to do this with Python.
Set up:
Node - MotionMote that sends a "motion detected" message when motion is detected.
Gateway - A MoteinoUSB plugged into the usb port on my raspberry pi.
What I am trying to do:
How can I use python to read the "motion detected" message from the usb moteino plugged into the Raspberry Pi?
Something like:
message = getMoteinoMessage()
if "motion detected" in message:
//do something
How do I write the getMoteinoMessage?
Thanks
See how i've done it in this example (https://github.com/LowPowerLab/WattMote/blob/master/WattMote.py).