Sense Monitoring Polyglot V2 Node Server
![Build Status](https://travis-ci.org/therealmysteryman/udi-sense-monitoring-polyglot.svg?branch=master)
This Poly provides an interface between Sense Monitoring using undocumented API and Polyglot v2 server. Provide Electricity Usage and Status of a Device. This use undocumented API from Sense via a Python Library (https://github.com/scottbonline/sense).
Installation
Installation instructions
You can install it manually running
- cd ~/.polyglot/nodeservers
- git clone https://github.com/therealmysteryman/udi-sense-monitoring-polyglot.git
- run ./install.sh to install the required dependency.
- Create a customs variables email -> email_address_of_sense_account,
password -> password_of_sense_account
Usage
This will create one node for the controller with the Sense Power Usage and then one node for each detected device with their current power usage and their status (on / off). Those value a refreshed every 60 seconds.
Known Issues
- If a device is removed from Sense, it won't be removed from the node server you need to manually delete it.
- If you rename or merge a device, you may need to delete the old device in the node server and re-import it.
Source
- Based on the Node Server Template - https://github.com/Einstein42/udi-poly-template-python
- Library for accessing the Sense API - https://github.com/scottbonline/sense