2.50.5 • Published 2 years ago

homebridge-sensor-cmd v2.50.5

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

homebridge-sensor-cmd

mit license npm npm donate

Homebridge plugin that is a proof of concept to create something functional in a ridiculously small amount of code (50 lines to be exaxt, also this README is just 25 lines).
It impliments a Contact/Motion/Occupancy Sensor that is triggered via the output of a command line/shell script.
The script simply needs to return a 1 or 0

Configuration

This easiest way to use this plugin is to use homebridge-config-ui-x.
To configure, add to the accessories section of Homebridge's config.json after installing the plugin.

Config:

{
  "accessory": "SensorCmd",
  "name": "<name of the sensor>",
  "type": "<sensor type: contact/motion/occupancy) - default is Contact>",
  "command": "<command-line/shell command to execute>"
}
2.50.3

2 years ago

2.50.4

2 years ago

2.50.5

2 years ago

2.50.0

2 years ago

2.50.1

2 years ago

2.0.20

2 years ago

2.50.2

2 years ago

2.0.51

2 years ago

2.0.50

2 years ago

2.0.0

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago