void ensureSensorEnabled(const char *context)
void requestFullDisconnectAndRadioOff()
void dailyCleanup()
Cleanup function that is run at the beginning of the day.
bool publishDiagnosticSafe(const char *eventName, const char *data, PublishFlags flags)
Publish a state transition to the log handler.
void publishData()
Publish sensor data to Ubidots webhook and device-data ledger.
void requestRadioPowerOff()