Page 4 of 12
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sun Jun 29, 2014 9:23 pm
by dustobub
What do you mean by "remote button emulation"?
Here is a screenshot of the response from the status request -
https://www.dropbox.com/s/wp9l40l8iu7o1 ... 9%20PM.jpg
The first request was while the tv was on, and the second was when it was off.
Interestingly the tv does send the "I turned on" response even though it doesn't actually turn on.
Is there any way to capture the command that the cec tray app sends over? That program is definitely doing something different than the eventghost library.
Thanks,
Dustin
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Mon Jun 30, 2014 3:15 am
by millab
dustobub wrote:What do you mean by "remote button emulation"?
It is a function of CEC that sends remote control keypresses.
go to
http://www.cec-o-matic.com/
Click the source and destination devices (in my case recording 1 and TV)
Select 'Remote control Pass-through' and select 'Power On Function' from the drop-down menu
Press the purple UP arrow to receive the code for the function:
10:44:6D
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Mon Jun 30, 2014 3:24 am
by millab
I had a similar issue with the TV On and TV Off commands doing weird things, but the remote commands work fine

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Mon Jun 30, 2014 5:28 am
by kasinator
For my amp I distinguish between 4 responses.
From your picture I see that it does send different responses. one ending with 00 other with 01.
but I also see that you use xbmc. then usually that program takes over control of the usb device.
regards
Kasinator
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Mon Jun 30, 2014 10:51 pm
by dustobub
Got it working! But had to dig a little deeper. None of the remote control pass through codes would work for me. Not sure why. I tried several source/destination combinations to no avail. I was able to debug a bit with the cec tray app. Below is the relevant portion of the log from the cec tray app 'off' request and subsequently the 'on' request. Note there is a two part command for returning from standby. I needed to use two actions - 10:04 and 1f:84:10:00:01 to get it to work. Not sure if it's something peculiar with my tv but I'm now set for what I need (just power control).
Thanks for the help.
-Dustin
NOTICE: 224629 << putting 'TV' (0) in standby mode
TRAFFIC: 224629 << 10:36
TRAFFIC: 224837 >> 0f:36
DEBUG: 224837 >> TV (0) -> Broadcast (F): standby (36)
DEBUG: 224837 TV (0): power status changed from 'on' to 'standby'
NOTICE: 233454 << powering on 'TV' (0)
TRAFFIC: 233454 << 10:04
DEBUG: 233518 TV (0): power status changed from 'standby' to 'in transition from standby to on'
TRAFFIC: 233632 >> 01:83
DEBUG: 233632 >> TV (0) -> Recorder 1 (1): give physical address (83)
DEBUG: 233632 << Recorder 1 (1) -> broadcast (F): physical adddress 1000
TRAFFIC: 233632 << 1f:84:10:00:01
TRAFFIC: 233890 >> 0f:85
DEBUG: 233890 >> TV (0) -> Broadcast (F): request active source (85)
DEBUG: 233890 >> 0 requests active source
DEBUG: 233890 TV (0): power status changed from 'in transition from standby to on' to 'on'
NOTICE: 233890 << Recorder 1 (1) -> broadcast (F): active source (1000)
TRAFFIC: 233890 << 1f:82:10:00
TRAFFIC: 237969 >> 01
DEBUG: 237969 << POLL: TV (0) -> Recorder 1 (1)
TRAFFIC: 238067 >> 01:83
DEBUG: 238067 >> TV (0) -> Recorder 1 (1): give physical address (83)
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Tue Jul 22, 2014 8:06 am
by jcerecke
I've had a nicely working installation with v0.2 plugin - except for one thing. Everytime my TV/computer would turn on I would have to tell my Panasonic TV to Activate the VieraLink in order for the commands to be passed to the computer. This never used to happen with built in XBMC control, it used to start working straight away. No biggie, but in an effort to resolve this I looked on here and found v0.3 had been released. So I upgraded and now I eventghost doesn't see any TV remote button presses except Stop, Pause, Play, FF, RW. Also the codes I was seeing in after the plugin started in v0.2 aren't coming up anymore in v0.3. Do I now need to send these codes manually?
Also can someone tell me what settings (if any) I should be setting up with the cec-client.exe command tool? Things like physical address, etc. Or can everything happen from within the plugin?
Versions:
Libcec 2.1.4
Plugin 0.3
Eventghost 0.4.1.r1669
Would appreciate any pointers.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Thu Sep 04, 2014 2:53 pm
by michae7oliver
I've had difficulty finding the CEC-Client.exe file. Is this the same as the CEC Tray application? I've pointed the plugin to this file and all it does is run the CEC Tray application... remote control actions still aren't logged in EG. Am I missing something?
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sun Sep 07, 2014 10:19 pm
by karafso
Michae7oliver, the CEC-Client.exe file is located in your install directory (same as the tray application), but it needs to be selected during install. It threw me off for a bit as well. So just run the installer again, and select 'full install', or whatever the option is called, and you'll see the file in your libCEC directory.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Tue Sep 09, 2014 4:32 am
by michae7oliver
Thanks, that worked! I'll try running the EG plugin tonight to see if I can get it all set up.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Sep 13, 2014 12:39 am
by michae7oliver
I'm running into a problem with EG locking up / going into a loop when I launch xbmc. I've attached my EG tree and was hoping someone might be able to tell me what I'm doing wrong as I can't work it out.
Note that it works fine on start up and only becomes an issue if I exit out of xbmc and then try to launch xbmc again (either through the Red button on my Sony remote which I've mapped to launch it or by picking xbmc out of the start menu). Tabbing out and looking at event ghost it runs the macro "Start Program: XBMC.exe" then stops.
Thanks in advance.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Sep 13, 2014 2:25 am
by michae7oliver
michae7oliver wrote:I'm running into a problem with EG locking up / going into a loop when I launch xbmc. I've attached my EG tree and was hoping someone might be able to tell me what I'm doing wrong as I can't work it out.
Note that it works fine on start up and only becomes an issue if I exit out of xbmc and then try to launch xbmc again (either through the Red button on my Sony remote which I've mapped to launch it or by picking xbmc out of the start menu). Tabbing out and looking at event ghost it runs the macro "Start Program: XBMC.exe" then stops.
Thanks in advance.
Never mind, I believe the issue was caused by me selecting "wait until application is terminated before proceeding".
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Tue Sep 16, 2014 6:17 pm
by kasinator
please note that starting xbmc connects to the adapter. the same the eg plugin does.
if you want to control xbmc with the adapter and use eg, you must disable pulseeight adapter in xbmc and create a xbmc key press simulation within eg.
one device, one client. anything else could create issues.
regards
Kasinator
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Oct 04, 2014 2:55 pm
by michae7oliver
I've had a persistent problem with libCEC events not being picked up by EG after I turn the TV off then on again. Is this a known issue?
Another thing, I quite like the way the config built in to XBMC works re: allowing me to place the computer into standby when I turn my TV off and the waking up on turning the TV back on. I'd like to set up similar fictionalise via EG but I don't know where to get started.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Jan 17, 2015 10:13 am
by flop
Hi all, first thanks for this plugin
When I try to set this plugin and when Evenghost start, I get this crash with Pulse-Eight.
I use this libCec
http://www.pulse-eight.com/store/produc ... #downloads
Download Format libCEC 2.1.4 (Includes Windows Driver)
Thans for help,
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Fri Jan 23, 2015 9:39 am
by flop
Hi, what do you think about my error ? any advices ?