Context
The WebSocket documentation currently needs to clearly distinguish the message types emitted by the Comwatt stream.
Observed behavior
A full-hour live capture showed:
FLOW messages: streamed device power measurements;
STATE messages: streamed switch/state changes;
- no
QUANTITY messages: energy quantities are not emitted by the WebSocket stream.
Energy data must therefore be obtained through the REST time-series endpoints. Integrations that need real-time energy must integrate streamed power and periodically reconcile it with the official REST QUANTITY/HOUR buckets.
Please update the client README and streaming documentation so users do not expect energy quantities to arrive through WebSocket messages.
Context
The WebSocket documentation currently needs to clearly distinguish the message types emitted by the Comwatt stream.
Observed behavior
A full-hour live capture showed:
FLOWmessages: streamed device power measurements;STATEmessages: streamed switch/state changes;QUANTITYmessages: energy quantities are not emitted by the WebSocket stream.Energy data must therefore be obtained through the REST time-series endpoints. Integrations that need real-time energy must integrate streamed power and periodically reconcile it with the official REST
QUANTITY/HOURbuckets.Please update the client README and streaming documentation so users do not expect energy quantities to arrive through WebSocket messages.