Hi,
I've got the following issue: I want Domoticz to automaticly start a radio channel (after x seconds) when kodi has stop playing (video/ audio).
I've got the play part working (JSON RPC), but I can't get the automatic part to work. Kodi sends an "on" command to Domoticz when its stops playing, but it also sends this "on" command between 2 videos, so that's useless.
Anyone got an idea?
Thanks.
Greetz,
Gerard
Kodi event
Moderator: leecollings
-
- Posts: 9
- Joined: Monday 22 February 2016 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Kodi event
Hi,
Anyone an idea?
Thanks
Greetz,
Gerard
Anyone an idea?
Thanks
Greetz,
Gerard
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Kodi event
You could use an event and check the if the Kodi was "on" and if the last updated time was greater than a certain number of seconds, if it was then turn the radio on.
The number of seconds might vary a little depending on the event type you use but you could easily turn it on in under a minute.
The number of seconds might vary a little depending on the event type you use but you could easily turn it on in under a minute.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 9
- Joined: Monday 22 February 2016 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Kodi event
Thanks, I will test this solution! 

Who is online
Users browsing this forum: No registered users and 1 guest