Page 1 of 2
Kameleon Remote, lirc, Daytek TV
Posted: Sat Dec 29, 2007 10:19 am
by Cub69
Hi everyone. I'm yet another newbie (to jp1) asking questions.
I have the Kameleon 6962. Nice remote.
I also have a Daytek LM37 TV that does not respond to any pre-programmed devices.
I want to use my remote to control the TV, a Rogers HD box (Pace), and Mythtv (probably using a pvr device).
I have an IR serial receiver on my HTPC running Mythtv. I have been able to record my Daytek remote in Lirc but I'm not sure how to translate that into RemoteMaster - right off the bat some of the details like protocol, I don't know what to enter. Also, is there a lirc to RemoteMaster conversion that can happen?
I don't have a JP1 cable yet but my remote does have the modem so I thought I could add the TV device to start me off using the irtowav program I found.
I had no issues with my Pace HD box - worked with one of the codes in the book.
The PVR codes, however, does have all the functions separately mapped. Since I'm running a serial IR receiver, I can receive virtually any codes. The PVR device codes provided don't provide all of the functions I need for my Mythtv (specically volume up and volume down!). I have powered speakers connected directly to the HTPC, rather then use the internal speakers on the TV.
Can anyone provide me some insight or direction?
Thanks everyone!
Cub
Posted: Sat Dec 29, 2007 12:07 pm
by Cub69
Ok, figured out a bit more about converting the hex from lirc, I think -- from what I can see from my lirc file and from other posts, if I take this piece:
Power 0x8877
Mute 0xC837
Tv 0xC03F
Line 0xD02F
The calculations I did indicate the hex code I use for the button is the first hex bit (e.g. 88 for Power, C8 for Mute). Is this correct or am I way off?
Also, using RemoteMaster and ir.exe and irtowav, I was able to create a wav file to try but how do I make my remote listen for the wav file? I've been looking for a while and can't find any hints. Its a Kameleon 6962 (same as 6960 from what I've read?).
Thanks
Cub
Posted: Sat Dec 29, 2007 2:01 pm
by johnsfine
Cub69 wrote:The calculations I did indicate the hex code I use for the button is the first hex bit (e.g. 88 for Power, C8 for Mute). Is this correct or am I way off?
I can't tell from the info you provided. I'd need to see the information from the top of the LIRC file.
LIRC makes a number of arbitrary decisions when setting up one of those files. So the exact same set of signals could be represented multiple different ways, that affect the translation rules between LIRC hex and JP1 hex.
The method you describe (just taking the correct two digits from the lirc hex) is often correct.
Cub69 wrote:how do I make my remote listen for the wav file? I've been looking for a while and can't find any hints. Its a Kameleon 6962 (same as 6960 from what I've read?).
Hopefully someone who knows that will read this thread and answer.
Posted: Sat Dec 29, 2007 2:23 pm
by Cub69
Thanks for the reply. Here is the top of my lirc file...
Code: Select all
begin remote
name daytek.lvm37
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9059 4427
one 619 1628
zero 619 502
ptrail 620
repeat 9048 2185
pre_data_bits 16
pre_data 0xF7
gap 107799
toggle_bit_mask 0x0
begin codes
Power 0x8877
Mute 0xC837
Tv 0xC03F
Line 0xD02F
Display 0x50AF
...
Perhaps if you demonstrate how you get the conversion for the first line, I can work it out for the rest.
Cub
Posted: Sat Dec 29, 2007 7:53 pm
by johnsfine
Code: Select all
header 9059 4427
one 619 1628
zero 619 502
ptrail 620
repeat 9048 2185
I recognize that pattern as NEC1 protocol. It also indicates the polarity of one vs. zero is correct. Usually in LIRC that polarity is wrong. In JP1 hex for NEC1 protocol, that polarity is wrong.
That, plus the fact that polarity is correct tells me it is device 0, subdevice 239.
You didn't ask about any of that (protocol, device or subdevice) but you'll need them to use RM. Had you figured all that out already?
There are several other things that could be strange in the initial section (most common, a "pre_data_bits" value that isn't the correct value 16). Any of those things would make complicated translation rules. But the only unusual fact this time is that the polarity was correct.
That can be treated as two 2-digit values, the first to be used when LIRC and JP1 have the same polarity; The second to be used when they have different polarity.
Here I see LIRC has correct polarity and I know for NEC1, that JP1 has incorrect polarity. So they differ, so you use the second pair of digits for the hex command, so Power has a hex command of 77.
Posted: Sun Dec 30, 2007 6:32 am
by Cub69
Thanks for the info! I think I mentioned in my first post that I hadn't really figured out the protocol info so I'm glad you provided it!
I'm still trying to figure out how to put the remote into a listening mode to add this device. If anyone knows how to do that please let me know!
Thanks again.
Cub
Posted: Sun Dec 30, 2007 6:46 am
by Capn Trips
Posted: Sun Dec 30, 2007 7:55 am
by Cub69
Found both of these before actually and neither work for me. I don't have the LCD screen and code 997 gives me a long indicator similar to a wrong code being entered for a device.
I did try the UEI European web site to see if I can find it that way was per the irtowav readme, but I don't know what device is comparable to mine and how to find the "Internet Download" as indicated.
I have the Kameleon URC 6962.
As a second question, which jp1 cable should I order for this? Is it jp1 or jp1.2 or which? Do they automatically come with a pogo pin type connector (no pins on my remote, just pads)?
Ironically, the more I looked at this web site and then at the remotes I have around the house (too many to count!!) I found the one that works with my cable box is also JP1 - go figure. Its an Atlas DVR. I kind of like the Kameleon better though
EDIT: Found it is a JP1.2 remote. Looking to build my own cable I think.
Thanks!
Cub
Posted: Mon Dec 31, 2007 2:23 pm
by Cub69
ok so I called support to see if I could get the code to use the modem learning mode and I found out that it doesn't have a modem. That seems to be contrary to everything I have read so far about this remote but no matter, I've already ordered a jp1.2 cable and will need to wait for it to come in.
Support did help me out though and gave me a code to try with my Daytek - 0672. It partially works - turns the TV on, adjusts volume, etc., but the navigation keys don't work. I use the ir learning mode to get those working for now until I get my cable.
I'm sure I'll have more questions at that time - but for now thanks for the help.
Cub
Posted: Mon Dec 31, 2007 3:27 pm
by johnsfine
A partially working setup code should be enough to serve as the basis for complete support using EFC keymoves. So you don't need to wait for your JP1 cable if you don't want to, but ...
Cub69 wrote:Support did help me out though and gave me a code to try with my Daytek - 0672. It partially works - turns the TV on, adjusts volume, etc.,
That's a bit confusing. (according to Rob's devices spreadsheet) Setup code TV/0672 is device 4, subdevice 16. But I'm pretty sure your LIRC file indicates device 0, subdevice 239.
Setup code TV/1088 is device 0, subdevice 239. But that setup code probably isn't in your remote.
Am I misunderstanding the relationship between your TV and your Mythtv system?
I thought the LIRC data you posted was from your Mythtv system learning the signals from your Daytek TV. Was that correct?
Assuming I'm right that your Mythtv system can learn remote signals and generate LIRC files from them, how about showing us the LIRC file you get from learning from setup code TV/0672 into the mythtv.
Posted: Mon Dec 31, 2007 4:21 pm
by Cub69
Interesting! You were not wrong -- I recorded the lirc file using the Daytek remote.
Here is the lirc file recorded using the 0672 code:
Code: Select all
# brand: 0672
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name 0672
bits 32
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9035 4409
one 602 1641
zero 602 515
ptrail 608
repeat 9030 2192
gap 108068
toggle_bit_mask 0x0
begin codes
Power 0x00F78877
Vol+ 0x00F710EF
Vol- 0x00F77A85
I'm starting to not like the Kameleon because of the lack of tactile buttons to feel for. I'll continue to play with it for now. I might want to play a bit more with my Atlas DVR remote too.
Cub
Posted: Mon Dec 31, 2007 6:32 pm
by binky123
Your URC-6962 might need a JP1 cable while your Atlas DVR remote probably needs a JP1.2 cable. You should open up the battery compartment of the Atlas to look for any markings or you may have to open up the Atlas to look for any circuit board markings.
Posted: Mon Dec 31, 2007 7:02 pm
by Capn Trips
binky123 wrote:Your URC-6962 might need a JP1 cable while your Atlas DVR remote probably needs a JP1.2 cable. You should open up the battery compartment of the Atlas to look for any markings or you may have to open up the Atlas to look for any circuit board markings.
No need to open up an Atlas to determine if it is JP1 or JP1.x. The only JP1 Atlas DVR is the one with a "Settings" button to the left of the arrow array (URC-1054). The others all have a "Day+/-" rocker button in the position of the "Settings" button (URC-1055), and they are all either JP1.2 or JP1.3, which call for the same JP1.2 cable.
Posted: Mon Dec 31, 2007 7:11 pm
by vickyg2003
On the Atlas, if its a 5 device with the word "DAY" on the leftmost button where it bulges, its probably either JP1.2 or JP1.3. Most of my JP1.2 Atlases say JP1 on the board. If its a 5 device with the the word "settings" on the case next to the menu button, its probably JP1. If it is a 3 device atlas, er1, its a JP1. The hardest thing about picking up atlas remotes, is that its so hard to get the version that you want. I happen to like JP1.2 remotes, and its hard to find them.
Posted: Tue Jan 01, 2008 7:58 am
by johnsfine
Cub69 wrote:Interesting! You were not wrong
But I was wrong, either about the contents of setup code 0672 or the interpretation of LIRC files (almost sure it is the former, not the later).
Your recorded signals from 0672 are the same protocol, device and subdevice as your signals recorded from the Daytec remote.
So now we know 0672 is a perfectly compatible base for EFC keymoves for your Daytec.
We seem to still have some confusion about operating instructions for your Kameleon 6962. Hopefully you can try EFC Keymove instructions from some similar model and find what works.
To get the EFC numbers themselves, you need to translate the two hex digits identified earlier (last two digits of the lirc data).
RemoteMaster can do that translation if you set up any NEC upgrade (your signals are NEC1). You don't need to install the upgrade; You can simply use the functions sheet in RM to translate hex comands to EFC numbers.
Or you could use the EFC calculator in IR.EXE to do the translation. It doesn't need to know protocol or any other specifics. You just type in each hex command and read out each EFC number.