Turn TV on with Raspberry Pi

Moderator: leecollings

Post Reply
Slinkos
Posts: 81
Joined: Thursday 10 December 2015 0:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Turn TV on with Raspberry Pi

Post by Slinkos »

I have a Raspberry Pi with Kodi installed attached to my TV. I also have Kodi included in my Domoticz, wich is running on another Raspberry Pi somewhere else in my house.

Now, when I give any command to Kodi from Domoticz, like for example: Play, or Stop or whatever. My TV turns on. I actually want to use this, so that I can switch my TV on with Domoticz. But when I use this method, my Kodi gets a "Unknown" status in Domoticz. So I don't want to do it this way.

But the fact is, that the Raspberry is capable of switching my TV on. So is there any other good method, to use my Raspberry for switching on my TV?
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Turn TV on with Raspberry Pi

Post by pvm »

Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Slinkos
Posts: 81
Joined: Thursday 10 December 2015 0:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Turn TV on with Raspberry Pi

Post by Slinkos »

Ok, so now I know only 1 program can use CEC. So I can't let me Raspberry turn on my TV withoud Kodi, because then Kodi won't have access to CEC anymore. Addind an extra Pi is no option.

So my real question is: Would it be possible to let Kodi give the CEC command to switch my TV on? Without getting the "Unknown" status.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest