irplus-remote / irplus-codes.github.io

Code updates for irplus
76 stars 47 forks source link

MDUSA Clock Gone Bad Remote #248

Closed stromcooper closed 8 years ago

stromcooper commented 8 years ago

Common in CrossFit boxes all over the world

irplus-remote commented 8 years ago

Hi i can only refer to this for now, since i dont think ill be able to find codes for this (at least where i live) rare device.

https://irplus-remote.github.io#codes

If you have ideas / found any information about the IR codes feel free to post

stromcooper commented 8 years ago

I've browsed around the various other remote code sites unsuccessfully. Also emailed the mfg and received a auto-reply that they're going out of business, so not very hopeful there. I'm looking for a friend that may have an HTC m7, m8, m9 or LG G3, G4. Worst case, I'll buy a used one on CraigsList and get the data myself.

Is there a wiki or some other instruction on how to export a given IR device's profile once you've used the "learn" function? I ultimately want to have that profile on my Note 4 (IR transmit, not receive) and will be happy to share the profile back to this community as well.

Thanks!

irplus-remote commented 8 years ago

Hey, My suggestion would be to use a raspberry-pi (or PC) and ir sensor to read the data instead of a phone, since they are more reliable and it wouldbe faster. Also probably cheaper than a phone.

But however you got the data - you can just use the "Export" menu entry to export the file.

Note: LG does record in a proprietary format so if you need to move this onto the Note4 this will not work. (Unless you first send me the proprietary once , then i can manually re-read it into an open format by using a Pi)

stromcooper commented 8 years ago

I've got a lead on an HTC M8 for just $35. The Pi would be a cool option, but I can use that M8 as a remote and to stream music via bluetooth to our audio system as well. Replacement remotes are just $15, but I'd rather get this profile exported and openly available for other tinkers down the road.

Great advice and heads-up about the LG. I'll try to stick with the HTC devices.

stromcooper commented 8 years ago

Thought I had a workable option. Have an old Dell D610 laptop with IR port and was hoping I could get it to pick up the codes. Fought with LIRC for a while, several old blog posts, no dice.

Cracked the remote to see what the chips were. Found a few readable portions:

bw50462-1t

s8050d

Think I'm going to go the HTC phone route to read these codes. Will simply buy a used / cracked screen off eBay or CraigsList, then resell once I have them.

irplus-remote commented 8 years ago

Yeah Irda on laptops is not compatible with Cir of remotes..

However the Info about the IC is a big step.. Ill check the spec later.. So dont buy yet :)

irplus-remote commented 8 years ago

Can u make a pic of whole PCB?

stromcooper commented 8 years ago

Best photos I could take are attached. I can't risk breaking the device as we use it daily at the gym.

Photos (2).zip

irplus-remote commented 8 years ago

Damn, nothing found, only some chinese info, but not the full spec sheet :/

stromcooper commented 8 years ago

OK, found a friend with a LG G4. He's going to let me use it tomorrow during lunch to capture the remote codes. I'll then use the export feature to send the codes to you for conversion, then we can add it to the IR code DB for more to enjoy.

Thanks again for your prompt attention and assistance!

irplus-remote commented 8 years ago

Hi, yes this should help, when i have the file ill let you know. Hope it works

stromcooper commented 8 years ago

OK, captured on a LG G3 & worked fine using that device, so hopefully translating the propriety format will go well with other devices. I sent the export to you in email, subject "Export - MDUSA Clock Gone Bad".

irplus-remote commented 8 years ago

Um, on my G4 im getting an error while trying to send it. What Android Version is the G3?

I/UEI.SmartControl: Blaster SendIrKey... 04-28 20:03:27.358 26180-26192/? D/UEI.SmartControl: ---- Waiting for ACK: 04-28 20:03:27.360 26180-26192/? D/UEI.SmartControl: waitForEvent: 80 04-28 20:03:27.368 26180-30994/? D/UEI.SmartControl: serial port data available: 3 - 1 04-28 20:03:27.369 26180-30994/? D/UEI.SmartControl: serial port data available: 3 - 2 04-28 20:03:27.369 26180-26192/? D/UEI.SmartControl: waitForEvent: duration = 11 04-28 20:03:27.369 26180-26192/? D/UEI.SmartControl: ---- Got ACK: recData = 3 04-28 20:03:27.369 26180-26192/? D/UEI.SmartControl: waitForReply data length: 3 04-28 20:03:27.369 26180-26192/? D/UEI.SmartControl: Blaster return status: 7 04-28 20:03:27.414 26180-26192/? D/UEI.SmartControl: Blaster return status: 7 04-28 20:03:27.414 26180-26192/? E/UEI.SmartControl: sendIRWithLearnedCode failed: INVALID_DATA_PACKET_FORMAT 04-28 20:03:27.414 26180-26192/? D/UEI.SmartControl: --- sendIRWithLearnedData result = 0 04-28 20:03:27.414 26180-26192/? I/UEI.SmartControl: Control.sendIRPattern: 0

irplus-remote commented 8 years ago

It doesnt look good, as it seems LG uses a completely different API and IR format in the G3 (maybe using Android 5?) compared to the G4.. And they have almost no info about how to decrypt those formats..everything in a native library..

stromcooper commented 8 years ago

Alright, have the specifics from the capture device. Model is a VS 985, version 6.0, build mra58k.

If the G3 is just an oddball, I'll look for a HTC One M7, 8 or 9 with a cracked screen. They sell on ebay daily for $25. It's worth the $5-10 I'd lose reselling it to have those codes!

irplus-remote commented 8 years ago

I guess this can be closed, in case you have any news feel free to re-open it

stromcooper commented 6 years ago

I'm back! Purchased an LG V20 and was able to capture the remote codes with it, hoping you can contribute them to the broader internet. I've attached to this message (drop the .txt). Please let me know if it is a valid file and if you need a photo of the actual remote or anything. MDUSA.irplus.txt

irplus-remote commented 6 years ago

Hi, as said unfortunatly nothing has changed for LG format. It's still encrypted with a unknown key and algorithm, so the LG learned keys will only work on your specific LG device. If you know how to convert them into raw ir sequences let me know :)

sprive commented 6 years ago

Hi. I have one of these remotes, as well as the clock (broken, a WIP to learn and fix how this old-tech works).

Using the following Circuit Python sketch [1], I decoded all button presses. I then modified Adafruit's sketch so that it response to button presses from FGB remote.

Complete code set:

lib.store.yahoo.net/lib/yhst-20483522292137/nolimitstimer.doc
http://exceedperformance.se/files/ORK6RA61EN0QBYJ9XCF9.pdf
https://cdn.shopify.com/s/files/1/0049/4272/files/Clock_Gone_Bad_-_Timer_and_Remote_Instructions.PDF

Power: [29, 191]
Clear: [29, 23]

(A)FGB:    [29, 163]
(B)TABATA: [29, 47]
(T)TIME:   [29, 7]
(M)MODE:   [29, 27]

CLOCK GONE BAD (Navigation)
(MUTE)TOPLEFT:  [29, 179]  # "X" over speaker cone
(D)TOPRIGHT: [29, 19]
SET:         [29, 39]
(UP)RESUME:  [29, 187]
(LEFT)-:     [29, 183]
(RIGHT)+:    [29, 175]
(DOWN)PAUSE: [29, 171]

 1: [29, 255]  
 2: [29, 239]
 3: [29, 247]
 4: [29, 231]
 5: [29, 251]
 6: [29, 235]
 7: [29, 243]
 8: [29, 227]
 9: [29, 127]
 0: [29, 111]
(12h) 1*: [29, 119]
(24h) 2*: [29, 103]

I do not use irplus (or Android for that matter) and I'm new to IR. I looked at your vendor XML, and I was not sure how to populate values such as gap timings, etc.

Besides the above info, if needed I can re-capture and provide the "RAW" IR arrays (as reported by the Adafruit Circuit Playground Express) but I do not know what the unprocessed array means, and whether it includes timing values (which I see you use in your XML). Let me know if you want that.

[1] - https://learn.adafruit.com/remote-control-tree-ornament-with-circuit-playground-express/code-the-circuit-playground-express#