Skip to content

gurase/homebridge-wireless-sensor-tag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-wireless-sensor-tag

Homebridge platform for Wireless Sensor Tags. (http://wirelesstags.net/)

Supports 13-bit temperature/humidity sensor, Pro ALS sensor, and PIR sensor.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. After cloning this repo, install this plugin (while inside the repo): npm install; npm link
  3. Update your configuration file. See sampleconfig.json in this repository for a sample.

Configuration

Configuration sample:

   "platforms": [
       {
           "platform": "wireless-sensor-tag",
           "name": "wireless-sensor-tag",         
           "token": "abc123",
           "queryFrequency": 20000,
           "motionSensors": [],
           "contactSensors": ["Mailbox"]
       }
   ] 

Fields:

  • platform - Must be set to wireless-sensor-tag
  • name - Up to you.
  • token - Your OAuth2 access token - see http://wirelesstag.net/eth/oauth2_apps.html
  • queryFrequency - The amount of time (in ms) between updates. Minimum value is 5000; default is 20000.
  • motionSensors - A list of sensors that should be treated like motion sensors in addition to temperature/humidity.
  • contactSensors - A list of sensors that should be treated like contact (open/close) sensors in addition to temperature/humidity. For the Pro ALS sensor, the "too bright" light state signifies "open" while "normal"/"too dark" signifies "closed"; for all other sensors, the "opened" and "closed" event states are used.

To do

  • Re-add support for ignored tags

About

Homebridge platform implementation for Wireless Sensor Tags (http://wirelesstag.net)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%