Having Issues with Simplisafe being "Unavailable"

I’ve only been running Home Assistant for about a month, so go easy! Everything seems to be working fine, except I’m having issues with Simplisafe integration.

Since the first time I installed the Simplisafe integration, it has worked about 10% of the time. The other 90% of the time the alarm panel card shows as “Unavailable”. It will randomly work and I have no idea why, but most of the time HA and Simplisafe just aren’t communicating. I don’t know if its something I set up wrong or what. I’ve deleted the integration and set it up again with the same issue.

Running on RasPi 3 B+

Error Log:

Logger: homeassistant.config_entries
Source: components/simplisafe/__init__.py:236
First occurred: 2:41:08 PM (1 occurrences)
Last logged: 2:41:08 PM

Error setting up entry 1749977 for simplisafe
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 236, in async_setup_entry
    api = await API.async_from_refresh_token(
  File "/usr/local/lib/python3.9/site-packages/simplipy/api.py", line 159, in async_from_refresh_token
    await api._async_refresh_access_token()
  File "/usr/local/lib/python3.9/site-packages/simplipy/api.py", line 198, in _async_refresh_access_token
    token_resp = await self._async_request(
  File "/usr/local/lib/python3.9/site-packages/simplipy/api.py", line 233, in _async_request
    async with self.session.request(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
    message, payload = await self._protocol.read()  # type: ignore
  File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
    await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

System Health:
Version core-2021.11.5
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual Environment false
Python Version 3.9.7
Operating System Family Linux
Operating System Version 5.10.63-v8
CPU Architecture aarch64
Timezone America/Chicago

Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4990
Installed Version 1.18.0
Stage running
Available Repositories 909
Installed Repositories 2

Home Assistant Cloud
Logged In true
Subscription Expiration January 13, 2022, 6:00 PM
Relayer Connected true
Remote Enabled true
Remote Connected true
Alexa Enabled true
Google Enabled true
Remote Server us-east-1-2.ui.nabu.casa
Reach Certificate Server ok
Reach Authentication Server ok
Reach Home Assistant Cloud ok
Home Assistant Supervisor
Host Operating System Home Assistant OS 7.0.rc1
Update Channel stable
Supervisor Version supervisor-2021.12.1
Docker Version 20.10.9
Disk Total 28.5 GB
Disk Used 6.4 GB
Healthy true
Supported true
Board rpi3-64
Supervisor API ok
Version API ok
Installed Add-ons File editor (5.3.3), Z-Wave JS (0.1.50), Home Assistant Google Drive Backup (0.105.2), Check Home Assistant configuration (3.9.0), Node-RED (10.1.1), Samba share (9.5.1), Terminal & SSH (9.2.1)

1 Like

Same for me, following this to see if anyone has information.

I am also having this issue.

2021-12-23 21:17:58 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 739860 for simplisafe
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 338, in async_setup_entry
    api = await API.async_from_refresh_token(
  File "/usr/local/lib/python3.9/site-packages/simplipy/api.py", line 142, in async_from_refresh_token
    await api._async_refresh_access_token()
  File "/usr/local/lib/python3.9/site-packages/simplipy/api.py", line 182, in _async_refresh_access_token
    token_resp = await self._async_request(
  File "/usr/local/lib/python3.9/site-packages/simplipy/api.py", line 217, in _async_request
    async with self.session.request(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

Removing the integration, rebooting, and then reinstalling seems to have fixed this issue for now.

Well, this only worked for about a day. Now back to having the same errors.

System Health

version core-2021.12.8
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.88
arch x86_64
timezone America/Chicago
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4653
Installed Version 1.18.0
Stage running
Available Repositories 933
Installed Repositories 28
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud failed to load: timeout
Home Assistant Supervisor
host_os Home Assistant OS 7.1
update_channel stable
supervisor_version supervisor-2021.12.2
docker_version 20.10.9
disk_total 30.8 GB
disk_used 7.3 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Samba share (9.5.1), Mosquitto broker (6.0.1), Samba Backup (5.0.0), Duck DNS (1.14.0), NGINX Home Assistant SSL proxy (3.1.0)
Lovelace
dashboards 3
resources 24
views 14
mode storage