Replies: 4 comments 2 replies
-
Sorry, I am not able to help right how. Will get back to you towards the end of the week. In the meantime, please check my pending PR for the python-broadlink project. |
Beta Was this translation helpful? Give feedback.
-
Tried to follow the instruction for the python-broadlink and got a code in a different format: Code is:
Not really sure if this fits with the IrScrutinizer captured code or the HomeAssistant captured code. |
Beta Was this translation helpful? Give feedback.
-
Using instead Tomer Klein's Windows Server Broadlink Manager (which is implementing Matthew Garrett's Python-Broadlink) I get this:
...which is different from codes grabbed with IrScrutinizer and HomeAssistant . |
Beta Was this translation helpful? Give feedback.
-
So, now I am back again!! An IR-signal is essentially a number of durations, in micro seconds. The "Broadlink format" stores them slightly coded. The said export format converts the durations in IrScrutinizer to the Broadlink format. Also, I wrote a function to do this conversion (both directions) for python-broadlink, triggered by the Also, the current snapshot can understand Broadlink format, pasted into the Scrutinize signal window. It also has an extended Text export, that can generate Broadlink.
Unfortunately, this is slight broken. I plan to fix it coming week. Keep a look at #477 .
First, the durations are empirically measured times, so a certain fluctuation is normal. Secondly, when you hold down a key, (some parts of) the signal is repeated. IrScrutinizer has a very advanced function ("repeat finder") that finds an eliminates the repeats. This explains that the signals you have learned with the "dumb" devices are much longer, since they do not contain repeat elimination. Just paste you signals into the (snapshot version) of IrScrutinizer, and it will reduce it. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot to @bengtmartensson for making such sophisticated and feature-rich tool available! That's awesome!
Ultimately I would like to generate and send IR codes in the Denon-K format based on info I have on device, sub-device and function numbers; I'd like to generate and send codes for functions that are not available on the std remote, so I cannot just grab the codes from there.
Now, trying to learn I have built a Girs device and installed IrScrutinizer; now I am trying things out: My remote has a button "Tuner", and using IrScrutinizer to capture and analyze, I get:
Denon-K: {D=4,S=1,F=719}, beg=0, end=99, reps=1
...where "D=4,S=1,F=719" corresponds to info in my pdf-file with functions. So far, so good.
I can then Export the code to a yaml file using the "Homeass-Broadlink IR" -format, and I get this code:
JgBkAGwqDQ0NDQ0qDQ0NKg0NDSoNDQ0NDSoNDQ0NDSoNKg0NDQ0NDQ0NDQ0NDQ0NDQ0NKg0NDSoNDQ0NDQ0NKg0qDSoNKg0NDQ0NKg0qDQ0NKg0NDQ0NKg0NDSoNKg0qDQ0NDQ0qDQANBQ==
Now, I can also get the code using my Broadlink RM4pro, HomeAssistant developer tools, and 'learn', but then I get something that is different, and longer:
JgDMAGo4Dg4NDg0rDA8OKQ4ODSoNDwwPDSoODg0PDCsNKg0PDQ4ODgwQDQ4ODg0ODg4OKQ4ODCsNDw0ODg4NKg0qDikOKQ4ODQ8MKw0qDQ8NKg0ODg4MKw0PDSoNKg0qDQ8MDw4pDQAJbWs5DQ4ODgwrDQ8MKw0ODSoODg0PDSoNDwwPDikOKQ4ODg4NDg4ODQ8NDg0PDQ8NKgwPDSoNDw4ODA8NKw0qDSoNKg0PDA8OKQ4pDg4NKg4ODBAMKw0ODSoNKg4qDQ4NDw0qDQANBQ==
Same remote, same button pushed, but different results. What is it that I failed to understand? I am concerned that IrScrutinizer generated codes are not (fully) usable in HA, when HA sees a button differently from IrScrutinizer.
Anyone who can see through this and point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions