View previous topic :: View next topic |
Author |
Message |
asphaltdancer
Joined: 13 Sep 2009 Posts: 22
|
Posted: Mon Jan 18, 2010 7:50 am Post subject: CCF import to RM |
|
|
Hello, i have a "Rademacher Rollotron 9540"
a i have a CCF File with the codes, i have tried to decode this with decodeCCF but now i have the File an I don't know how i could use this to program my Remote with IR
could someone help me?
this is the txt.file after decode:
Code: |
Protocol Device SubDev OBC EFC Misc Decode UDB Function Sequence Key Panel DevName TopFreq Once Rept
Sony15 4 55 045_037 RC5 0 0 2 All Off HOME H 40.2441 0 16
0000 0067 00B3 0000 0097 0016 0097 0015 0017 0095 Auf Auf Skylight 40.2441
0000 0067 0000 0012 0017 0095 0017 0095 0097 0015 Zu Zu Skylight 40.2441
0000 0067 0000 0012 0017 0095 0017 0095 0097 0015 Normal schliessen Down Auto Skylight Skylight 40.2441
0000 0067 0000 0012 0097 0016 0097 0015 0017 0095 Normal `F6ffnen Up Auto Skylight Skylight 40.2441
0000 0067 0000 0012 0017 0095 0017 0095 0097 0015 Stop Stop Skylight Skylight 40.2441
0000 0067 0000 0012 0097 0016 0097 0015 0017 0095 Tipp `F6ffnen Up Manual Skylight Skylight 40.2441
0000 0067 0000 0012 0097 0016 0097 0015 0097 0015 Tipp schliessen Down Manual Skylight Skylight 40.2441
0000 0067 0000 0012 0017 0096 0017 0095 0017 0095 All All Skylight Skylight 40.2441
0000 0067 0000 0012 0097 0016 0097 0015 0017 0095 1 1 Skylight Skylight 40.2441
Gap-582-8561-12? 2 0 2.0 3 3 Skylight Skylight 39.4776 13 18
0000 0067 0000 0012 0017 0095 0017 0095 0097 0015 2 2 Skylight Skylight 40.2441
0000 0068 0007 0012 0009 00A2 0017 0094 0017 0094 5 5 Skylight Skylight 39.8572
0000 0067 0000 0012 0017 0095 0017 0095 0017 0095 4 4 Skylight Skylight 40.2441
|
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Mon Jan 18, 2010 8:39 am Post subject: |
|
|
From the looks of that snippet, this device uses a protocol that DecodeCCF doesn't recognize, so you should probably post the CCF file in the Diagnosis Area folder (or just post a link to it if you downloaded it) so one of us can take a look at it.
Just for future reference, if DecodeCCF had recognized the protocol, your next step would have been to cut & paste the data into Excel, then you would clean up the data a bit before copying it manually over to RM.
There isn't an automated process for this. _________________ 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 |
|
|
asphaltdancer
Joined: 13 Sep 2009 Posts: 22
|
|
Back to top |
|
|
asphaltdancer
Joined: 13 Sep 2009 Posts: 22
|
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Fri Jan 22, 2010 7:50 am Post subject: |
|
|
I assume you want the skylight codes out of this ccf file.
You are going to need a custom protcol.
I've run out of time but here is where I am now.
Code: | Frequency 40.2441
One = +3752,-546
Zero = +571,-3702
leadout -25100
Auf Auf 11 00 00 00 00 00 11 11 00
Zu Zu 00 11 00 00 00 00 00 11 11
Normal schliessen
Down Auto Skylight 00 11 00 00 00 00 00 11 11
Normal `F6ffnen
Up Auto 11 00 00 00 00 00 00 11 00
Stop Stop 00 11 11 00 11 00 00 00 00
Tipp `F6ffnen
Up Manual 11 00 00 00 00 00 00 00 11
Tipp schliessen
Down Manual 11 11 00 11 00 00 00 00 00
All All 00 00 00 00 00 00 00 00 00
1 1 11 00 00 00 00 00 00 00 00
2 2 00 11 00 00 00 00 00 00 00
3 3 00 00 11 00 00 00 00 00 00
4 4 00 00 00 11 00 00 00 00 00
5 5 00 00 00 00 11 00 00 00 00 |
_________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Fri Jan 22, 2010 11:40 am Post subject: |
|
|
Wow, did this thread get combined with another, or am I just totally losing it!
Rob,
I was wondering how to handle this protocol. I saw the bit doubling, but was at a loss on how to proceed with the 9 bit command. As always your solution was elegant. Thanks for the lesson. _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Fri Jan 22, 2010 11:48 am Post subject: |
|
|
vickyg2003 wrote: | Wow, did this thread get combined with another, or am I just totally losing it! |
Yes (first question, not second). I did a search for threads by asphaltdancer to see what remote (s)he has so I would know what type of protocol to generate, and in doing so, found that (s)he had started two separate threads on the same topic, so I combined them. I couldn't find what remote was being used, so I generated both types of protocol.
vickyg2003 wrote: | I was wondering how to handle this protocol. I saw the bit doubling, but was at a loss on how to proceed with the 9 bit command. As always your solution was elegant. Thanks for the lesson. |
The first key part was knowing how to get the IR engine to generate the doubled bits, I knew it was possible because I've seen it before, but I had to look it up in the data block doc to see how to do it.
The 9-bits was a pain, I did look to see if I could derive the extra bit somehow, to save having to use 2 variable bytes, but couldn't see a way. _________________ 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 |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Fri Jan 22, 2010 12:08 pm Post subject: |
|
|
The Robman wrote: | vickyg2003 wrote: | Wow, did this thread get combined with another, or am I just totally losing it! |
Yes (first question, not second). I did a search for threads by asphaltdancer to see what remote (s)he has so I would know what type of protocol to generate, and in doing so, found that (s)he had started two separate threads on the same topic, so I combined them. I couldn't find what remote was being used, so I generated both types of protocol.
vickyg2003 wrote: | I was wondering how to handle this protocol. I saw the bit doubling, but was at a loss on how to proceed with the 9 bit command. As always your solution was elegant. Thanks for the lesson. |
The first key part was knowing how to get the IR engine to generate the doubled bits, I knew it was possible because I've seen it before, but I had to look it up in the data block doc to see how to do it.
The 9-bits was a pain, I did look to see if I could derive the extra bit somehow, to save having to use 2 variable bytes, but couldn't see a way. |
I had seen that the 6th bit was always zero, and was thinking of making this a 3-3 cmd set. I'm not sure how many bytes it would have taken to make that happen, so have no idea if this would have taken more upgrade memory or not. I know its not all about upgrade memory, keymoves are another consideration. I wonder how many hoops we need to jump through to make these 3 digit EFC's when all the new remotes take 5 digit efc's anyway. Would you sacrifice upgrade memory, to have smaller EFC's? _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Fri Jan 22, 2010 12:41 pm Post subject: |
|
|
vickyg2003 wrote: | Would you sacrifice upgrade memory, to have smaller EFC's? |
It's not a question of EFC size, it's just that when you use 2 variable bytes, you double the size of the device upgrade. So what you have to do is compare how many executor bytes it would take to generate the extra data and then compare that to how many buttons are in the upgrade. If you're creating a Slingbox upgrade with 40 buttons it might be worth it, but if you're creating an upgrade with just 5 buttons in it, it's probably not worth it. _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Fri Jan 22, 2010 1:02 pm Post subject: |
|
|
I took at look at whether I could use that bit which is always 0 and I could, but it would take 13 bytes of assembler code and save 16 bytes of device upgrade code, so it's just not worth it. _________________ 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 |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Fri Jan 22, 2010 2:26 pm Post subject: |
|
|
I knew there was a bit doubling option in PB, so when I saw the bit doubling that wasn't so bad,. I took a look at the data block doc anyway, but I think the only way this would be useful to me is if I had put it together myself.
I should load this up and test it with the widget, but I only get short breaks from the tiling. Everytime I walk away, it costs me money, since you have to "hit like a girl" to get the 20" tiles to break correctly. If I'm not there to break the tiles, DH tries and they end up in a million pieces. _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Fri Jan 22, 2010 4:02 pm Post subject: |
|
|
vickyg2003 wrote: | I knew there was a bit doubling option in PB, so when I saw the bit doubling that wasn't so bad,. I took a look at the data block doc anyway, but I think the only way this would be useful to me is if I had put it together myself. |
You wanna know something funny, I didn't notice that the doubling option was in PB (I just looked again and I see it now), so I formatted it by hand! The only other tweak that I did was to set the 2nd byte length manually (with a LOAD statement). I did this to save memory as the LD statement takes 3 bytes, but adding it to the data block takes 7 bytes as PB needs to use nulls (ie, FF bytes) to pad it out.
I didn't do this to the HCS08 version, maybe you could do that later when you get done being a construction worker. _________________ 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 |
|
|
asphaltdancer
Joined: 13 Sep 2009 Posts: 22
|
Posted: Sun Jan 24, 2010 10:42 am Post subject: |
|
|
the upgrade works fine!
thank you very much! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Sun Jan 24, 2010 11:26 am Post subject: |
|
|
Happy to hear it, enjoy. _________________ 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 |
|
|
|