Author Topic: Device template based on IR Issues  (Read 3679 times)

magner

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Device template based on IR Issues
« 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
« Last Edit: December 03, 2010, 10:12:44 pm by magner »

magner

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Re: Device template based on IR Issues
« Reply #1 on: December 07, 2010, 10:59:18 pm »
Can anybody help with IR templates?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Device template based on IR Issues
« Reply #2 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

magner

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Re: Device template based on IR Issues
« Reply #3 on: December 08, 2010, 08:35:04 am »
Thanks for the low down.

Cheers
Dan

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Device template based on IR Issues
« Reply #4 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

magner

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Re: Device template based on IR Issues
« Reply #5 on: December 10, 2010, 08:08:26 am »
Thanks