|
fibres
|
 |
« on: July 23, 2012, 01:30:32 pm » |
|
Hi Guys
I have a mce_usb2 tranceiver connected to my MEdia Director.
I am trying to setup my Technika 40 Inch LCD TV to be controlled via infrared.
I cannot seem to find the pronto codes for my tv so would like to learn them from my existing control.
I have created a mew device in a/v Equipment in webadmin and assigned it to the correct room. I have gone into A/VV Properties and tried to add by learning the code but this does not seem to be supported with my tranceiver.
I have used irrecord to record the raw codes but when I put these in manually in the av properties section of my new device it does not blast.
And help would be appreciated.
Regards
|
|
|
|
|
Logged
|
|
|
|
|
fibres
|
 |
« Reply #1 on: July 23, 2012, 02:15:06 pm » |
|
Ok well I have managed to get lirc to contorl this tv from the command line.
I have used irrecord to setup a basic config for the remote
begin remote
name technika bits 32 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100
header 8956 4368 one 604 1637 zero 604 537 ptrail 591 repeat 8924 2220 gap 106711 toggle_bit_mask 0x0
begin codes KEY_POWER 0x00FE50AF end codes
end remote
I have added that to my /etc/lirc/lircd.conf
I can now use the following command using irsend to toggle the tv on/off
irsend SEND_ONCE technika KEY_POWER
Now how do I tell the device template I have created for my tv to use this?
Regards
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #2 on: July 23, 2012, 06:06:48 pm » |
|
You need to convert those bits to pronto codes, so the system can send them. If you're sure you can't find pronto codes for your remote, try http://www.remotecentral.com/-Thom
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #3 on: July 23, 2012, 06:07:44 pm » |
|
and if you want to avoid this mess in the future, don't buy a MCE USB transciever. Use a USB UIRT. They can learn codes, and deal entirely in pronto codes for sending/receiving.
-Thom
|
|
|
|
|
Logged
|
|
|
|
|
fibres
|
 |
« Reply #4 on: July 23, 2012, 08:54:14 pm » |
|
Hi
Any idea how I would go about translating those into pronto codes?
I tried remotecentral.com but couldnt find the codes.
Is there no way to get linuxmce to use lirc irsend? Some kind of basic device that sends a shell command to call irsend?
Regards
|
|
|
|
|
Logged
|
|
|
|
|
|
|
tschak909
|
 |
« Reply #6 on: July 23, 2012, 09:07:19 pm » |
|
|
|
|
|
|
Logged
|
|
|
|
|
fibres
|
 |
« Reply #7 on: July 23, 2012, 10:30:07 pm » |
|
Thats all very well, However I live in the UK and the already expensive USB-UIRT is even more expensive once you have allowed for shipping to the uk.
Also it is made even more un cost effective when all I want this to do is to send an on/off command to a tv.
Not having much luck transfering this lirc to hex.
Regards
|
|
|
|
|
Logged
|
|
|
|
|
hari
|
 |
« Reply #8 on: July 23, 2012, 10:58:45 pm » |
|
the IR sending part (IRBase) expects you to use pronto codes.. If you now would hack lirc codes into a device template, another user would be unable to use it e.g. with a TIRA or an IrTrans Ethernet. The only sane way to do this, as tschak said, is to use pronto codes.
|
|
|
|
|
Logged
|
|
|
|
|
fibres
|
 |
« Reply #9 on: July 23, 2012, 11:24:21 pm » |
|
So can a pronto code learned from a USB-UIRT be blasted with a mce_usb2 tranceiver?
Regards
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #10 on: July 23, 2012, 11:37:59 pm » |
|
Yes.
-Thom
|
|
|
|
|
Logged
|
|
|
|
|
Techstyle
|
 |
« Reply #11 on: July 24, 2012, 03:15:42 am » |
|
So Fibres all you need to do is mail your remote to someone with a usbuirt and get them to build you a template. I would do this for you but I am living out of a box right now. If you are still struggling in 3 months give me a call. With a harmony, and a usbuirt I may be able to do this without your remote.
|
|
|
|
|
Logged
|
|
|
|
|
fibres
|
 |
« Reply #12 on: July 24, 2012, 05:28:02 pm » |
|
Hi Techstyle
That would be good. However I am impatient and will probably buy one before then! Or hack some script to call irsend!
Also you still based stateside? Might be a long way to send a remote! Thanks for the offer anyway!
Regards
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #13 on: July 24, 2012, 06:48:04 pm » |
|
Dude, seriously, you're being difficult.
There are plenty of threads around for converting lirc codes to pronto codes.
You've got guys willing to train your remote for you...
and I even gave you an out to get a different piece of hardware that side steps this problem entirely (the USB UIRT, which is one of three transcievers we use that provide both IR transmitting and learning, there are two others, the IRTrans, and the Tira) I do not have a MCE transciever, so I have no way of extending LIRC_DCE to handle the Learn IR command...
-Thom
|
|
|
|
|
Logged
|
|
|
|
|
hari
|
 |
« Reply #14 on: July 24, 2012, 06:51:02 pm » |
|
does anybody in Europe want to buy a USB-UIRT from me? I have one for sale, make an offer :-)
|
|
|
|
|
Logged
|
|
|
|
|