Skip to content

Homebridge plugin which creates switches which make system calls

License

Notifications You must be signed in to change notification settings

itsfrosty/homebridge-system-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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"
}

About

Homebridge plugin which creates switches which make system calls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published