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>
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.
Denon Plugin - but think it's a more common problem....
- 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....
I look at it and see that you're absolutely right. The problem is really "more common" - problem exists between chair and keyboard.
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
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 

Re: Denon Plugin - but think it's a more common problem....
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!
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!
- 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....
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
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