------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=79524
------------------------------------------------------------------------
Question: Are you interested in IR-over-IP?
- Yes, I'd like to have IRoIP.
- No, I don't care.
------------------------------------------------------------------------
Glad it works and the info that I gleaned from the web about Denon's ir
protocol is correct. I don't have any denon kit so can't check it for
myself.
With regard to your points:
-Good idea about allowing users to define keycode names, I'll look into
it for the next release but it's not a massive issue. Something like
this should do it:
Code:
--------------------
<keynames>
<keyname ID="my key combination">72</keyname>
<keyname ID="another combination">84</keyname>
</keynames>
...
<key ID="another combination">
...
--------------------
-I don't see the difference between a <command_group> and a <remote>.
If there are a lot of codes with the same paramters, make them into a
separate remote, if it's only one or two then manage them on a
command-by-command basis. With amps it's fairly common to have a bunch
of commands each with different paramters in this case they have to be
specified individually and doing it by command, command group, or
making each a single-command remote doesn't make much difference.
-If you get the ERROR return code then the SqueezeIR menu takes you to
the settings screen so it is quite prominent. The warn status
indicates that it will work (assuming there's no bugs in the code) but
maybe not as expected. It's good practice after changing the xml to
goto Settings>SqueezeIR>reload configuration and then go into
Settings>SqueezeIR>about to check the status. Your problem was due to
a bug rather than a problem with your xml.
- A way to make menus from profiles without having to duplicate the
xml? Not sure, things get really complicated when you begin to define
multiple profiles each with a set of nested menus. I'll have to think
about it more carefully!
- The Controller doesn't have an xml processor. I incorporated a very
basic one written by Roberto Ierusalimschy (inventor of lua, the applet
programming language) http://lua-users.org/wiki/LuaXml as I wouldn't
know where to start writing one myself from scratch. This parser
outputs the xml as a (nested) key-value pair dictionary. The
interpretor does not maintain element order and is certainly not 100%
standards compliant. This is the reason that the xml is so verbose, I
have to keep everything very simple structurally so that it will work
with the basic interpreter. The downside is there are a lot of
container elements. There are more compliant parsers out there but
they would require patching the Controller's lua implementation (not
straightforward).
I'm not sure about the timer error you got and without seeing more of
the log file I don't think I'll be able to trace the problem. I
presume shorter command chains work ok? From looking at the code the
most likely explanation is an illegal value for a <pause> element or
having non-sequential order attributes in the xml.
As for lirc-Denon conversion, you convert the command codes into 15-bit
binary then the first five bits are the Device code (lsb first). If the
last two bits are 00 then the command was captured from the first half
of the Denon command and bits 6 to 13 are the command code (lsb first).
If the last two bits are 11 then the command was from the second half
and bits 6-13 are the inverse of the device code (lsb first).
eg
4 was 0x0A88 which in binary is 00010 10100010 00 Device=01000 (8),
command=01000101 (69)
5 was 0x0A77 which in binary is 00010 10011101 11 Device=01000 (8),
command=01000110 (70)
--
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile:
http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=79524
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins