Created
July 30, 2018 10:14
-
-
Save TheFlyingCorpse/be5fddb43017755c21ac412c13a50715 to your computer and use it in GitHub Desktop.
Get Verisure installation ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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