DeutscheMark / homebridge-kodi

Kodi plugin for Homebridge
MIT License
28 stars 4 forks source link

Kodi Startup / Close #14

Open beatpaul opened 4 years ago

beatpaul commented 4 years ago

Hi! Thx for this great Plugins.

I'm using Kodi Televison Controls. When Kodi is not running (on my mac) these Controles are set to off. If I press the Accessory in the Home App (e.g. by accident) it turns on, although Kodi is not running.

Is there a Way to start / close Kodi by using the Accessory? It would be a great enhancement to send a Shortcut or Command to Start / Close the Kodi Programm.

Would there be a way to implement that ?

DeutscheMark commented 4 years ago

Very nice idea, although Kodi can run on very different machines, even on an Apple TV. But maybe it's worth a shot with a terminal command you need to specify in the config.

I will consider adding that. :)

beatpaul commented 4 years ago

That woud be great !

e.g. like homebridge-config-ui-x does it with the restart option "restart": "sudo -n systemctl restart homebridge",

or logging option


 "log": {
        "method": "custom",
        "command": "sudo -n tail -n 100 -f /var/log/homebridge.log"
beatpaul commented 3 years ago

Will there be a chance to implement this function ?

beatpaul commented 3 years ago

Any news on this?

DeutscheMark commented 3 years ago

Hi, yes. I will implement this in one of the next updates after the big update v1.0.0 which you can beta test right now.

DeutscheMark commented 2 years ago

Hi beatpaul,

with v1.1.0 there will be a "power" toggle to achieve that. You can beta test this version right now with "npm install -g homebridge-kodi@beta". :)

Thank you DM