Skip to content

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

License

Notifications You must be signed in to change notification settings

laf-rge/simplisafe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Languages

  • JavaScript 100.0%