JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Ansio electric fan, not decoded by RMIR
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Protocol Decodes
View previous topic :: View next topic  
Author Message
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Sat Mar 30, 2024 1:52 pm    Post subject: Ansio electric fan, not decoded by RMIR Reply with quote

I've posted the learned signals here:

http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26866

There's other stuff that just happened to be on the remote, but the important thing is the Learned Signals tab.

As you can see, RMIR is unable to decode the 4 signals. There are IRP values elsewhere on the page. The fan is in the bedroom, so the ultimate aim is not to get it working on a remote, but on my phone which has an IR blaster. I'm using IRplus on my phone. In the help pages of IRplus, the program's author mentions IRP's but said "I wouldn't use them". To a native English speaker, that indicates advice, but I suspect he means that he hasn't allowed for IRP's to be used in the programming, and there is nothing to indicate how to use IRP's in the help pages.

However there is advice on how to use PRONTO_HEX codes and WINLIRC_RAW in the help pages, can anyone convert these values for me? Or show me how to do it? (I don't have any PRONTO compatible devices.)

Thanks!
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
HamburgerHelper1



Joined: 22 Feb 2014
Posts: 570

                    
PostPosted: Sat Mar 30, 2024 3:27 pm    Post subject: Ansio electric fan, not decoded by RMIR Reply with quote

In RMIR "options" "set IR decoder" I switched it to "DecodeIR
Then your signals show up as 48- NEC
And from this page
http://www.hifi-remote.com/wiki/index.php?title=48-NEC
If you get a decode whose protocol name is simply "48-NEC" that indicates the learned signal is not complete
I know i have had problems with learning on the 3660 Family of remotes
If you have a different Learning remote you may want to try learning with that
_________________
Randy
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Sat Mar 30, 2024 3:50 pm    Post subject: Reply with quote

If your goal is just to get the Pronto hex for these learned signals, RMIR can do that for you. Click on each of the learned signals, in the Learned Signals tab, then click Edit and ensure that the Data Type radio button is set to Pronto.

1
0000 006E 0032 0000 0156 00AB 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040

2
0000 006E 0032 0000 0156 00AB 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040

3
0000 006E 0032 0000 0156 00AB 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040

4
0000 006E 0032 0000 0156 00AB 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0040 0016 0040 0016 0040 0016 0040 0016 0040

Here are the 4 signals converted to binary:
1 0000 006E 0032 0000 0156 00AB 10000000 01111111 11100000 00011111 11100000 00011111 0016 0040
2 0000 006E 0032 0000 0156 00AB 10000000 01111111 11000000 00111111 11000000 00111111 0016 0040
3 0000 006E 0032 0000 0156 00AB 10000000 01111111 11010000 00101111 11010000 00101111 0016 0040
4 0000 006E 0032 0000 0156 00AB 10000000 01111111 11110000 00001111 11110000 00001111 0016 0040

The format does appear to be a 48-bit version of NEC where the obc and its comp are repeated, like this: dev, ~dev, obc, ~obc, obc, ~obc
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Sat Mar 30, 2024 3:58 pm    Post subject: Reply with quote

HamburgerHelper1 wrote:
In RMIR "options" "set IR decoder" I switched it to "DecodeIR
Then your signals show up as 48- NEC
And from this page
http://www.hifi-remote.com/wiki/index.php?title=48-NEC
If you get a decode whose protocol name is simply "48-NEC" that indicates the learned signal is not complete
I know i have had problems with learning on the 3660 Family of remotes
If you have a different Learning remote you may want to try learning with that

Thanks for that! Well I have an OBC and a Hex Command. My problem will now be working out how to put 48-NEC commands in IRplus. I presume that they're not the same as NEC1. I'll do some research and ask again for help if I have to.
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Sat Mar 30, 2024 4:02 pm    Post subject: Reply with quote

The Robman wrote:
If your goal is just to get the Pronto hex for these learned signals, RMIR can do that for you. Click on each of the learned signals, in the Learned Signals tab, then click Edit and ensure that the Data Type radio button is set to Pronto.

Thanks Rob, I didn't know that either!
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Sat Mar 30, 2024 4:13 pm    Post subject: Reply with quote

I have written an executor to replicate this, but haven't done any testing on it. I have added it to your RMIR file and assigned it to the TV button, if you'd like to test it.

http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26867
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Sun Mar 31, 2024 4:30 am    Post subject: Reply with quote

The Robman wrote:
I have written an executor to replicate this, but haven't done any testing on it. I have added it to your RMIR file and assigned it to the TV button, if you'd like to test it.

http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26867


Not sure what this means, but I'll have a look anyway. Meanwhile...

SUCCESS! I now have the IR blaster on the phone working the fan in the bedroom! The Pronto format required in the XML file is exactly how RMIR displays it on the Learned Signals page. It's relatively simple to program RC5 codes into IRplus, and NEC1 codes are only slightly more complicated, but there's always Pronto Hex to fall back on, for more complex stuff.

The equipment in the living room is best controlled by a URC remote control, but other bits around the home can be controlled with the phone using IRplus. But my trusty learning remotes and RMIR are still needed to capture the signals to get Pronto formats!

Note to Randy: URC3661 fully captured the signals, there were no bits missing.

Thanks everyone for your help.
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Sun Mar 31, 2024 7:21 am    Post subject: Reply with quote

The Robman wrote:
I have written an executor to replicate this, but haven't done any testing on it. I have added it to your RMIR file and assigned it to the TV button, if you'd like to test it.

http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26867


I've clicked on Download several times and nothing's happening!
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1414
Location: Munich, Germany

                    
PostPosted: Sun Mar 31, 2024 7:44 am    Post subject: Reply with quote

Here is a fairly straight-forward procedure to generate the irplus configuration.

1. Open the file containing the learned codes in RMIR.
2. Make sure Options -> Advanced -> Learned signal timing analysis is checked. Got to Learned Signals. Press Timing Summary. Press Save on the popup. Save to a Girr file with an arbitrary name.
3. Open IrScrutinizer. Select the Import / Girr pane. Import the file you created in #2. Press "Import all/raw". Answer either OK or Cancel to the popup.
4. Goto the Export pane and select "irplus" as export format. Deselect Auto-generate file names (optional). Press "Export raw remote", and select a suitable file name for the export.
5. Load the file you generated in #4 in your irplus.

Let me know if there are problems.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1414
Location: Munich, Germany

                    
PostPosted: Sun Mar 31, 2024 8:17 am    Post subject: Reply with quote

I took a look at why the learned signals do not decode. The file from #2 above (ansio-fan-raw.girr) was put through IrpTransmogrifier,
Code:
irptransmogrifier decode  --girrinput ansio-fan-raw.girr           
1: No decodes.
2: No decodes.
3: No decodes.
4: No decodes.

so right, no decodes. (--girrinput is only available in the development build (since January this year). not in 1.2.13 which is included in the latest RMIR and IrScrutinizer.) Turn out that the signals have very short leadout (that is the last duration, a gap) of 1708 micro seconds, as opposed to the nominal 48-nec leadout of around 50 milliseconds (^ 108m to be exact). Extending this -- and it decodes nicely. There is a user settable parameter, min-leadout, in IrpTransmogrifier; setting this makes the decoding succeed:
Code:
irptransmogrifier --min-leadout 1700 decode  --girrinput ansio-fan-raw.girr
1:      48-NEC: {D=1,F=7,E=7}, beg=0, end=99
2:      48-NEC: {D=1,F=3,E=3}, beg=0, end=99
3:      48-NEC: {D=1,F=11,E=11}, beg=0, end=99
4:      48-NEC: {D=1,F=15,E=15}, beg=0, end=99


Graham: this parameter can be set with DecoderParameters.setMinimumLeadout(Double). What do you think? Changing globally or making user settable (like frequencyTolerance)?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Sun Mar 31, 2024 9:11 am    Post subject: Reply with quote

davecs wrote:
The Robman wrote:
I have written an executor to replicate this, but haven't done any testing on it. I have added it to your RMIR file and assigned it to the TV button, if you'd like to test it.

http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26867


I've clicked on Download several times and nothing's happening!

Have you ever downloaded files from this site before? I just checked the link to make sure that I hadn't done anything wrong, and it works.

When you get the file, it's your RMIR file except that I have added an upgrade for your fan and assigned it to the TV button. So the ask is, for you to temporarily load this RMIR file to your remote and see if the 1,2,3,4 buttons in TV mode work the fan. Are the buttons on the fan remote also labeled 1,2,3,4?
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Mon Apr 01, 2024 10:59 am    Post subject: Ansio electric fan Reply with quote

The Robman wrote:

Have you ever downloaded files from this site before? I just checked the link to make sure that I hadn't done anything wrong, and it works.

When you get the file, it's your RMIR file except that I have added an upgrade for your fan and assigned it to the TV button. So the ask is, for you to temporarily load this RMIR file to your remote and see if the 1,2,3,4 buttons in TV mode work the fan. Are the buttons on the fan remote also labeled 1,2,3,4?


Strange. Never had this problem before. I always use Vivaldi in Linux. Maybe it's the latest version, or maybe my privacy settings. I tried Firefox instead and it downloaded just fine!

The buttons on the actual original remote are:

1 - Fan Speed
2 - Fan On/Off
3 - Timer
4 - "Natural" -- causes air to "gust" gently rather than be constant.

I don't need it on the 3661 remote, but I will test it and report back.

Thanks.
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Mon Apr 01, 2024 11:14 am    Post subject: Re: Ansio electric fan Reply with quote

davecs wrote:
The Robman wrote:

Have you ever downloaded files from this site before? I just checked the link to make sure that I hadn't done anything wrong, and it works.

When you get the file, it's your RMIR file except that I have added an upgrade for your fan and assigned it to the TV button. So the ask is, for you to temporarily load this RMIR file to your remote and see if the 1,2,3,4 buttons in TV mode work the fan. Are the buttons on the fan remote also labeled 1,2,3,4?


Strange. Never had this problem before. I always use Vivaldi in Linux. Maybe it's the latest version, or maybe my privacy settings. I tried Firefox instead and it downloaded just fine!

The buttons on the actual original remote are:

1 - Fan Speed
2 - Fan On/Off
3 - Timer
4 - "Natural" -- causes air to "gust" gently rather than be constant.

I don't need it on the 3661 remote, but I will test it and report back.

Thanks.


Works perfectly!!
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Mon Apr 01, 2024 12:03 pm    Post subject: Reply with quote

Barf wrote:
Here is a fairly straight-forward procedure to generate the irplus configuration.

1. Open the file containing the learned codes in RMIR.
2. Make sure Options -> Advanced -> Learned signal timing analysis is checked. Got to Learned Signals. Press Timing Summary. Press Save on the popup. Save to a Girr file with an arbitrary name.
3. Open IrScrutinizer. Select the Import / Girr pane. Import the file you created in #2. Press "Import all/raw". Answer either OK or Cancel to the popup.
4. Goto the Export pane and select "irplus" as export format. Deselect Auto-generate file names (optional). Press "Export raw remote", and select a suitable file name for the export.
5. Load the file you generated in #4 in your irplus.

Let me know if there are problems.


Wow. Yes that works. Just needs a tiny amount of tweaking with button sizes etc but I can do that within irplus. Thanks!

If I wanted to do this with one of my regular RMDU files, i.e., not learned signals, could I? How would I go about it if so?
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
davecs



Joined: 28 Mar 2005
Posts: 328
Location: UK

                    
PostPosted: Mon Apr 01, 2024 3:39 pm    Post subject: Reply with quote

P.S. I can download from the Files section using Vivaldi but instead of clicking on Download I have to right click on it and download it using the menu that pops up. I'll remember that next time!
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Protocol Decodes All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control