Skip to content
 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplisafe-python

Python3 interface to the SimpliSafe API.

Original source was obtained from https://github.com/greencoder/simplisafe-python

greencoder, thanks for all the hard work!

NOTE SimpliSafe has no official API therefore this library could stop working at any time, without warning.

from simplipy.api import SimpliSafeApiInterface, get_systems

simplisafe = SimpliSafeApiInterface()
status = simplisafe.set_credentials("EMAIL", "PASSWORD")
if status:
    locations = get_systems(simplisafe)
    for location in locations:
        print("State: " + location.state())
        print("Temp: " + str(location.temperature()))
        print("Fire: " + location.fire())
        print("Flood: " + location.flood())
        print("CO: " + location.carbon_monoxide())
        print("Alarm: " + location.alarm())
        print("Last event: " + location.last_event())
        location.api.logout()
        location.update()
else:
    print("Failed to login. Invalid username or password")

About

A Python wrapper to set the state of your SimpliSafe alarm system.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages