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.

New HDMI-CEC plugin

Questions and comments specific to a particular plugin should go here.
Post Reply
hotbuddha
Experienced User
Posts: 99
Joined: Tue Mar 29, 2011 5:14 am

Re: New HDMI-CEC plugin

Post by hotbuddha »

My pleasure Uwe.
eatmeimadanish
Experienced User
Posts: 118
Joined: Thu Oct 01, 2009 5:11 pm

Re: New HDMI-CEC plugin

Post by eatmeimadanish »

I have noticed that some tv's (I have a Samsung pro series) do not respond to the TV off command from the CEC plugin, but do respond to the receiver turning off which then does successfully turn off the tv. So I think that there maybe some TV's that dont respond to the direct tv off command, but will listen for an off command from another device (like a receiver) and use that.

Maybe there is a way to trick the tv then?
hotbuddha
Experienced User
Posts: 99
Joined: Tue Mar 29, 2011 5:14 am

Re: New HDMI-CEC plugin

Post by hotbuddha »

Interesting. Do you see any "suspicious" messages being sent from the receiver to the TV? Perhaps on newer model Samsung TV and receivers they have either allowed a direct power off function or toggle power remote key to trigger the TV off. Or there could be some vendor specific command or vendor command with id that I don't know about iwth my older model.
PanteraGSTK
Posts: 25
Joined: Fri Feb 19, 2010 1:30 am

Re: New HDMI-CEC plugin

Post by PanteraGSTK »

hotbuddha wrote:Actually I do not know of anyone using this with Mitsubishi, so if that is the what you plan to buy/use, I can give you the beta tester which will be the same as the EG contributor deal of $20 off. I'm not sure about your question regarding the ability for the TV or in this case the projector to be turned off. The PC-CEC can send the command to it, that is not a problem, but the question is will the Mitsubishi listen to and perform the power off (some brands don't listen to the Standby sent to TV, but they all can be powered on). You might be able to figure out from the owner's guide if that is supported for your particular brand/model.
I just purchased the hdmi-cec bridge so I'd like to take you up on your offer for the $20 off for being a beta tester. I'm confident that your plugin will work, but I like to make sure and in this case there is only one way to make sure. PM me if you need to.

Thanks
PanteraGSTK
Posts: 25
Joined: Fri Feb 19, 2010 1:30 am

Re: New HDMI-CEC plugin

Post by PanteraGSTK »

Well, I'd like to thank you for your hard work on this plugin. I wasn't very happy about paying for an EG plugin, but after using the product I can say my purchase was totally worth it. Great job. Your attention to detail made this very easy to set up once I figured out what I was doing. My advise is to not make the plugin media center centric. I would take that part out for the simple fact that it took some time removing the parts I didn't need. Thanks again.
hotbuddha
Experienced User
Posts: 99
Joined: Tue Mar 29, 2011 5:14 am

Re: New HDMI-CEC plugin

Post by hotbuddha »

Thank you, and thanks for the suggestion too. If you have a moment, please send me your XML config and I will figure out what you had to change. Perhaps I can add an option at plugin install time to post a different set of macros if the user chooses MCE or non-MCE.
PanteraGSTK
Posts: 25
Joined: Fri Feb 19, 2010 1:30 am

Re: New HDMI-CEC plugin

Post by PanteraGSTK »

Will do. One thing that started yesterday when I had some power issues due to weather. For whatever reason audio sync won't work anymore. I can power off the receiver and everything still, but the volume for the pc and receiver won't sync. I can't even change the volume on the receiver without the receiver remote or physically going to the receiver to turn the knob. What could have happened? Should I try and set up everything from the beginning?
hotbuddha
Experienced User
Posts: 99
Joined: Tue Mar 29, 2011 5:14 am

Re: New HDMI-CEC plugin

Post by hotbuddha »

Your receiver could be having issues of it's own too. Try unplugging and plugging the power to force a hard restart of the receiver. Think you also customized some macros so also check the flow of your macros to ensure that they send the set auto mode on signal at appropriate times which should enable volume controls from the TV remote and/or PC-CEC.
PanteraGSTK
Posts: 25
Joined: Fri Feb 19, 2010 1:30 am

Re: New HDMI-CEC plugin

Post by PanteraGSTK »

hotbuddha wrote:Your receiver could be having issues of it's own too. Try unplugging and plugging the power to force a hard restart of the receiver. Think you also customized some macros so also check the flow of your macros to ensure that they send the set auto mode on signal at appropriate times which should enable volume controls from the TV remote and/or PC-CEC.
I'm going to work on this later today. I hope something didn't happen to the receiver, I just got it. Switching inputs works, powering on and off works, but when EG tries to get the receiver audio mode status the receiver doesn't respond. I'm going to put a CEC capable TV in the room and hook it up to see if it will talk to the receiver without the CEC pc interface attached. I'll let you know.

EDIT: Well, I plugged in the CEC capable TV and rescanned devices. Everything is working now. Not sure what happened, but once I re-mapped the inputs of what device was plugged in where it is all good now. It would seem that the device doesn't like having just an audio system plugged in without a CEC TV. Very strange.
hotbuddha
Experienced User
Posts: 99
Joined: Tue Mar 29, 2011 5:14 am

Re: New HDMI-CEC plugin

Post by hotbuddha »

Yes actually now that you mention it, I used to force the plugin to reject installing if there was no TV found but someone requested the ability to emulate a CEC TV recently so I turned that check off. There will be additional logic required to emulate a TV. I have some macros I made just for that purpose but I have not tested them on all brands and not for very long. You are welcome to them but additional configuration will be likely required...

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1544">
    <Folder Name="TV Emulation" Expanded="True">
        <Macro Name="Vendor ID">
            <Event Name="HdmiCec.TV.Give Device Vendor ID" />
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][2] == 'Real':\n        eg.StopMacro()\nexcept:\n    eg.StopMacro()\n    pass")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(-1, None, u'TV')
            </Action>
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][4] == '008045':\n        eg.plugins.HdmiCec.CecCommand(0, u'Broadcast', 16, 0, u'Device Vendor ID', '008045', u'', u'', u'', u'', u'', u'', -1, -1, -1, -1, -1, -1, -1, u'87 008045', -1, 'None', '')\nexcept:\n    pass\neg.plugins.HdmiCec.CecCommand(0, u'Broadcast', 16, 0, u'Device Vendor ID', eg.plugins.HdmiCec.plugin.devDetails[0][4], u'', u'', u'', u'', u'', u'', -1, -1, -1, -1, -1, -1, -1, u'87 '+eg.plugins.HdmiCec.plugin.devDetails[0][4], -1, 'None', '')")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(1, None, u'Media Center')
            </Action>
        </Macro>
        <Macro Name="OSD Name">
            <Event Name="HdmiCec.TV.Give OSD Name" />
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][2] == 'Real':\n        eg.StopMacro()\nexcept:\n    eg.StopMacro()\n    pass")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(-1, None, u'TV')
            </Action>
            <Action>
                HdmiCec.CecCommand(1, u'Event Sender', 3, 1, u'Set OSD Name', u'54 56', u'', u'', u'', u'', u'', u'', -1, -1, -1, -1, -1, -1, -1, u'47 54 56', -1, 'None', '')
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(1, None, u'Media Center')
            </Action>
            <Action>
                HdmiCec.CecCommand(1, u'Event Sender', 3, 1, u'Set OSD Name', u'4d 65 64 69 61 20 43 65 6e 74 65 72', u'', u'', u'', u'', u'', u'', -1, -1, -1, -1, -1, -1, -1, u'47 4d 65 64 69 61 20 43 65 6e 74 65 72', -1, 'None', '')
            </Action>
        </Macro>
        <Macro Name="Power Status">
            <Event Name="HdmiCec.TV.Give Device Power Status" />
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][2] == 'Real':\n        eg.StopMacro()\nexcept:\n    eg.StopMacro()\n    pass")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(-1, None, u'TV')
            </Action>
            <Action>
                HdmiCec.CecCommand(1, u'Event Sender', 8, 1, u'Report Power Status', u'', u'', u'', u'', u'', u'', u'', 2, -1, -1, -1, -1, -1, -1, '90 00', -1, 'None', '')
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(1, None, u'Media Center')
            </Action>
        </Macro>
        <Macro Name="CEC Version">
            <Event Name="HdmiCec.Receiver.Get CEC Version" />
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][2] == 'Real':\n        eg.StopMacro()\nexcept:\n    eg.StopMacro()\n    pass")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(-1, None, u'TV')
            </Action>
            <Action>
                HdmiCec.CecCommand(1, u'Event Sender', 16, 5, u'CEC Version', u'', u'', u'', u'', u'', u'', u'', 4, -1, -1, -1, -1, -1, -1, '9E 04', -1, 'None', '')
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(1, None, u'Media Center')
            </Action>
        </Macro>
        <Macro Name="Physical Address">
            <Event Name="HdmiCec.TV.Give Physical Address" />
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][2] == 'Real':\n        eg.StopMacro()\nexcept:\n    eg.StopMacro()\n    pass")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(-1, None, u'TV')
            </Action>
            <Action>
                EventGhost.PythonScript(u"eg.plugins.HdmiCec.CecCommand(0, u'Broadcast', 16, 0, u'Report Physical Address', eg.plugins.HdmiCec.plugin.devDetails[0][1]+' 00', u'', u'', u'', u'', u'', u'', -1, -1, -1, -1, -1, -1, -1, u'84 '+eg.plugins.HdmiCec.plugin.devDetails[0][1]+' 00', -1, 'None', '')")
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(1, None, u'Media Center')
            </Action>
        </Macro>
        <Macro Name="Active Source">
            <Event Name="HdmiCec.Broadcast.Request Active Source" />
            <Action>
                EventGhost.PythonScript(u"try:\n    if filter(lambda i: i[0] == 0, eg.plugins.HdmiCec.plugin.devDetails)[0][2] == 'Real':\n        eg.StopMacro()\nexcept:\n    eg.StopMacro()\n    pass")
            </Action>
            <Action>
                HdmiCec.IsFromDevice(0, u'Receiver')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(-1), 1, False)
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(-1, None, u'TV')
            </Action>
            <Action>
                HdmiCec.CecCommand(0, u'Broadcast', 10, 2, u'Active Source', u'0.0.0.0', u'', u'', u'', u'', u'', u'', -1, -1, -1, -1, -1, -1, -1, u'82 0.0.0.0', -1, 'None', '')
            </Action>
            <Action>
                HdmiCec.SetLogicalAddress(1, None, u'Media Center')
            </Action>
        </Macro>
    </Folder>
</EventGhost>
Videonisse
Posts: 1
Joined: Tue Mar 13, 2012 2:44 pm

Re: New HDMI-CEC plugin

Post by Videonisse »

zian wrote:hottbuddha,
Thanks for the update and the work your doing with/for EG users.

But...
Do you really need to post the same content to three topics in three diffrent catagories?
Wouldnt one suffice?

Btw...
The "related" hdmi-cec topic in Event Ghost News has been moved and may also soon be merged.
@Zian Could you rename the subject of the first post in this merged thread to "RCAware PC-CEC Plugin (Rainshadow Tech HDMI-CEC Birdge)" Or whatever hottbuddha likes) to make it more clear? Maybe also a good idea to merge following thread that has only a single post: viewtopic.php?f=9&t=3354&hilit=rcaware
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: New HDMI-CEC plugin

Post by zian »

It's in the works V.

Any new topic name ideas HotB?

Btw... Is my coupon code still good Hot?
I never got a reply to my last IM?
eventghost.net
Be there or be square.
hotbuddha
Experienced User
Posts: 99
Joined: Tue Mar 29, 2011 5:14 am

Re: New HDMI-CEC plugin

Post by hotbuddha »

The suggested name sounds great to me, like RCAware HDMI-CEC plugin.

And yes the code is still good, but best do it soon as my stock is very low and I will have some time soon here where I may have to wait before I get more inventory.
chr
Posts: 2
Joined: Mon Jul 23, 2012 10:22 pm

Re: New HDMI-CEC plugin

Post by chr »

Was trying to install the plugin on Win 8. Unfortunately the rcaware driver would not install. Has anyone had success with Windows 8?
chr
Posts: 2
Joined: Mon Jul 23, 2012 10:22 pm

Re: New HDMI-CEC plugin

Post by chr »

Has anyone successfully installed RCAware driver on Windows 8?
Post Reply