# Websockets Data Question during Outages

**URL:** <https://community.tempest.earth/t/websockets-data-question-during-outages/19101>\
**Category:** Third-Party Integrations\
**Created:** [November 21, 2022, 6:56pm UTC](https://community.tempest.earth/t/websockets-data-question-during-outages/19101 "2022-11-21T18:56:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![livysdad27](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/livysdad27/32/14185_2.png) [@livysdad27](https://community.tempest.earth/u/livysdad27)\
**Post date:** [November 21, 2022, 6:56pm UTC](https://community.tempest.earth/t/websockets-data-question-during-outages/19101/1 "2022-11-21T18:56:33Z")

</div>

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
