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.

Denon Plugin - but think it's a more common problem....

If you have a question or need help, this is the place to be.
Post Reply
steppedup
Posts: 7
Joined: Fri Apr 08, 2011 10:58 am

Denon Plugin - but think it's a more common problem....

Post by steppedup »

Hi all,

Windows 7, x64, Eventghost 0.3.7 r1486, with the Denon AV Serial Plugin.

This is a problem with the Denon AV Serial Plugin - but I think it's applicable eventghost in general, so asking here.

Specifically with this script:

someVarr = eg.globals.newChannel
eg.plugins.DenonSerial.Raw(u'eg.ParseString(someVarr)')

(Full code is listed below).

DenonSerial.Raw doesn't seem to be evaluating the variables, or letting me get at them. I've tried every version of {}, ' ', " ' ", eg.ParseString, that I can think of, and I just can't get the value contained in the variable to get passed on.

When I run the script, I just get "Plugin Script" listed in the log window.

I've also seen this behavior in the output file field of the File Operations Write plugin.

What am I missing?


<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1486">
<Macro Name="Channel Up" Expanded="True">
<Event Name="Main.channelUp" />
<Action Name="radioChannelz = radioChannelz + 1">
EventGhost.PythonCommand(u'radioChannelz = radioChannelz + 1')
</Action>
<Action>
EventGhost.PythonCommand(u'newChannel = "TPAN" + aOrb + str(radioChannelz)')
</Action>
<Action>
EventGhost.PythonScript(u"someVarr = eg.globals.newChannel\neg.plugins.DenonSerial.Raw(u'eg.ParseString(eg.globals.newChannel)')")
</Action>
</Macro>
</EventGhost>
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Denon Plugin - but think it's a more common problem....

Post by Pako »

I look at it and see that you're absolutely right. The problem is really "more common" - problem exists between chair and keyboard. :wink:

When I look at it, I see that almost everything is wrong. It really does not work.
If you want help from us, you give us more information.

For example:
1. Which Denon device model you have? When we know it, we can find the manual (control protocol). If you have such a document, you can put it here.
2. I found a "Denon AVR control protocol" for the DENON AVR-988. There is for each command an example. You can also write an example of what you want to achieve?

Pako
You know flattr ? You can Image
steppedup
Posts: 7
Joined: Fri Apr 08, 2011 10:58 am

Re: Denon Plugin - but think it's a more common problem....

Post by steppedup »

Hi Pako - thanks for replying, and sorry for not being more clear.

It might be difficult to troubleshoot this if people don't have a similar setup, so I've revised my question to the File Operations output file plugin which is much more common.

Here's the forum post:
viewtopic.php?f=9&t=1011

I'll extrapolate what I learn from there to handle the same question as applied to the Denon plugin.

Thanks again!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Denon Plugin - but think it's a more common problem....

Post by Pako »

I now understand a bit about what's going on.
But even so, in your script is too many bugs.
Why did you not specify the exact type of Denon device, and an example of command to be sent over the serial line?

Pako
Post Reply