|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sat Jun 02, 2018 9:18 pm Post subject: |
|
|
Hey shooter, this is a totally wild guess, but see if this works as an off command for the left ear
unsigned int L_Off[] = {2085 ,417 ,834 ,834 ,2085 ,1251 ,417 ,417 ,417 ,834 ,417 ,1251 ,834 ,417}; _________________ 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 |
|
|
ishootstuff
Joined: 30 May 2018 Posts: 11
|
Posted: Sun Jun 03, 2018 4:44 am Post subject: |
|
|
The Robman wrote: | Hey shooter, this is a totally wild guess, but see if this works as an off command for the left ear
unsigned int L_Off[] = {2085 ,417 ,834 ,834 ,2085 ,1251 ,417 ,417 ,417 ,834 ,417 ,1251 ,834 ,417}; |
No luck, but thanks for trying, I really appreciate it! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sun Jun 03, 2018 12:33 pm Post subject: |
|
|
I haven't seen anyone post anything other than "both" and "right" codes. I noticed that the difference between a "both" code and a "right" code is that one particular bit is set, so I tried setting the other bit and then re-calculating the CRC checksum. _________________ 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: 21254 Location: Chicago, IL |
|
Back to top |
|
|
ishootstuff
Joined: 30 May 2018 Posts: 11
|
Posted: Sun Jun 03, 2018 3:39 pm Post subject: |
|
|
That's awesome, thank you. I wish I understood it. I mean, I get the concept, but I am unable to process the details.
Before I ask if you can reformat, I'd like to try to figure it out myself. I mostly learned to walk again, hopefully I can mostly learn to learn again. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sun Jun 03, 2018 10:31 pm Post subject: |
|
|
ok, let me see if I can help you with that, first off, here's a binary representation of the data that actually gets sent in these signals:
0-00001001-1 0-00000110-1 0-01100101-1 - off
0-00001001-1 0-00010110-1 0-00100110-1 - off_r
0-00001001-1 0-10000110-1 0-00011111-1 - blue
0-00001001-1 0-10010110-1 0-01011100-1 - blue_r
0-00001001-1 0-01000110-1 0-01011000-1 - green
0-00001001-1 0-01010110-1 0-00011011-1 - green_r
0-00001001-1 0-11000110-1 0-00100010-1 - cyan
0-00001001-1 0-11010110-1 0-01100001-1 - cyan_r
0-00001001-1 0-00100110-1 0-11100011-1 - red
0-00001001-1 0-00110110-1 0-10100000-1 - red_r
0-00001001-1 0-10100110-1 0-10011001-1 - magenta
0-00001001-1 0-10110110-1 0-11011010-1 - magenta_r
0-00001001-1 0-01100110-1 0-11011110-1 - yellow
0-00001001-1 0-01110110-1 0-10011101-1 - yellow_r
0-00001001-1 0-11100110-1 0-10100100-1 - white
0-00001001-1 0-11110110-1 0-11100111-1 - white_r
The 8-bit chunks are the ones that you will see hex codes posted for. But the binary is "backwards", so taking the first chunk, it's "00001001" even though the hex code for is is "90" (ie, the binary for "90" is "10010000").
To convert my binary into your data, you need to convert each digit to "417". The 0s represent ON time and the 1s represent OFF time. In your data, the first time is ON, the next is OFF, etc.
So, let's look at my binary string for "off":
0-00001001-10-00000110-10-01100101-1
Now let's look at your data for "off":
unsigned int Off[] = {2085 ,417 ,834 ,834 ,2502 ,834 ,417 ,417 ,834 ,834 ,834 ,417 ,417 ,834};
My binary starts with five zeroes, so 5 times 417 is 2085, therefore the first number in your string should be 2085, which it is. Next, I have a single 1, so your next number should be 417. Next I have 2 zeroes, so you should have 834 (ie, 2*417=834). Etc.
With that knowledge, you should be able to take any hex string, then convert it to binary, reverse all the binary, all the extra bit that I show (ie, an extra 0 at the start, 10 between each byte and an extra 1 at the end, then you can convert the binary into the timings needed for your application. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Last edited by The Robman on Wed Jun 20, 2018 9:20 pm; edited 1 time in total |
|
Back to top |
|
|
ishootstuff
Joined: 30 May 2018 Posts: 11
|
Posted: Mon Jun 04, 2018 8:08 am Post subject: |
|
|
That makes sense and I tried to convert the Light Purple hex on https://sites.google.com/site/listentoourlights/home/how-to/glowwiththeshow/hacking-gw to binary and flipping it. I added the leading 0 and the trailing 1 with 10 between each chunk, but it didn't work.
Light Purple 0x91 0E 03 BD
0-10001001-10-11000000-10-11000000-10-10111101-1
0 1 000 1 00 11 0 11 000000 1 0 11 000000 1 0 1 0 1111 0 11
417, 417, 1251, 417, 834, 834, 417, 834, 2502, 417, 417, 417, 417, 1668, 417, 834
I also tried without leading (trailing) zeros
Light Purple 0x91 0E 03 BD
0-10001001-10-0111-10-1100-10111101-1
0 1 000 1 00 11 00 1111 0 11 00 1 0 1111 0 11
417, 417, 1251, 417, 834, 834, 834, 1668, 417, 834, 834, 417, 417, 1668, 417, 834
So, maybe if you can see what I did wrong, I can try again. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Mon Jun 04, 2018 9:45 pm Post subject: |
|
|
ishootstuff wrote: | That makes sense and I tried to convert the Light Purple hex on https://sites.google.com/site/listentoourlights/home/how-to/glowwiththeshow/hacking-gw to binary and flipping it. I added the leading 0 and the trailing 1 with 10 between each chunk, but it didn't work.
Light Purple 0x91 0E 03 BD
0-10001001-10-11000000-10-11000000-10-10111101-1
0 1 000 1 00 11 0 11 000000 1 0 11 000000 1 0 1 0 1111 0 11
417, 417, 1251, 417, 834, 834, 417, 834, 2502, 417, 417, 417, 417, 1668, 417, 834
I also tried without leading (trailing) zeros
Light Purple 0x91 0E 03 BD
0-10001001-10-0111-10-1100-10111101-1
0 1 000 1 00 11 00 1111 0 11 00 1 0 1111 0 11
417, 417, 1251, 417, 834, 834, 834, 1668, 417, 834, 834, 417, 417, 1668, 417, 834
So, maybe if you can see what I did wrong, I can try again. |
I didn't get the same code as you, here's the binary that I got:
0-10001001-10-01110000-10-11000000-10-10111101-1
And then converting that into the data that you need: Code: | 0 1 000 1 00 11 00 111 0000 1 0 11 000000 1 0 1 0 1111 0 11
417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 834, 2502, 417, 417, 417, 417, 1668, 417, 834 |
I reversed your binary back into hex, you were using 91 03 03 BD rather than 91 0E 03 BD _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Last edited by The Robman on Tue Jun 05, 2018 11:22 am; edited 1 time in total |
|
Back to top |
|
|
ishootstuff
Joined: 30 May 2018 Posts: 11
|
Posted: Tue Jun 05, 2018 4:52 am Post subject: |
|
|
Thank you! That worked and made a color I have not seen. So I did it right, I just did it a little wrong
I got a compile error when I first tried, but I figured out one of your 834's had a period following it instead of a comma. I have double vision, so I do that a lot. I corrected the syntax and BOOM!
Thank you again! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Tue Jun 05, 2018 1:36 pm Post subject: |
|
|
Here's a bunch more you can try. I created them using the following spreadsheet:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=25238
unsigned int Off[] = {2085, 417, 834, 834, 2502, 834, 417, 417, 834, 834, 834, 417, 417, 834};
unsigned int Blue[] = {2085, 417, 834, 834, 417, 417, 1668, 834, 417, 417, 1668, 2502};
unsigned int Green[] = {2085, 417, 834, 834, 834, 417, 1251, 834, 417, 417, 834, 417, 417, 834, 1251, 417};
unsigned int Cyan[] = {2085, 417, 834, 834, 417, 834, 1251, 834, 417, 417, 1251, 417, 1251, 417, 417, 417};
unsigned int Red[] = {2085, 417, 834, 834, 1251, 417, 834, 834, 417, 417, 417, 1251, 1251, 1251};
unsigned int Magenta[] = {2085, 417, 834, 834, 417, 417, 417, 417, 834, 834, 417, 417, 417, 417, 834, 834, 834, 834};
unsigned int Yellow[] = {2085, 417, 834, 834, 834, 834, 834, 834, 417, 417, 417, 834, 417, 1668, 417, 417};
unsigned int White[] = {2085, 417, 834, 834, 417, 1251, 834, 834, 417, 417, 417, 417, 417, 417, 834, 417, 834, 417};
unsigned int Off_R[] = {2085, 417, 834, 834, 1668, 417, 417, 834, 417, 417, 1251, 417, 834, 834, 417, 417};
unsigned int Blue_R[] = {2085, 417, 834, 834, 417, 417, 834, 417, 417, 834, 417, 417, 834, 417, 417, 1251, 834, 417};
unsigned int Green_R[] = {2085, 417, 834, 834, 834, 417, 417, 417, 417, 834, 417, 417, 1668, 834, 417, 1251};
unsigned int Cyan_R[] = {2085, 417, 834, 834, 417, 834, 417, 417, 417, 834, 417, 417, 834, 834, 1668, 834};
unsigned int Red_R[] = {2085, 417, 834, 834, 1251, 834, 417, 834, 417, 417, 417, 417, 417, 417, 2085, 417};
unsigned int Magenta_R[] = {2085, 417, 834, 834, 417, 417, 417, 834, 417, 834, 417, 417, 417, 834, 417, 834, 417, 417, 417, 417};
unsigned int Yellow_R[] = {2085, 417, 834, 834, 834, 1251, 417, 834, 417, 417, 417, 417, 834, 1251, 417, 834};
unsigned int White_R[] = {2085, 417, 834, 834, 417, 1668, 417, 834, 417, 417, 1251, 417, 834, 417, 834, 417};
unsigned int Cool_White[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 3753, 417, 417, 2085, 417, 417, 417, 417};
unsigned int Light_Blue[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 834, 417, 2502, 417, 417, 834, 1251, 1668};
unsigned int Light_Purple[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 834, 2502, 417, 417, 417, 417, 1668, 417, 834};
unsigned int Blue[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 1251, 417, 2085, 417, 834, 2085, 834, 417};
unsigned int Pinkish_White[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 417, 417, 417, 2085, 417, 2502, 834, 417, 417};
unsigned int Lavender[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 834, 834, 2085, 417, 834, 417, 2085, 834};
unsigned int Light_Purple[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 1251, 2085, 417, 1251, 1251, 417, 1251};
unsigned int Purple[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 1668, 417, 1668, 417, 417, 417, 417, 1251, 834, 834};
unsigned int Cool_White_R[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 3336, 834, 417, 834, 834, 417, 417, 1251};
unsigned int Light_Blue_R[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 834, 417, 2085, 834, 417, 1668, 417, 834, 417, 417};
unsigned int Light_Orange[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 834, 834, 417, 1251, 417, 2502, 417, 834, 417};
unsigned int Orange[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 1251, 417, 417, 417, 1251, 417, 417, 834, 1251, 417, 417, 834};
unsigned int Red[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 417, 417, 417, 417, 417, 1251, 417, 417, 417, 417, 2919};
unsigned int Seagreen[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 1668, 834, 1251, 417, 3753, 417};
unsigned int Lime[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 417, 834, 834, 1251, 417, 834, 1668, 417, 417, 417, 417};
unsigned int Light_Green[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 834, 417, 417, 834, 1251, 417, 1251, 1668, 417, 834};
unsigned int Off[] = {417, 417, 1251, 417, 834, 834, 834, 1251, 1668, 417, 417, 417, 417, 1251, 1251, 417, 417, 2502, 834, 417}; _________________ 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: 21254 Location: Chicago, IL |
Posted: Thu Jun 07, 2018 10:09 am Post subject: |
|
|
What's the word Shooter, do any of those new functions work? _________________ 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 |
|
|
ishootstuff
Joined: 30 May 2018 Posts: 11
|
Posted: Sat Jun 16, 2018 8:52 am Post subject: |
|
|
Sorry for the late reply, I have been sick - surprise, surprise.
YES, the codes work! Thanks!
FYI, the "right" ear is right from the perspective of the viewer, not the wearer. I don't know if the original creator did this intentionally, but the boards in the ears are silk screened GlowEars R v2.2 and GlowEars L v2.2. Assuming the tag goes in back, L&R are from the perspective of the wearer. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sat Jun 16, 2018 12:26 pm Post subject: |
|
|
Re: left/right: Interesting, I would correct it but as the codes are scattered all over the internet, I think it's too late.
I have bought one of these hats on ebay myself so I can do some experimenting. I'd like to write an executor to generate the code, and maybe even the CRC checksum. _________________ 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 |
|
|
MickeyMouseErrors
Joined: 19 Jun 2018 Posts: 1
|
Posted: Tue Jun 19, 2018 8:56 pm Post subject: Help with Mickey Mouse Ears - UEI Errors |
|
|
My son recently found youtube videos on hacking/programming the "glow with the show" Mickey Ears from the link I included below
https://www.youtube.com/watch?v=kdiWtt24QEI
He asked me to help him complete this but I am not having much success and I was hoping someone could help. I could not find the remote referenced in the video but did find an Insignia that is JP 1.x compatible and I also purchased the JPX FLash cable.
As I follow the directions I get an error for every one of the UEI Codes I enter that says "Malformed learned signal: Burst table extends beyond end of hex." I am pretty lost as to what to do and I have not been able to find anything specific regarding these errors in any of the support documentation or on the internet. I was hoping you might know or be able to point me in the right direction. I truly appreciate any information or advice you might be able to provide.
[/img] |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Tue Jun 19, 2018 9:52 pm Post subject: |
|
|
When using RMIR, try deleting the first 3 bytes of the posted code.
For example, for BLUE, instead of using the following posted code:
00 00 1B 00 D2 05 04 12 00 D0 01 A1 01 A1 00 D0 00 D0 03 42 01 A1 03 42 04 E3 06 01 23 24
Use this:
00 D2 05 04 12 00 D0 01 A1 01 A1 00 D0 00 D0 03 42 01 A1 03 42 04 E3 06 01 23 24 _________________ 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 |
|
|
|
|
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
|