LinuxMCE Forums

General => Installation issues => Topic started by: magner on December 03, 2010, 10:11:10 pm

Title: Device template based on IR Issues
Post by: magner on December 03, 2010, 10:11:10 pm
Hi I am trying to make an IR template for my colour changing lights, to be used with a USB-UIRT.

Parameters used to Make of my template

This device is controlled via  Device:USB UIRT Embedded Transmit
Category: Infrared Interface

Comm Method USB

Device data  
Under Current Data option I have specified - #111 Using Infrared(string)
Under Default Value option  - pronto code - On 0000 006D 0021 0002 0015 0016 0016 0041 0015 0016 0016 0016 0016 0016 0015 0016 0016 0016 0016 0016 0015 0041 0016 0016 0015 0041 0016 0040 0016 0041 0015 0041 0016 0016 0015 0041 0016 0040 0016 0016 0016 0016 0015 0041 0016 0040 0016 0016 0016 0016 0015 0016 0016 0016 0016 0040 0016 0041 0015 0016 0016 0016 0016 0040 0016 0041 0015 0041 0016 061D 0157 0056 0016 0E55

User Master Device List Defaults - I have ticked

Commands
I/R Receiver – to identify learn and transmit IR
IR Transmit commands – same as above
On/Off – specify power button on/off
Standard TV – specify keys 1 to 9 (same as on my remote each button represents a different colour)

I then go to
Wizard-Devices-Media Director------scroll down to the bottom and add remote---choose my template.

I then click on the template and send command to device--send on command-

I tick request delivery box and receive a message RESP: Delivery failed.

Any ideas what might be the problem?

Thanks
Title: Re: Device template based on IR Issues
Post by: magner on December 07, 2010, 10:59:18 pm
Can anybody help with IR templates?
Title: Re: Device template based on IR Issues
Post by: tschak909 on December 08, 2010, 03:00:32 am
ew, um.. you're using Device data completely inappropriately.

I/R is currently a concept used by audio/video devices, not for colour changing lights.

You'll need to make code changes to the Lighting PlugIn, like I told before, to support this.

You may want to talk to sambuca about this.

-Thom
Title: Re: Device template based on IR Issues
Post by: magner on December 08, 2010, 08:35:04 am
Thanks for the low down.

Cheers
Dan
Title: Re: Device template based on IR Issues
Post by: sambuca on December 09, 2010, 09:16:49 am
You could also create a GSD device template and define it as a lighting device. This could implement the required lighting commands and send the appropriate Send IR command to the USB-UIRT. Look at the Toshiba RAS-13 air condition device for an example.

best regards,
sambuca
Title: Re: Device template based on IR Issues
Post by: magner on December 10, 2010, 08:08:26 am
Thanks