homebridge-switch-cmd
v1.1.2
Published
homebridge plugin Execute command on switch
Downloads
4
Readme
homebridge plugin Execute command on switch
🏠 Homepage
Prerequisites
- homebridge >=1.0.0
Install
sudo npm install -g homebridge-switch-cmd
Configuration Example
"accessories": [
{
"accessory": "SwitchCmd",
"name": "Switch CMD",
"onCmd": "/homebridge/control/onCmd.sh",
"offCmd": "/homebridge/control/offCmd.sh"
}
]
Configuration Parameters
name Name to display in home app onCmd CLI commands executed when the switch is turned ON offCmd CLI commands executed when the switch is turned OFF
Run tests
npm run test
Author
👤 hiroshimac
- Github: @hiroshimac
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2023 hiroshimac. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator