The Main module implements a hierarchical state machine. The top level tracks the cloud connection and the firmware update:
STATE_CLOUD_CONNECTED holds the cloud synchronization cycle in a set of sync substates:
The Main module implements a hierarchical state machine. The top level tracks the cloud connection and the firmware update:
STATE_CLOUD_CONNECTED holds the cloud synchronization cycle in a set of sync substates: