1.0.0 • Published 7 years ago

homebridge-system-plugin v1.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

homebridge-system-plugin

Homebridge plugin which make system calls when the switch is turned off or on. The exact system calls need to be specified in the homebridge config file (see sample config below).

I am using this to control:

  • Elekcity RF 433 MHz switches
  • My TV using IR Emitter with lirc

Sample Config:

In "accessories" section in homebridge config:

{
  "accessory": "systemCallAccessory",
  "name": "Bedroom Tubelight",
  "on_system_call": "/home/pi/rf/rfoutlet/codesend 349635 -p 2 -l 203",
  "off_system_call": "/home/pi/rf/rfoutlet/codesend 349644 -p 2 -l 203"
}