Pulse-Eight CEC +

Questions and comments specific to a particular plugin should go here.
jonib
Plugin Developer
Posts: 1280
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Pulse-Eight CEC +

Post by jonib » Wed May 09, 2018 5:04 pm

kgschlosser wrote:
Wed May 09, 2018 3:14 pm
no it wont work.. the issue is TTL is to low a voltage.
Oops I missed the 12v part. So if my motherboard don't have COM port support I can't use EX-LINK?

A serial COM port expansion card should work, right?
ya got yourself a JP1 Remote.. awesome, Look into Remote Master it a piece of software for unlocking your remotes potential.
OK, now you are insulting me, why would I have a JP1 remote without using Remote Master, that would be silly. :lol:

I have a URC-6131 and would need a replacement soon as its getting worn and don't work optimally anymore. I love the layout and number of buttons and can't find another remote model that is equivalent. :(

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image

nYce
Posts: 41
Joined: Wed Mar 28, 2018 2:29 am

Re: Pulse-Eight CEC +

Post by nYce » Thu May 10, 2018 1:04 am

jonib wrote:
Wed May 09, 2018 5:04 pm
OK, now you are insulting me, why would I have a JP1 remote without using Remote Master, that would be silly. :lol:
Hrhr.. i can already see the post you will get from kgschlosser here :D

Since you didnt mention you are using the remote master, we never know. There are maybe other ppl out here, who dont use it yet and are very grateful, if they get the information here xD


Sorry, i couldnt resist to answer, after i just did the same mistake some pages before :DDD

Feel free to delete this post! ;-)

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Thu May 10, 2018 7:30 am

No No it's fine.


He didn't imply that i was thinking he was stupid. LOL

And that remote is really close to the ones that I use.

What i did with my remotes (I have several that are the same), is i programmed them all to have the exact same IR code set. every button activated and using one of the sony ir code sets. for the life of me i can't seem to remember which one. But it has the fastest transmission time. 45 ms to transmit the code 3 times. it always sends the code 3 times. redundancy i guess. I put an Arduino microcontroller in every room in the house. and it is able to receive and blast IR code and a bunch of other things at the same time but the IR is what is cool. I then send the IR code that has been received to EG. I have all of the IP addresses for the Arduinos set to static (well reserved dhcp lease but close enough). so now I know where the code is coming from. all of the devices in my house are controlled via EG. so because EG knows the IP address where the IR code came from it is able to do whatever it is it needs to for that room. Because all of the remotes carry the same code set i am able to walk from room to room and the remote will change the devices it is controlling without the need for the user to do a thing.


OK so as far as the bugs in the plugin.. the Wake AVR is only if the AVR gets set as the active source. Now i am not sure as to why your device is not responding to the power on all devices. maybe it is not listening for a power on command to come from a broadcast. The power on all devices works fine with my samsung TV. This must be a limitation of your device. So what i will do is i will code in a double check so it will send the power on as a broadcast then i will check the power state of each connected device. and if it is not on or off i will then send the command to only that specific device. You would think that something like this would be coded into libCEC guess not. LOL..


the behavior of having the avr volume control turned on is so that any volume commands that are send over the CEC bus will change the volume on the AVR and not the TV (i am guessing here) Now if your device turns on if you have this selected then that is the nature of what the device does. do you have a TV plugged into the chain at all??? a lot of this specifically has to deal with TV's and you might be getting strange behavior if you do not have a TV on the chain. the TV is the master of the CEC bus. No master the subordinates will run amuck and do whatever the hell they want. Sometimes I wonder if the makes of devices code in strange behavior intentionally just to piss ya off. or confuse the hell out of ya. LOL. Then when ya call asking about it. they go and tell you that you have to buy a more expensive mode to not have it act a certain way.



As far as the EX-Link on the Samsung TV's Yes a com card will do the trick. just make sure it states that it is rs232 compliant. if it states that then it is 12 volts. Now you can use a USB to serial adapter. if and only if it has a power adapter to it. there is not enough juice on a USB to make the jump from 5 volt to 12. so an external power supply is needed to do this. If there is no external power source then it is a USB to TTL. I really do wish they would stop using the term rs232 for TTL Serial. it causes a lot of confusion and can blow up someone's device. But they are 2 completely different things. dumbass chinese manufacturers!!
If you like the work I have been doing then feel free to Image

nYce
Posts: 41
Joined: Wed Mar 28, 2018 2:29 am

Re: Pulse-Eight CEC +

Post by nYce » Thu May 10, 2018 11:39 am

kgschlosser wrote:
Thu May 10, 2018 7:30 am
OK so as far as the bugs in the plugin.. the Wake AVR is only if the AVR gets set as the active source. Now i am not sure as to why your device is not responding to the power on all devices. maybe it is not listening for a power on command to come from a broadcast. The power on all devices works fine with my samsung TV. This must be a limitation of your device. So what i will do is i will code in a double check so it will send the power on as a broadcast then i will check the power state of each connected device. and if it is not on or off i will then send the command to only that specific device. You would think that something like this would be coded into libCEC guess not. LOL..
Well.. I think the AVR-wake settings are not needed. Since i can just add a Makro to Start the AVR after my adapter is connected. That is what eventghost is for.
And if my AVR doesnt react to broadcasts, i just choose the specific device to power on.
kgschlosser wrote:
Thu May 10, 2018 7:30 am
the behavior of having the avr volume control turned on is so that any volume commands that are send over the CEC bus will change the volume on the AVR and not the TV (i am guessing here) Now if your device turns on if you have this selected then that is the nature of what the device does. do you have a TV plugged into the chain at all??? a lot of this specifically has to deal with TV's and you might be getting strange behavior if you do not have a TV on the chain. the TV is the master of the CEC bus. No master the subordinates will run amuck and do whatever the hell they want. Sometimes I wonder if the makes of devices code in strange behavior intentionally just to piss ya off. or confuse the hell out of ya. LOL. Then when ya call asking about it. they go and tell you that you have to buy a more expensive mode to not have it act a certain way.
Well. I dont have a TV in my chain. Just a Projector. But i doubt, that it counts, although it's the playing end of the chain. On my other chain i just have a normal computer-monitor.. same here...

jonib
Plugin Developer
Posts: 1280
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Pulse-Eight CEC +

Post by jonib » Thu May 10, 2018 1:22 pm

This might be the last hurrah.

I restarted EventGhost or the plugin before every test and cleared the log, hopefully this is verbose enough.

The tests are in chronological order, some tests are using the previous state of the devices.

TV on standby over night (6+ hours), won't turn on via plugin.

Code: Select all

---> Welcome to EventGhost <---
CEC: Loading Adapters...
CEC: Starting adapter EventGhost on port COM3
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
         CEC INFO: EventGhost: << 4f:82:20:00
         CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
TV Full power off/on (cut the power), plugin can turn TV on

Code: Select all

---> Welcome to EventGhost <---
CEC: Loading Adapters...
CEC: Starting adapter EventGhost on port COM3
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
         CEC INFO: EventGhost: << 4f:82:20:00
         CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:01
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:01
CEC INFO: EventGhost: >> 0f:80:00:00:20:00
CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
CEC NOTICE: EventGhost: << powering on 'TV' (0)
CEC INFO: EventGhost: << 40:04
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 0f:85
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: >> 0f:80:00:00:20:00
CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
CEC NOTICE: EventGhost: << powering on 'TV' (0)
CEC INFO: EventGhost: << 40:04
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 0f:32:65:6e:67
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 04
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 04:8c
CEC INFO: EventGhost: << 4f:87:00:15:82
CEC INFO: EventGhost: >> 04:46
CEC INFO: EventGhost: << 40:47:45:76:65:6e:74:47:68:6f:73:74
CEC INFO: EventGhost: >> 04:a0:00:00:f0:23
CEC INFO: EventGhost: << 40:a0:00:00:f0:24:00:80
CEC INFO: EventGhost: >> 04:9f
CEC INFO: EventGhost: << 40:9e:05
CEC INFO: EventGhost: >> 0f:85
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
Put TV to Standby from plugin, turn TV on from plugin works.

Code: Select all

---> Welcome to EventGhost <---
CEC: Loading Adapters...
CEC: Starting adapter EventGhost on port COM3
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
         CEC INFO: EventGhost: << 4f:82:20:00
         CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:01
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC INFO: EventGhost: << 40:8f
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC INFO: EventGhost: >> 04:90:01
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:01
CEC INFO: EventGhost: >> 0f:80:00:00:20:00
CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
PulseEight.EventGhost.Source.EventGhost.Activated
CEC NOTICE: EventGhost: << powering on 'TV' (0)
CEC INFO: EventGhost: << 40:04
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.TV.Power.On
CEC INFO: EventGhost: >> 0f:85
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: >> 0f:80:00:00:20:00
CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
PulseEight.EventGhost.Source.EventGhost.Activated
CEC NOTICE: EventGhost: << powering on 'TV' (0)
CEC INFO: EventGhost: << 40:04
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 0f:32:65:6e:67
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 04
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 04:8c
CEC INFO: EventGhost: << 4f:87:00:15:82
CEC INFO: EventGhost: >> 04:46
CEC INFO: EventGhost: << 40:47:45:76:65:6e:74:47:68:6f:73:74
CEC INFO: EventGhost: >> 04:a0:00:00:f0:23
CEC INFO: EventGhost: << 40:a0:00:00:f0:24:00:80
CEC INFO: EventGhost: >> 04:9f
CEC INFO: EventGhost: << 40:9e:05
CEC INFO: EventGhost: >> 0f:85
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
Power on after 15+ minutes complete power off (All devices, power totally disconnected), plugin can turn on TV

Code: Select all

---> Welcome to EventGhost <---
C:\ProgramData\EventGhost\plugins\PulseEightPlus\__cec_core\cec\__init__.pyc
sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0)
True
eg.UserPluginModule.PulseEightPlus.__cec_core
eg.UserPluginModule.PulseEightPlus.__cec_core.cec
eg.UserPluginModule.PulseEightPlus.__cec_core
Autostart
   Plugin: Pulse-Eight CEC+
      CEC: Loading Adapters...
      CEC: Starting adapter EventGhost on port COM3
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:01
CEC INFO: EventGhost: >> 0f:80:00:00:20:00
PulseEight.EventGhost.TV.Power.On
CEC INFO: EventGhost: >> 0f:85
CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
CEC INFO: EventGhost: << 4f:82:20:00
CEC INFO: EventGhost: >> 0f:80:00:00:20:00
CEC INFO: EventGhost: >> 0f:32:65:6e:67
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: >> 04:1a:01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 04
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 04:8c
CEC INFO: EventGhost: >> 04:46
CEC INFO: EventGhost: >> 04:a0:00:00:f0:23
CEC INFO: EventGhost: >> 04:9f
TV on standby for 2+ hours, can't power on via plugin.

Code: Select all

---> Welcome to EventGhost <---
CEC: Loading Adapters...
CEC: Starting adapter EventGhost on port COM3
PulseEight.Adapter.EventGhost.Disconnected
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
         CEC INFO: EventGhost: << 4f:82:20:00
         CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
Disconnected the CEC adapter, still can't power on TV.

Code: Select all

Unable to establish COM dispatch!
---> Welcome to EventGhost <---
C:\ProgramData\EventGhost\plugins\PulseEightPlus\__cec_core\cec\__init__.pyc
sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0)
True
eg.UserPluginModule.PulseEightPlus.__cec_core
eg.UserPluginModule.PulseEightPlus.__cec_core.cec
eg.UserPluginModule.PulseEightPlus.__cec_core
Autostart
   Plugin: Pulse-Eight CEC+
      CEC: Loading Adapters...
      CEC: Starting adapter EventGhost on port COM3
Main.OnInit
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (1000)
         CEC INFO: EventGhost: << 4f:82:10:00
         CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC INFO: EventGhost: << 40:8f
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (1000)
      CEC INFO: EventGhost: << 4f:82:10:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
TV powerd off over the night (standby), plugin can't power on TV

Code: Select all

---> Welcome to EventGhost <---
CEC: Loading Adapters...
CEC: Starting adapter EventGhost on port COM3
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
         CEC INFO: EventGhost: << 4f:82:20:00
         CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC NOTICE: Playback 1: unregistering client: libCEC version = 4.0.2, client version = 4.0.2, firmware version = 8, firmware build date: Fri Jul 21 09:08:24 2017 +0000, logical address(es) = Playback 1 (4) , physical address: 2.0.0.0, compiled on Windows-10.0.15063, features: P8_USB, P8_detect
CEC INFO: Playback 1: << f4
CEC INFO: Playback 1: << f4
CEC INFO: Playback 1: << f4
CEC INFO: Playback 1: << f4
PulseEight.Adapter.EventGhost.Disconnected
Manually turned on TV via remote.

Code: Select all

---> Welcome to EventGhost <---
CEC: Loading Adapters...
CEC: Starting adapter EventGhost on port COM3
CEC Adapter Started
Adapter Name: EventGhost
Adapter Serial Port: COM3
Adapter Device Emulation: playback device
Available Devices: TV, EventGhost
AVR Volume Control: Off
PulseEight.Adapter.EventGhost.Connected
   Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
      Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
      Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
         CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
         CEC NOTICE: EventGhost: << powering on 'TV' (0)
         CEC INFO: EventGhost: << 40:04
         CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
         CEC INFO: EventGhost: << 4f:82:20:00
         CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: << 40:8f
CEC INFO: EventGhost: >> 04:90:02
CEC INFO: EventGhost: >> 0f:32:65:6e:67
CEC INFO: EventGhost: >> 01
PulseEight.EventGhost.TV.Power.On
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 01
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 02
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 03
CEC INFO: EventGhost: >> 04
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 05
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 06
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 07
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 08
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 09
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0a
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0b
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0c
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0d
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 0e
CEC INFO: EventGhost: >> 04:8c
CEC INFO: EventGhost: << 4f:87:00:15:82
CEC INFO: EventGhost: >> 04:46
CEC INFO: EventGhost: << 40:47:45:76:65:6e:74:47:68:6f:73:74
CEC INFO: EventGhost: >> 04:a0:00:00:f0:23
CEC INFO: EventGhost: << 40:a0:00:00:f0:24:00:80
CEC INFO: EventGhost: >> 04:9f
CEC INFO: EventGhost: << 40:9e:05
CEC INFO: EventGhost: >> 04:83
CEC INFO: EventGhost: << 4f:84:20:00:04
CEC INFO: EventGhost: >> 0f:82:00:00
CEC NOTICE: EventGhost: >> source deactivated: Playback 1 (4)
PulseEight.EventGhost.Source.EventGhost.Deactivated
Pulse-Eight CEC+: Power On TV: Adapter: Broadcast on COM3
   Pulse-Eight CEC+: Power On TV: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
   Pulse-Eight CEC+: Set TV as Active Source: Adapter: EventGhost on COM3
      CEC NOTICE: EventGhost: >> source activated: Playback 1 (4)
      CEC NOTICE: EventGhost: << powering on 'TV' (0)
      CEC INFO: EventGhost: << 40:04
      CEC NOTICE: EventGhost: << Playback 1 (4) -> broadcast (F): active source (2000)
      CEC INFO: EventGhost: << 4f:82:20:00
      CEC INFO: EventGhost: << 40:8e:00
PulseEight.EventGhost.Source.EventGhost.Activated
CEC INFO: EventGhost: >> 04:8d:02
CEC INFO: EventGhost: << 40:8e:00
CEC INFO: EventGhost: >> 04:1a:01
CEC INFO: EventGhost: << 40:1b:1a
CEC NOTICE: Playback 1: unregistering client: libCEC version = 4.0.2, client version = 4.0.2, firmware version = 8, firmware build date: Fri Jul 21 09:08:24 2017 +0000, logical address(es) = Playback 1 (4) , physical address: 2.0.0.0, compiled on Windows-10.0.15063, features: P8_USB, P8_detect
CEC INFO: Playback 1: << f4
CEC INFO: Playback 1: << f4
CEC INFO: Playback 1: << f4
CEC INFO: Playback 1: << f4
PulseEight.Adapter.EventGhost.Disconnected
So it seems that cutting the power (or sending an IR signal) to the TV is the only way to power on reliably.

If there is nothing useful here I'll contact Pulse-Eights support and see if they have any ideas.

kgschlosser thanks for working with me with this.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Thu May 10, 2018 4:29 pm

I am trying to follow the logging information. without the time stamps it is almost impossible to see what is going on.

we have a couple of inconsistencies. or extra variables thrown into the problem solving equation.

the following output was only printed from an earlier version of the plugin. I need you to use the latest plugin all the time.

Code: Select all

--> Welcome to EventGhost <---
C:\ProgramData\EventGhost\plugins\PulseEightPlus\__cec_core\cec\__init__.pyc
sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0)
True
eg.UserPluginModule.PulseEightPlus.__cec_core
eg.UserPluginModule.PulseEightPlus.__cec_core.cec
eg.UserPluginModule.PulseEightPlus.__cec_core

and another thing that gets thrown into the mix..

Code: Select all

Unable to establish COM dispatch!
---> Welcome to EventGhost <---
C:\ProgramData\EventGhost\plugins\PulseEightPlus\__cec_core\cec\__init__.pyc
sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0)
True
eg.UserPluginModule.PulseEightPlus.__cec_core
eg.UserPluginModule.PulseEightPlus.__cec_core.cec
eg.UserPluginModule.PulseEightPlus.__cec_core
the first line not sure why all of a sudden this is showing up. I know that is comes from the core of EG when it starts. but it is an error that always shows up and it keyed to a windows installation. I do not see it in any other log files. are you doing these tests from the same windows installation? no virtual machines and a single instance of EG? Also the older version of the plugin.


so we need to maintain a solid baseline. same computer. same windows installation. no VM's single instance of EG
Remove the setting of the source. perform all actions manually. no macros.
preferably a completely empty tree with only the pulse eight plugin and the power on and off actions added

Turn on all logging in the plugin. and turn on the debug logging in EG.
delete the file %appdata%\eventghost\log.txt (you have to close EG to do this)

Power Cycle = power on. wait 60 seconds, power off, wait 60 seconds

then run EG. wait a minute or 2 then Power Cycle the TV using the actions. and then Power Cycle the TV using the remote
then we wait. however long it is until it stops working. (maybe best to start doing this right before you go to bed)
after that time has passed. Power Cycle the TV using the actions.
Then again with the remote.
and last time with the actions again.

if it does not succeed with the actions on the last time unplug the TV wait one minute. then plug it back in. and Power Cycle the TV with the actions again.

I need to see 2 logs unedited. the event log (copy and paste it) as well as the file %appdata%\eventghost\log.txt. you can PM these to me.

I need you to be running the latest version of EG. the WIP version would be best. also the latest version of the plugin. make sure time stamps are turned on. The latest WIP version of EG allows you to set the actual date when using the time stamps.


I am still trying to determine if the problem is with the TV or is it from something libCEC is sending that is causing it to happen.

I know this is a pain in the ass but the only way is to work it step by step with no extra variables. we need to eliminate every possibility one at a time.
if this is a bug with the adapter then you will be able to direct them to these forum postings and they will have accurate information to work off of. It is going to make this process a whole lot easier. I have an older Samsung TV as well. and I am going to perform the exact same test routine. and we will compare what is going back and forth between adapter and TV and see if there is anything out of place.
If you like the work I have been doing then feel free to Image

jonib
Plugin Developer
Posts: 1280
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Pulse-Eight CEC +

Post by jonib » Thu May 10, 2018 6:33 pm

kgschlosser wrote:
Thu May 10, 2018 4:29 pm
I am trying to follow the logging information. without the time stamps it is almost impossible to see what is going on.
Sorry forgot, will have timestamps next time.
Unable to establish COM dispatch!
When I reinstalled Windows 10 on the SSD instead of the HDD I had before, and upgraded EventGhost from beta to rc4 I got this error, I don't think its related but have no idea.
I get that error when starting EventGhost and I didn't restart EventGhost for all logs and just cleared it before restarting the tests.
are you doing these tests from the same windows installation? no virtual machines and a single instance of EG?
Same Windows but accessed from "Remote Desktop Connection" session as it is a HTPC and is a pain to work with directly.
Also the older version of the plugin.
They should be from the same plugin version :?
preferably a completely empty tree with only the pulse eight plugin and the power on and off actions added
Yeah that was the plan then I wasn't able to add the plugin to an empty tree, and when the new version worked on an empty tree I forgot, sorry. :oops:
Turn on all logging in the plugin. and turn on the debug logging in EG.
delete the file %appdata%\eventghost\log.txt (you have to close EG to do this)

Power Cycle = power on. wait 60 seconds, power off, wait 60 seconds
I'll do the tests again tonight with a clean config and latest versions.
The latest WIP version of EG
Where do I get the WIP? All I see is rc4.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Thu May 10, 2018 8:48 pm

@jonib

click on the build button at the top of the forum that will bring you to where you can download the latest build. And you will know if the build is good or not because of the green passing on the button. if it is a failed build it will be red and say failed. LOL


No worries about the logs and what have you. it's my fault i should have stated this right from the get go, I am sorry to have made you have to do this all over again...

do not clear the log at all. I completely forgot that when you clear the log it prints out the line "--> Welcome to EventGhost <---" again.

as far as that com error goes. if you are running the latest WIP of EG then you can follow the instructions in this post and that will get rid of that error for ya.

It's an odd error and it has something to do ith how windows installed. for the life of me i can't seem to figure out exactly what is causing it because when others have reinstalled windows it has gone away. But that is not necessary with the latest build of EG and also putting that modified file into place.

I would much rather depreciate the things that are in it. but the only purpose to it would be so that if by change someone has EG installed 2 times and one version is 0.5 and the other is 0.4 and they want to trigger events in 0.5 using 0.4. it's a crazy scenario that i think no one has a reason to do. But the com server bits are no longer needed.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Thu May 10, 2018 9:14 pm

@nYce

The AVR not showing up in the list of available devices might be because it has not set the OSD name when i ask libCEC for it.

How does the AVR show up in the lost of devices you can power on? what is it's name?
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Thu May 10, 2018 9:20 pm

@jonib and @nYce

I sent an email over to PulseEight about the issues we are encountering with the AVR's and the volume increments and the odd behavior with the power. and also the oss behavior with the power for the Samsung TV as well. I did this so if they are known issues we aren't sitting here banging our heads against the wall. and not wasting out time screwing around with something that is not the fault of the plugin.
If you like the work I have been doing then feel free to Image

nYce
Posts: 41
Joined: Wed Mar 28, 2018 2:29 am

Re: Pulse-Eight CEC +

Post by nYce » Fri May 11, 2018 1:41 am

kgschlosser wrote:
Thu May 10, 2018 9:14 pm
@nYce

The AVR not showing up in the list of available devices might be because it has not set the OSD name when i ask libCEC for it.

How does the AVR show up in the lost of devices you can power on? what is it's name?
It is shown in the List. Name of the AVR is AVR-X2400H.
It is also shown if i dont use the ""AVR audio" on

see log below with
AVR audio off and wake AVR disabled for com9
AVR audio on and wake AVR disabled for com8

In between is my Macro to turn the AVR on com8 on manually.


At the moment i just leave AVR audio not checked for my Beamer (com9) chain. So it doesnt wake my AVR.


Code: Select all

03:33:12      Plugin: Pulse-Eight CEC+
03:33:12         CEC: Loading Adapters...
03:33:12         CEC: Starting adapter PC on port COM8
03:33:12         CEC: Starting adapter Beamer on port COM9

03:33:17   CEC Adapter Started
03:33:17   Adapter Name: PC
03:33:17   Adapter Serial Port: COM8
03:33:17   Adapter Device Emulation: recording device
03:33:17   Available Devices: PC, AVR-X540BT
03:33:17   AVR Volume Control: On

03:33:17   PulseEight.Adapter.PC.Connected
03:33:17      Pulse-Eight CEC+: Power On AVR-X540BT: Adapter: PC on COM8
03:33:17         Pulse-Eight CEC+: Power On AVR-X540BT: Adapter: PC on COM8

03:33:19   CEC Adapter Started
03:33:19   Adapter Name: Beamer
03:33:19   Adapter Serial Port: COM9
03:33:19   Adapter Device Emulation: recording device
03:33:19   Available Devices: TV, Beamer, AVR-X2400H
03:33:19   AVR Volume Control: Off
03:33:19   PulseEight.Adapter.Beamer.Connected
03:33:27   PulseEight.Beamer.Playback 2.Connected

nYce
Posts: 41
Joined: Wed Mar 28, 2018 2:29 am

Re: Pulse-Eight CEC +

Post by nYce » Fri May 11, 2018 1:46 am

kgschlosser wrote:
Thu May 10, 2018 9:20 pm
@jonib and @nYce

I sent an email over to PulseEight about the issues we are encountering with the AVR's and the volume increments and the odd behavior with the power. and also the oss behavior with the power for the Samsung TV as well. I did this so if they are known issues we aren't sitting here banging our heads against the wall. and not wasting out time screwing around with something that is not the fault of the plugin.
Alright. We will see what they will answer. :)

Would be quite nice if i could set the volume to a specific value for different players on my pc :D
But it's also not that big deal, i already like to power my devices on and off with different programms, and power on and off the computer! :D

Best feature is to set the default audio device always to the just turned on device, even if i use the remote or push the power button. (it doesnt work automatically from windows, since the devices are always active even if they are in standby o_O)

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Fri May 11, 2018 4:53 am

from my understanding of how the AVR Audio is supposed to function is.. if you have a media player installed on your PC and said media player supports CEC if you change the volume in that media player then it will change the volume on the actual AVR and not the PC volume. Because you have it disabled this is not going to happen.

Now the AVR may not show as an available device when you have AVR audio enabled because it has been shanghaied so to speak. it is only capable of being a standard device or the system audio device. not both. where as the other AVR is capable of doing both. I do not know which one is a more recent model. But I would imagine that the one that shows up in the available devices list is the newer one.

One thing you may want to do is to make sure the firmware on the AVR's is up to date. If they are not there could be some changes that may fix some of the various oddities


have we managed to figure out the volume yet?? Oh that is the other thing. without having the AVR set as the System Audio device. the GetVolume and the Volume up, down and set will not work properly. Well i would image they wouldn't
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4313
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Pulse-Eight CEC +

Post by kgschlosser » Fri May 11, 2018 4:54 am

nYce wrote:
Fri May 11, 2018 1:46 am
Best feature is to set the default audio device always to the just turned on device, even if i use the remote or push the power button. (it doesnt work automatically from windows, since the devices are always active even if they are in standby o_O)
You are going to have to elaborate on this.
If you like the work I have been doing then feel free to Image

jonib
Plugin Developer
Posts: 1280
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Pulse-Eight CEC +

Post by jonib » Fri May 11, 2018 8:41 pm

Damn, I was doing the new proper logging attempt... and failed :oops:
So the first problem, I have the PC hibernate after 60 minutes, but that wouldn't be the biggest problem, unfortunately the network don't work unless I do a "hardware scan" and I forgot to configure that in the new EventGhost config so I wasn't able to log in to do the testing. :cry:

And now I want to use the TV for its intended purpose. So testing later.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image

Post Reply