SimpliSafe very unreliable as of late

Unfortunately, despite my bugfix, I’m still seeing this. Points to instability in their cloud API. I’ll keep investigating.

1 Like

Excited to share this: https://github.com/home-assistant/core/pull/58061

(@mike1627, this should also help with your issue: https://github.com/home-assistant/core/blob/7123ec003601e24afef14a471e99f2ab7b32cff1/homeassistant/components/simplisafe/alarm_control_panel.py#L228-L237)

2 Likes

Awesome, keep up the great work! What build of Home Assistant should this get included in?

Forgot to mention to you, after updating to 2021.10.5 the integration ran much smoother. It still goes unavailable from time to time but no where near as frequent as it had been before your bug fix.

Unsure yet. If we’re lucky, 2021.11.0. If not, 2021.12.0.

Good to hear. That PR will help things even further by watching for 2-3 consecutive errors before marking things unavailable.

2 Likes

@bachya - first of all, thanks again for all of your hard work in developing and maintaining this integration.

I was looking over your PR for checking the number of consecutive errors before marking sensors unavailable and I wanted to explain my situation because I think it might be unique to what others have been reporting and also I’m concerned that the fix won’t help me.

Near the top of nearly every hour of the day, I am flooded with exactly 62 consecutive [simplipy] SimpliSafe didn't return data for property: offline errors. Usually a second or two before the first occurrence and a second or two after the last occurrence, I see a success message ([homeassistant.components.simplisafe] Finished fetching [email protected] data in x.xxx seconds (success: True)).

So basically, this is what I’m seeing in the log:

2021-10-23 21:01:29 DEBUG (MainThread) [homeassistant.components.simplisafe] Finished fetching [email protected] data in x.xxx seconds (success: True)
2021-10-23 21:01:29 WARNING (MainThread) [simplipy] SimpliSafe didn't return data for property: offline
...[60 more occurrences of above error]
2021-10-23 21:01:29 WARNING (MainThread) [simplipy] SimpliSafe didn't return data for property: offline
2021-10-23 21:02:02 DEBUG (MainThread) [homeassistant.components.simplisafe] Finished fetching [email protected] data in x.xxx seconds (success: True)

Again, whenever this happens, it’s always within 1 or 2 minutes of the top of the hour (10:01 AM, 5:02 PM, etc.) and it’s always a series of 62 offline errors. I am not sure of the significance of that latter number–I only have a total of 32 SS entities derived from 19 total devices, but maybe that doesn’t matter here. The fact that this only takes place around the top of the hour is odd, though.

I’m also concerned the problem might lie in the fact that I have a V2 system and a V3 system linked to one SimpliSafe account, but the integration only detected what I’m assuming is the base station (it’s named as the residence address in the account) and the alarm control panel for the V2 system. On integration setup, all devices were perfectly detected for my V3 system, which is the only one I want to integrate into HA. Out of curiosity, are there any future features planned that would allow us to ignore certain systems if our accounts have multiple systems in them? This way, the SS integration wouldn’t try to poll data for the V2 system, possibly preventing the offline errors if this is the cause. I did disable the two V2 devices in HA but that hasn’t made any difference in receiving the errors. Please let me know if that all makes sense!

In short, I’m wondering if you or anyone else has experienced this same behavior with calls to SimpliSafe’s service, and would your fix have any benefit for me?

Also, I installed the integration several HA versions ago. Would uninstalling the integration, restarting HA, then reinstalling the integration be worth a shot?

Thanks so much!

This is because each sensor is attempting to access the offline property – if that data is missing, simplisafe-python is going to log a message each time access is attempted.

Entities are not added for V2 systems (ostensibly because API updates to V2 systems audible announce “Your settings have been synchronized.”)

This should already be possible, no? Just go into Configuration → Integration, select the devices related to your V2 system, click on the pencil icon next to their name, and disable?

There currently isn’t a way to wholesale disable an entire system.