State ============================== **Topic:** ``/state/`` The data logger publishes the current state on a dedicated topic with a retained message. The interval that the state is published is controlled by the ``MQTTStateInterval`` setting. **Topic Example:** ``cs/v2/state/ABCD-EFGH-1234`` **Retained:** True Online Message -------------- .. code-block:: json { "clientID": "CR6_945", "state": "online" } Offline message --------------- .. code-block:: json { "clientId":"GS33-ERBH-LA75", "state":"offline", "reason":"Program requested disconnect" } Watchdog Event -------------- This topic publishes a message when the data logger experiences a **watchdog reset** **Topic Example:** ``cs/v2/state/ABCD-EFGH-1234/watchdogEvent`` .. code-block:: json { "count": "1", "file": "WatchdogInfo.txt" }