homebridge-servicemanager v1.0.5
Homekit Plugin for Managing Services Running On The Homekit Server. The Source Code is available at: https://github.com/oscartbeaumont/homebridge-servicemanager
The Package can be install using the command: sudo npm install -g homebridge-servicemanager
And Can Be Removed Using The Command: sudo npm remove -g homebridge-servicemanager
The Code is based off the code for homebridge-fakebulb. https://github.com/schemish/homebridge-fakebulb
Example Usage: { "accessory": "servicemanager", "name": "Gimp", "command": "gimp", "service": "gimp" }
Explained Usage: command = the terminal command to start the software service = is the name of the softwares running service
On any Homekit app this comes up as a light and when turn on the software will open and when turned off the software will close. There can be a slight delay when opening and closing the software.
Bugs: The only bug I have found is when you turn it on and off really fast more than a few times it will glitch out. To fix this reboot homebridge and it should work fine.
Credits: Build By Oscar Beaumont Build from Fakebulb by schemish https://github.com/schemish Build for Homebridge by nfarina https://github.com/nfarina