You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a state machine to sensors will help in keeping track of any changes in sensors.
This will also help in reporting these to a status/<sensor-name> in the pub sub system similar to #5 .
Adding a state machine to sensors will help in keeping track of any changes in sensors.
This will also help in reporting these to a
status/<sensor-name>
in the pub sub system similar to #5 .State machine libraries for py-
Custom Implementation -
EDIT- A really simple way would be using http://liftoff.github.io/onoff/
EDIT 2 - Nice tutorial using the
python-statemachine
library -- https://www.askpython.com/python-modules/state-machines-pythonTasks
The text was updated successfully, but these errors were encountered: