You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simplisafe-python recently gained the ability to talk to SimpliSafe's cloud-based websocket. I want to shift the HASS SimpliSafe integration over to using it.
This appears very straightforward re: alarm_control_panels. The question is with locks: since I don't own one, I'm not sure whether their state updates are communicated over the websocket. So, it may be necessary to keep the REST API around to manage them.
Keeping this issue to manage the work:
Convert the alarm_control_panel to use the websocket.
Pending feedback from a user who has one, convert the lock to use the websocket.
(2) is where I could use feedback/help from any user who has a SimpliSafe lock.
The text was updated successfully, but these errors were encountered:
State changes for alarm control panels (and locks, we think) can be covered by the messageSubject field. However, many of the attributes used (gsm_strength, rf_jamming, etc.) don't seem to come through the websocket. This indicates to me that a solution using the websocket will still require regular polling of the REST API, too (to get updated attribute values).
So, since a websocket solution still requires the REST API, the question is, "What do we gain by adding the websocket?" Initial thoughts:
Pros
Near-realtime updates to state value
"Resolves" the use case of altering system from keypad/SimpliSafe website/etc. and not having to wait for a polling interval to see those updates in HASS
Lay the foundation for a hopeful future state where the websocket carries more data
Cons
Complexity – can't pick one or the other
Things to Consider
In addition to regular polling, should the REST API be queried again (in part or full) each time the websocket communicates a state change?
Now that #31060 has been merged, SimpliSafe no longer goes straight to an Armed state when arming the system; instead, it goes to Arming immediately, then to Armed when the next polling cycle sees data that implies a fully armed state. Depending on how long the Arming state is configured to last within SimpliSafe, it could be quite some time before HASS shows an Armed state. Therefore, I think it's critical to insert websocket functionality for the alarm's state.
simplisafe-python
recently gained the ability to talk to SimpliSafe's cloud-based websocket. I want to shift the HASS SimpliSafe integration over to using it.This appears very straightforward re:
alarm_control_panel
s. The question is withlock
s: since I don't own one, I'm not sure whether their state updates are communicated over the websocket. So, it may be necessary to keep the REST API around to manage them.Keeping this issue to manage the work:
alarm_control_panel
to use the websocket.lock
to use the websocket.(2) is where I could use feedback/help from any user who has a SimpliSafe lock.
The text was updated successfully, but these errors were encountered: