Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.
/ simplisafe Public archive

A Node.js wrapper for the (undocumented!) SimpliSafe HTTP API

License

Notifications You must be signed in to change notification settings

searls/simplisafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplisafe has updated or replaced the backend API used by their apps, and as a result this package no longer works. Check out simplisafe-ss3-nodejs instead

simplisafe

Wraps the (undocumented!) HTTP API used by the Simplisafe iOS application, offering Simplisafe subscribers a way to remotely control their security system.

var simplisafe = require('simplisafe')

simplisafe({ user: '[email protected]', password: '123' }, function (er, client) {
  if (er) throw er

  client.info.state // 'off' or 'home' or 'away'

  client.setState('away', function (er) {}) // this is really slow. Like 10-to-20 seconds slow

  client.logout(function (er) {}) // Log out, clean out the connection
})

This module was made possible by the API sniffing done by @greencoder—thanks!

limitations

The Simplisafe API is made more complex by its support for multiple locations. Since I only have one house, this API currently assumes the first location returned is the one you want to work with.

If someone wants multiple location support and is willing to send a PR or fund the effort, feel free to reach out to me.

About

A Node.js wrapper for the (undocumented!) SimpliSafe HTTP API

Resources

License

Stars

Watchers

Forks

Packages

No packages published