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.
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
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Hm, that's strange.
I tested it on another fresh system with a fresh config and only one hdmi device attached. It's the same thing. After install the devices list is empty.
I noticed that when I open it a second time after hitting OK after the first time the list will be filled with all possible devices (I guess that's how it's supposed to be).
After that the actions I tested do work.
I tested it on another fresh system with a fresh config and only one hdmi device attached. It's the same thing. After install the devices list is empty.
I noticed that when I open it a second time after hitting OK after the first time the list will be filled with all possible devices (I guess that's how it's supposed to be).
After that the actions I tested do work.
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
OK. are you running EG and then double clicking on an action right away?
this could be where the issue is. the plugin has not had the time to set up the adapter yet. when I initially made this plugin there was a huge stall in the EG startup while the plugin scanned and set up the adapter and devices. so now this is done in a separate thread so EG can continue along. this could be what is causing the problem.
***EDIT***
confirmed. i will have to code in some kind of a stall routine into the actions
this could be where the issue is. the plugin has not had the time to set up the adapter yet. when I initially made this plugin there was a huge stall in the EG startup while the plugin scanned and set up the adapter and devices. so now this is done in a separate thread so EG can continue along. this could be what is causing the problem.
***EDIT***
confirmed. i will have to code in some kind of a stall routine into the actions
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
ok this one should fix the issue it will stall the dialog from loading until all of the adapters have been scanned. it will also stall an action from being carried out.
- Attachments
-
- PulseEight-1.2.3b.egplugin
- (251.38 KiB) Downloaded 193 times
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
I can't see that much of a difference.
What I did:
1. Updated the plugin
2. Made a new config
3. Added the plugin
4. Entered the name for the adapter
5. Waited for a couple of minutes
6. Opened the config menu for the first action in the tree
7. The list was still empty
8. Saved it as it was
9. Reopened it and the complete list was there instantly
After that I can test.
I have a question about the list: Is it supposed to be filtered down to the devices which are found on the cec bus?
What I did:
1. Updated the plugin
2. Made a new config
3. Added the plugin
4. Entered the name for the adapter
5. Waited for a couple of minutes
6. Opened the config menu for the first action in the tree
7. The list was still empty
8. Saved it as it was
9. Reopened it and the complete list was there instantly
After that I can test.
I have a question about the list: Is it supposed to be filtered down to the devices which are found on the cec bus?
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
yes it is supposed to be a filtered down list of devices. that is odd that it is doing that to you. I cannot get it to duplicate on my machine. something has to be different. I just do not know what it could be.
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Same here... Especially as I have it on two systems. I'll check the cable nowI just do not know what it could be.
I did something to test a bit deeper: I installed the older versions of the plugin. With 0.4 I have the same problems.
With 0.3 everything is working fine but as far as I can see there is no scanning for the devices.
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
I did a fresh install of eg and the plugin on my laptop and connected only my tv to the adapter. Same thing but I get this error now on start of eg.
Does it help?
[Edit:]
And now this on trying to open a action:
[Edit]
One more idea: Which libcec version are you running?
I got this 4.0.2 mod here in the forums. Maybe something went wrong there
Something comes to my mind:
Code: Select all
pythoncom error: ERROR: server.policy could not create an instance.
Traceback (most recent call last):
File "win32com\server\policy.pyc", line 136, in CreateInstance
File "win32com\server\policy.pyc", line 193, in _CreateInstance_
TypeError: 'str' object is not callable
pythoncom error: Unexpected gateway error
Traceback (most recent call last):
File "win32com\server\policy.pyc", line 136, in CreateInstance
File "win32com\server\policy.pyc", line 193, in _CreateInstance_
TypeError: 'str' object is not callable
pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005)
Unable to establish COM dispatch![Edit:]
And now this on trying to open a action:
Code: Select all
Traceback (most recent call last) (0.5.0-rc4):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
self.Configure(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Utils.py", line 441, in LogItWithReturnWrapper
result = func(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 106, in Configure
treeItem.Configure(*args)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
return self.executable.Configure(*args)
File "C:\ProgramData\EventGhost\plugins\PulseEight\__init__.py", line 452, in Configure
device
File "C:\ProgramData\EventGhost\plugins\PulseEight\controls.py", line 238, in update_devices
adapter.lock()One more idea: Which libcec version are you running?
I got this 4.0.2 mod here in the forums. Maybe something went wrong there
Something comes to my mind:
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
where is the rest of the 2nd error?
and did you delete your %appdata%/Eventghost folder before reinstalling EG?
and did you delete your %appdata%/Eventghost folder before reinstalling EG?
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Hey, sorry for not reporting back that long. Live's quiet busy right now...
I can't find any rest to that error but you might.
I was lucky and could find the log on my laptop.where is the rest of the 2nd error?
I can't find any rest to that error but you might.
Yes I did. I think I got rid of any leftovers before reinstalling.and did you delete your %appdata%/Eventghost folder before reinstalling EG?
- Attachments
-
- Log.txt
- (147.85 KiB) Downloaded 65 times
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
I wanted to touch base with you on this. Have you tried running EventGhost as administrator. There are other issues at hand here besides the plugin. Because on your laptop if you uninstall the plugin you should still get those com errors
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
The rest of the error is probably:Luca Brasi wrote: Wed Oct 11, 2017 4:23 amI can't find any rest to that error but you might.where is the rest of the 2nd error?
Code: Select all
AttributeError: 'NoneType' object has no attribute 'lock'Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Hey, I'm running Windows 10 with Eventghost 0.4.1.r1722. The PulseEight adapter works fine with the included cec-tray.
However, when I try to load this plugin (latest posted), EventGhost just crashes. No error log, nothing. Anyone with similar experiences?
However, when I try to load this plugin (latest posted), EventGhost just crashes. No error log, nothing. Anyone with similar experiences?
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
upgrade to EG 0.5.
This is a pre release version of pulse eights libcec you will need to download it and install it
download/file.php?id=5835
you will need to delete the plugin for eventghost if you installed it.
then install this version of the plugin.
download/file.php?id=5999
also make sure you have the firmware updated on your device
This is a pre release version of pulse eights libcec you will need to download it and install it
download/file.php?id=5835
you will need to delete the plugin for eventghost if you installed it.
then install this version of the plugin.
download/file.php?id=5999
also make sure you have the firmware updated on your device
- Luca Brasi
- Experienced User
- Posts: 262
- Joined: Sat Oct 11, 2008 12:39 pm
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Hey,kgschlosser wrote: Sun Oct 15, 2017 2:17 am I wanted to touch base with you on this. Have you tried running EventGhost as administrator. There are other issues at hand here besides the plugin. Because on your laptop if you uninstall the plugin you should still get those com errors
sorry for not responding that long. Have been on vacation... No geeky stuff on Crete
So I did a fresh install of libcec on my laptop and created a new config for eg. And you're right I get the com error even if the plugin is not installed.
If I run it in admin mode the error will be gone.
The plugin will work then with the hiccups I got before: Devices list will be empty first and then after saving the the actions config I will get the whole list after opening it again.
While testing this I had only a Chromecast connected to my laptop. So no "master" cec device was present at the time. I'll test again later with only the TV connected and see if the list will be created properly then.
[Edit:]
I checked with the TV connected. It's the same thing.
- Attachments
-
- cectest.egtree
- (29.7 KiB) Downloaded 85 times
-
- Log.txt
- (6.18 KiB) Downloaded 72 times
Win10 x64 Prof. / Eventghost latest / MCE Plugin / MCE RC6 Receiver / Logitech Harmony Hub / MediaPortal / kodi
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
I am in the process of upgrading a section of my media room when the electronics are installed I will be able to test the CEC adapter again. You will have to give me about a week to be able to get to the point with the remodel where all the electronics are working again.
