I have created a few GC100 IR devices in Vera, all working fine. But one isn’t, my Sony TV. What I do not understand is I am using the same IR commands in iRule, and they work, I used the same in SQ blaster before I changed to GC100-12 and they worked too. The device in Vera is showing up ok, I can select the action, but nothing happens. It cannot be the IR emitter as its working in iRule. The code is right too, again as its working in iRule. If I change the IR code in that device to something else from the SonyTV to my satellite receiver, it works, so the device is ok too.
I am completely baffled of what could be wrong. I need to switch my TV to a different input with a scene as I need to trigger this from my Android tablet. I had scenes with IR code in Luup before in SQ remote, but cannot get that to work either
It sounds as though your TV is sensitive to code timing. This can sometimes be fixed by building one or two repeats into the code. This is quite easy to do with Pronto-format codes:
For a single repeat, copy from the fifth up to the last word and paste it at the end. Double the hex value in the third or fourth word - whichever is not zero.
For a double repeat, copy from the fifth up to the last word and paste it at the end then paste it at the end again. Triple the hex value in the third or fourth word - whichever is not zero.
I do not have pronto codes, I have learnt the codes in iLearn in hex format. In my I_SonyTV.xml file I have:
<?xml version="1.0" encoding="ISO-8859-1"?>---
urn:micasaverde-com:serviceId:SonyTV
Input5
17
00000 0067 0000 000D 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428
-
I use this in a scene in actions - sonytv - Input5 which I have repeated 5 times as I thought that might work but it didn’t. I also tried in a scene Luup code:
local IR_TRANSMITTER = 479
luup.call_action(“urn:micasaverde-com:serviceId:IrTransmitter1”, “SendProntoCode”, {ProntoCode = “0000 …”}, IR_TRANSMITTER)
I do not think that is sending anything as this is IR code from a working device just to test the method.
Ideally I would like to alter the I_SonyTV.xml file above, if I know how to change that I can apply that to the other TV commands I have in the xml file. I guess its not as easy and just copying and pasting the IR code in another couple of times…
Try this:
0000 0067 0000 0027 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428
Actually it is Pronto code. I have changed it to send the code three times.
After I googled converting hex to pronto I thought it might be the same. Thanks, will give that a try tonight…
It did not work. I changed the I_SonyTV.xml to your IR code but no reaction from my TV.
[quote=“mikee123, post:6, topic:187283”]@RexBeckett
It did not work. I changed the I_SonyTV.xml to your IR code but no reaction from my TV.[/quote]
Just a hunch, try these:
<ir>0000 0067 000D 0000 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428</ir>
<ir>0000 0067 0027 0000 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428</ir>
I do appreciate your effort - but - its still not working. I cannot think of any other way, I just need this one command, switch the TV to that input, all the others are not important. But I cannot think of a way around it. I need to activate this from my tablet. At the moment I use tasker to run a scene (thats part of a few commands) to switch the TV. I could run iRule on that tablet, but I dont think there is a way to trigger a iRule command from tasker.
@Brientim and @RexBeckett
I have uploaded the changed I_GC100.xml from the thread you mentioned, then tried RexBecketts codes again, and - SUCCESS !!
The code which worked (need to do more testing though) was the first you suggested,
Try this:0000 0067 0000 0027 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428 0060 001A 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0428
Actually it is Pronto code. I have changed it to send the code three times.
So now I have to sit down when I have some time to think and work out how you’ve done that, then I can do that with the other commands as well.
Thanks guys !
Good to hear you manage to get things Working… However, I wish you did not have to take the long road to get there. There are a few fixes for GC100, including another.from RTS, which support needs to update
what fixes are there for GC100 ? I did go throught the forum trying to find things about creating devices but nothing I found helped. I did not see the thread you linked too, and I did not see anything about fixes. I think it might be an idea to have a sub forum for the GC100 plugin. Makes it easier to find stuff. Searching on the forum is very ineffiencient, and I keep forgetting how to do the search via google.
I have uploaded the changed I_GC100.xml from the thread you mentioned, then tried RexBecketts codes again, and - SUCCESS !!
I’m glad to hear that your perseverance paid off.
So now I have to sit down when I have some time to think and work out how you've done that, then I can do that with the other commands as well.
No magic required. As per my earlier post:
For a double repeat, copy from the fifth up to the last word and paste it at the end then paste it at the end again. Triple the hex value in the third or fourth word - whichever is not zero.
So tripling the value of the 4th word made 000D to 0027. I guess if I google how to triple hex I should find how, that shouldn’t be difficult, the rest sounds really easy. What if I wanted to repeat the command lets say 5 times, I copy and paste 5 times and instead of tripling the vale I multiply it by 5 ? Just to understand the concept
What if I wanted to repeat the command lets say 5 times, I copy and paste 5 times and instead of tripling the vale I multiply it by 5 ? Just to understand the concept
Exactly correct.
I guess if I google how to triple hex I should find how,
If you are running Windows, you already have a hexadecimal calculator handy. Open-up the calculator (Start → Accessories → Calculator) and then select View → Programmer. Now you can enter your original two-digit hex value and just multiply by 3, 5 or whatever.
@mickee123, I cannot specifically remember what the deviations were a response to, but IIRC, feedback from serial, inclusion of ITAC Flex and maybe some other minor fixes overtime.
I actually do not use the GC100 on Vera, however, I did work through this previously and hence the memory and knowing what to look for… Google search I utilised =
site: forum.micasaverde.com GC100 multiple
I thought I had it all working, but that turned out to be a fluke. It only worked once. So I tried a few things, going back to the original I_GC100.xml, all variations with different IR codes. The code I really wanted to get to work, the one mentioned first in my post above, never got that to work again. So I started playing with the code for my Lutron lighting as that worked (sort of) before. I noticed, when I multiplied the IR code with @RexBeckett’s method, it did not work, but when I took it back to the original it (sort of) works. I know from when I use that code in iRule, I need to send it with 10 repeats to work, so that is most likely why it is not working reliably.
This is the original (working with original I_GC100.xml):
0000 006A 0000 0046 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 0059 005A 016A 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 0059 005A 0167 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 005A 005A 0168 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 005A 005A 0167 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 0059 005A 0168 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 005A 005A 0167 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 005A 005A 0167 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 0059 005A 0167 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 005A 005A 0167 032A 010C 005A 010C 005A 005A 0168 0059 005A 010C 010E 005A 005A 0167
changing it to this (With either changed I_GC100 or the original I_GC100.xml) does not work at all:
0000 006A 0000 0093 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 016A 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0167 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0167 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0F3C 0000 006C 0000 0022 0156 00AC 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0041 0016 0040 0016 0041 0015 0041 0016 0040 0016 0041 0015 0041 0016 0040 0016 0015 0016 0015 0015 0041 0016 0040 0016 0041 0015 0015 0016 0041 0015 0015 0016 0041 0015 0041 0016 0015 0015 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 05F8 0000 006A 0000 0031 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 016A 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0167 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0167 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0F3C 0000 006C 0000 0022 0156 00AC 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0041 0016 0040 0016 0041 0015 0041 0016 0040 0016 0041 0015 0041 0016 0040 0016 0015 0016 0015 0015 0041 0016 0040 0016 0041 0015 0015 0016 0041 0015 0015 0016 0041 0015 0041 0016 0015 0015 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 05F8 0000 006A 0000 0031 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 016A 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0166 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0167 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0059 005A 0167 032A 010C 005A 010C 005A 0059 0168 0059 005A 010C 010E 0058 005A 0F3C 0000 006C 0000 0022 0156 00AC 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0041 0016 0040 0016 0041 0015 0041 0016 0040 0016 0041 0015 0041 0016 0040 0016 0015 0016 0015 0015 0041 0016 0040 0016 0041 0015 0015 0016 0041 0015 0015 0016 0041 0015 0041 0016 0015 0015 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 05F8
So that could also give a hint of why the other IR code is not working, something with the multiplying of the IR code is wrong. That might not be the only problem though, I don’t know…
The original code (working with original I_GC100.xml) looks strange to me. It already seems to contain 5 repeats of a 14 bit code but it does not follow the normal form of typical Pronto code.
Your modified code does not appear to be based on the original code although some parts are similar. It now contains 259 bits but the length word is wrong - it should be 0103 not 0093.
Do you have a way to learn codes from a working remote?
Yes I did learn it via my working SQ blaster and iLearn. The built in codes in iRule work too, but there is now way (that I know of) to get them out. I can access the built in ones from SQ remote, but they are in a strange format, I think its a proprietary format of SQ blaster. If the code looks strange, I’ll try re-learning it.
On some remotes, you get different codes for a quick button press or a press+hold. I generally get better results using the quick press.