Websockets Data Question during Outages

I’m awaiting a power booster and am using the current low voltage on off messages to test some conditions in the websocket API. Here are some anomalies I see periodically…

  1. When the device is offline for a bit I often get a null string response to checking for a new websocket message. Is this an expected result? I.e. will the websocket API occasionally send a null message? This seems odd and might be part of the websocket-client implementation that I’m using in Python.

  2. When a device goes offline it seems that the websocket connection is closed so I’m not getting any of the “device_offline” or “station_offline” events. Is this to be expected or should I be seeing a different behavior?

Many thanks? If nobody has any thoughts here I’ll open a ticket and share what I hear back from support.

Billy