Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Questions and comments specific to a particular plugin should go here.
dustobub
Posts: 24
Joined: Wed Nov 05, 2008 10:57 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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
millab
Posts: 6
Joined: Mon Dec 16, 2013 12:25 am

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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
millab
Posts: 6
Joined: Mon Dec 16, 2013 12:25 am

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post by millab »

I had a similar issue with the TV On and TV Off commands doing weird things, but the remote commands work fine :)
kasinator
Posts: 14
Joined: Tue Dec 10, 2013 7:43 am

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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
dustobub
Posts: 24
Joined: Wed Nov 05, 2008 10:57 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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)
jcerecke
Posts: 1
Joined: Tue Jul 22, 2014 7:48 am

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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.
michae7oliver
Posts: 5
Joined: Thu Sep 04, 2014 2:46 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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?
karafso
Posts: 1
Joined: Sun Sep 07, 2014 10:13 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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.
michae7oliver
Posts: 5
Joined: Thu Sep 04, 2014 2:46 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post by michae7oliver »

Thanks, that worked! I'll try running the EG plugin tonight to see if I can get it all set up.
michae7oliver
Posts: 5
Joined: Thu Sep 04, 2014 2:46 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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.
Attachments
XBMC Libcec.xml
(84.98 KiB) Downloaded 257 times
michae7oliver
Posts: 5
Joined: Thu Sep 04, 2014 2:46 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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".
kasinator
Posts: 14
Joined: Tue Dec 10, 2013 7:43 am

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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
michae7oliver
Posts: 5
Joined: Thu Sep 04, 2014 2:46 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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.
flop
Posts: 6
Joined: Fri Jan 16, 2015 4:40 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post 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.

Image

I use this libCec
http://www.pulse-eight.com/store/produc ... #downloads
Download Format libCEC 2.1.4 (Includes Windows Driver)

Thans for help,
flop
Posts: 6
Joined: Fri Jan 16, 2015 4:40 pm

Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter

Post by flop »

Hi, what do you think about my error ? any advices ?
Post Reply