Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error setting up entry for simplisafe #29975

Closed
almudawi opened this issue Dec 15, 2019 · 33 comments
Closed

Error setting up entry for simplisafe #29975

almudawi opened this issue Dec 15, 2019 · 33 comments

Comments

@almudawi
Copy link

almudawi commented Dec 15, 2019

Home Assistant release with the issue:
0.103.0

Last working Home Assistant release (if known):
UNKNOWN

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io RasberryPi P4
Integration:
https://www.home-assistant.io/components/simplisafe/
Setup through "Configuration/integrations"

Description of problem:

Simplisafe integration stopped working when we hit version Hass ver 0.1xx.x

Hass.io does not recognize my simplisafe setup. And no entries are created. I tried removing/re-adding the integration and restarting but that did not resolve the issue. I tried a fresh install too and that did not clear the issue.

I also removed all tokens in my simplisafe account. This did not help either.

According to the integration wizard, the config file is successfully created. However, simplisafe account details are not pulled into the integration and the integration remains empty.

The log indicates that there is an Error: 406, and returns a 'Not Acceptable' message.

I am on the paid 24/7 Interactive Monitoring Plan and everything in the simplisafe online control panel and mobile application is fine.

Additional information:

Error setting up entry xxx@xxx.com for simplisafe
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/simplipy/api.py", line 189, in _request
    resp.raise_for_status()
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 946, in raise_for_status
    headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 406, message='Not Acceptable', url='https://api.simplisafe.com/v1/subscriptions/xxxxxxx/settings?settingsType=all&cached=true

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 192, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 184, in async_setup_entry
    systems = await api.get_systems()
  File "/usr/local/lib/python3.7/site-packages/simplipy/api.py", line 237, in get_systems
    await system.update(include_system=False)
  File "/usr/local/lib/python3.7/site-packages/simplipy/system/__init__.py", line 432, in update
    await self._get_entities(cached)
  File "/usr/local/lib/python3.7/site-packages/simplipy/system/__init__.py", line 208, in _get_entities
    entities: dict = await self._get_entities_payload(cached)
  File "/usr/local/lib/python3.7/site-packages/simplipy/system/v2.py", line 25, in _get_entities_payload
    params={"settingsType": "all", "cached": str(cached).lower()},
  File "/usr/local/lib/python3.7/site-packages/simplipy/api.py", line 218, in _request
    raise RequestError(f"Error requesting data from {endpoint}: {err}")
simplipy.errors.RequestError: Error requesting data from subscriptions/xxxxxxxx/settings: 406, message='Not Acceptable', url='https://api.simplisafe.com/v1/subscriptions/xxxxxxx/settings?settingsType=all&cached=true
@almudawi almudawi changed the title Error setting up for simplisafe Error setting up entry for simplisafe Dec 15, 2019
@probot-home-assistant
Copy link

Hey there @bachya, mind taking a look at this issue as its been labeled with a integration (simplisafe) you are listed as a codeowner for? Thanks!

@bachya
Copy link
Contributor

bachya commented Dec 16, 2019

Let's do some troubleshooting with the underlying library. Please do the following from the command line:

  1. Clone simplisafe-python and cd into it:
$ git clone https://github.com/bachya/simplisafe-python.git
$ cd simplisafe-python
  1. Initialize the dev environment:
$ make init
  1. Open scripts/get_sensor_types.py in a text editor and input your SimpliSafe username/password into lines 13-14:
SIMPLISAFE_EMAIL = "<EMAIL>"
SIMPLISAFE_PASSWORD = "<PASSWORD>"
  1. Save scripts/get_sensor_types.py and close your text editor. Back on the command line, execute the script:
$ .venv/bin/python3 scripts/get_sensor_types.py
  1. Paste the output here (there shouldn't be any sensitive information, but please confirm before pasting).

@almudawi
Copy link
Author

almudawi commented Dec 20, 2019

Hi @bachya
Thank you for the reply. I am a bit of a n00b.
stuck at step 2 with the following error:

$ python3 -m venv .venv
make: python3: Command not found
make: *** [Makefile:7: init] Error 127

@bachya
Copy link
Contributor

bachya commented Dec 20, 2019

make: python3: Command not found

You need to install Python 3 on your system.

@almudawi
Copy link
Author

almudawi commented Dec 20, 2019

make: python3: Command not found

You need to install Python 3 on your system.

@bachya You'll have to bear with me Aaron :)

I am getting the following error:

Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /root/simplisafe-python/.venv/bin/python3 /root/simplisafe-python/.venv/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-m8g1mdjs/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''
       cwd: None
  Complete output (57 lines):
  Collecting setuptools>=40.6.0
    Using cached https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl
  Collecting wheel
    Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
  Collecting cffi!=1.11.3,>=1.8
    Using cached https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz
  Collecting pycparser (from cffi!=1.11.3,>=1.8)
    Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
  Installing collected packages: setuptools, wheel, pycparser, cffi
    Running setup.py install for pycparser: started
      Running setup.py install for pycparser: finished with status 'done'
    Running setup.py install for cffi: started
      Running setup.py install for cffi: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /root/simplisafe-python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e0kim01x/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-e0kim01x/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5srd13hg/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-m8g1mdjs/overlay --compile --install-headers /root/simplisafe-python/.venv/include/site/python3.7/cffi
           cwd: /tmp/pip-install-e0kim01x/cffi/
      Complete output (36 lines):
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-3.7
      creating build/lib.linux-armv7l-3.7/cffi
      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
      running build_ext
      building '_cffi_backend' extension
      creating build/temp.linux-armv7l-3.7
      creating build/temp.linux-armv7l-3.7/c
      gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/root/simplisafe-python/.venv/include -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
      c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
       #include <Python.h>
                ^~~~~~~~~~
      compilation terminated.
      error: command 'gcc' failed with exit status 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /root/simplisafe-python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e0kim01x/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-e0kim01x/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5srd13hg/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-m8g1mdjs/overlay --compile --install-headers /root/simplisafe-python/.venv/include/site/python3.7/cffi Check the logs for full command output.
  WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /root/simplisafe-python/.venv/bin/python3 /root/simplisafe-python/.venv/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-m8g1mdjs/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.

@bachya
Copy link
Contributor

bachya commented Dec 20, 2019

What operating system are you running this on?

@almudawi
Copy link
Author

Hassio RasberryPi 4

@bachya
Copy link
Contributor

bachya commented Dec 20, 2019

If you're running Hassio, you should already have Python 3 installed (otherwise Home Assistant itself wouldn't load). What's the output of $ which python3?

@almudawi
Copy link
Author

/usr/bin/python3

@bachya
Copy link
Contributor

bachya commented Dec 20, 2019

Got it. What happens if you run $ python3 -m venv venv?

@almudawi
Copy link
Author

no error message. just returns to core-ssh:~/simplisafe-python# after a short delay

@bachya
Copy link
Contributor

bachya commented Dec 20, 2019

Got it. Not sure what the exact issue is, but let's initialize the dev environment manually.

First, remove the directory I just had you create:

$ rm -rf venv

Then, replace step 2 in my instructions above with:

$ python3 -m venv .venv
$ .venv/bin/pip3 install poetry
$ .venv/bin/poetry lock
$ .venv/bin/poetry install
$ .venv/bin/pre-commit install

@almudawi
Copy link
Author

almudawi commented Dec 20, 2019

Got the following error when executing .venv/bin/pip3 install poetry

Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /root/simplisafe-python/.venv/bin/python3 /root/simplisafe-python/.venv/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nhejyx0z/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''
       cwd: None
  Complete output (69 lines):
  Collecting setuptools>=40.6.0
    Downloading https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl (583kB)
  Collecting wheel
    Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
  Collecting cffi!=1.11.3,>=1.8
    Downloading https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz (460kB)
  Collecting pycparser (from cffi!=1.11.3,>=1.8)
    Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
  Installing collected packages: setuptools, wheel, pycparser, cffi
    Running setup.py install for pycparser: started
      Running setup.py install for pycparser: finished with status 'done'
    Running setup.py install for cffi: started
      Running setup.py install for cffi: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /root/simplisafe-python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-617zcezf/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-617zcezf/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hahdjcy8/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-nhejyx0z/overlay --compile --install-headers /root/simplisafe-python/.venv/include/site/python3.7/cffi
           cwd: /tmp/pip-install-617zcezf/cffi/
      Complete output (48 lines):
      unable to execute 'gcc': No such file or directory
      unable to execute 'gcc': No such file or directory
  
          No working compiler found, or bogus compiler options passed to
          the compiler from Python's standard "distutils" module.  See
          the error messages above.  Likely, the problem is not related
          to CFFI but generic to the setup.py of any Python package that
          tries to compile C code.  (Hints: on OS/X 10.8, for errors about
          -mno-fused-madd see http://stackoverflow.com/questions/22313407/
          Otherwise, see https://wiki.python.org/moin/CompLangPython or
          the IRC channel #python on irc.freenode.net.)
  
          Trying to continue anyway.  If you are trying to install CFFI from
          a build done in a different context, you can ignore this warning.
  
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-3.7
      creating build/lib.linux-armv7l-3.7/cffi
      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
      running build_ext
      building '_cffi_backend' extension
      creating build/temp.linux-armv7l-3.7
      creating build/temp.linux-armv7l-3.7/c
      gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/root/simplisafe-python/.venv/include -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
      unable to execute 'gcc': No such file or directory
      error: command 'gcc' failed with exit status 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /root/simplisafe-python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-617zcezf/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-617zcezf/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hahdjcy8/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-nhejyx0z/overlay --compile --install-headers /root/simplisafe-python/.venv/include/site/python3.7/cffi Check the logs for full command output.
  WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /root/simplisafe-python/.venv/bin/python3 /root/simplisafe-python/.venv/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nhejyx0z/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@bachya
Copy link
Contributor

bachya commented Dec 21, 2019

Perhaps using hassio isn't the best idea – it doesn't appear to have the tools we need. Do you have another machine/laptop that we can try this on?

@almudawi
Copy link
Author

I'll give it a shot later today on my MacBook. Thanks Aaron for your effort and time. I have a feeling that the issue is limited to hassio. I'll share the results of my osx install later today

@almudawi
Copy link
Author

almudawi commented Dec 21, 2019

Ok Aaron,
1- Took the Hassio installation offline.
2- Installed a fresh Home Assistant on OSX.
3- Hass was not able to detect Simplisafe automatically.
4- created the integration manually.
5- Still get the same error in Hass Logs

aiohttp.client_exceptions.ClientResponseError: 406, message='Not Acceptable'

Followed your instructions as provided in your first post. The output is:

ERROR:root:Error requesting data from api/token: Cannot connect to host api.simplisafe.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')]

Note: Simplisafe works fine in google home and in simplisafe's application and website.

@bachya
Copy link
Contributor

bachya commented Dec 21, 2019

Got it. Thanks for the follow-up. What happens if you try my testing steps above on your MacBook?

@almudawi
Copy link
Author

Followed your instructions as provided in your first post. The output is:

ERROR:root:Error requesting data from api/token: Cannot connect to host api.simplisafe.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')]

@almudawi
Copy link
Author

almudawi commented Dec 23, 2019

Hi Aaron,
I tried clearing the Recently Used Mobile Devices token under my account in simplisafe.com but this didn't help either.

@bachya
Copy link
Contributor

bachya commented Dec 23, 2019

I'm guessing this is the issue. Long story short: your HASS install and your MacBook probably don't have all the necessary SSL certificates installed.

Let's try to install those on your hass.io installation. On a command line on your Raspberry Pi, please run the following:

sudo apt-get update && sudo apt-get install -y --reinstall ca-certificates

Then restart HASS and let me know what happens?

@almudawi
Copy link
Author

almudawi commented Dec 23, 2019

I don't think that hassio for Pi4 is capable of apt-get. It is based on Alpine Linux. I tried:

apk --no-cache add ca-certificates && update-ca-certificates

Still getting the same error

@bachya
Copy link
Contributor

bachya commented Dec 29, 2019

Thanks for your patience during the holidays. Let's try some more testing on your MacBook. Below is a list of revised testing steps; feel free to skip any that you've already done:

  1. Clone simplisafe-python and cd into it:
$ git clone https://github.com/bachya/simplisafe-python.git
$ cd simplisafe-python
  1. Initialize the dev environment:
$ make init
  1. Open scripts/get_sensor_types.py in a text editor and change line 5 to look like this:
from aiohttp import ClientSession, TCPConnector
  1. With scripts/get_sensor_types.py still open in your text editor, input your SimpliSafe username/password into lines 13-14:
SIMPLISAFE_EMAIL = "<EMAIL>"
SIMPLISAFE_PASSWORD = "<PASSWORD>"
  1. With scripts/get_sensor_types.py still open in your text editor, change line 18 to look like this (preserve the existing indentation):
    async with ClientSession(connector=TCPConnector(verify_ssl=False)) as websession:
  1. Save scripts/get_sensor_types.py and close your text editor. Back on the command line, execute the script:
$ .venv/bin/python3 scripts/get_sensor_types.py
  1. Paste the output here (there shouldn't be any sensitive information, but please confirm before pasting).

@horrorshow21

This comment has been minimized.

@bachya

This comment has been minimized.

@horrorshow21

This comment has been minimized.

@bachya

This comment has been minimized.

@horrorshow21

This comment has been minimized.

@dcramer

This comment has been minimized.

@bachya

This comment has been minimized.

@stale
Copy link

stale bot commented Jun 21, 2020

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 21, 2020
@greeny5184
Copy link

I had the same issue. I had multiple accounts under my Simplisafe account which were no longer in use. I called Simplisafe support and had them remove the inactive accounts. After I was able to add the integration without issue.

@stale stale bot removed the stale label Jun 23, 2020
@almudawi
Copy link
Author

Giving HASS another try after a long break. I had a fresh install with the latest build. Issue still exists.

@greeny5184 some questions:
1- Could you kindly elaborate on "inactive accounts"? I only have one account with simplisafe
2- Could this be done through the simplisafes web portal? or does it require a call?

Thanks for the advice.

@almudawi
Copy link
Author

Hi all,
Just wanted to give a quick update. I have updated to 0.117. And the long standing issue disappeared. Thank you for addressing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants