Skip to content

Instantly share code, notes, and snippets.

@TheFlyingCorpse
Created July 30, 2018 10:14
Show Gist options
  • Save TheFlyingCorpse/be5fddb43017755c21ac412c13a50715 to your computer and use it in GitHub Desktop.
Save TheFlyingCorpse/be5fddb43017755c21ac412c13a50715 to your computer and use it in GitHub Desktop.
Get Verisure installation ID
# Manual for Verisure module in Home Assistant doesnt work, it refers to python verisure.py email password installations
# Neither does the "real" way of "vsure email password installations" depending on your locale.
# This works for Nordic's at least, likely the rest as well.
# Prepare the environment by sourcing in your home-assistant's python setup.
source homeassistant/bin/activate
# install verisure incase it isnt there
pip3 install verisure
# Load a python shell
python3
# In the python shell:
import verisure
session = verisure.Session('emailaddress','password')
session.login()
session.installations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment