State Tracking

Feature Requests, Comments, Bugs, and Suggestions on the Intelliremote application.

State Tracking

Postby mooseboots » Mon May 09, 2011 10:01 pm

I have a Sony XDR-F1HD, which is a great HD tuner, but limited in its control. The remote control has a simple 23-button interface.

Two buttons, in particular, are "toggle" buttons, POWER and BAND.

I'm using a USB-UIRT to blast IR commands to the XDR-F1HD. I'm also using Command Fusion to send commands from my iPhone.

I'd like to have a single button that would keep track of a couple of global variables. I understand that Intelliremote doesn't support variables. Does anyone have any ideas on how I could achieve this?

here's what I'd like to achieve, written in pseudocode...

; Turn XDR-F1HD ON if it is OFF

IF (POWER_STATE == OFF)
UIRTTransmit(Pronto code for toggling the Power)
END

; Switch the band to AM if it's currently tuned to FM
IF (BAND == FM)
UIRTTransmit(Pronto code for toggling the Band)
END

; Send command to tune the XDR-F1HD to Preset #1
UIRTTransmit(Pronto code for "1")
UIRTTransmit(Pronto code for "ENTER")
mooseboots
 
Posts: 21
Joined: Wed Sep 15, 2010 11:08 pm

Return to Intelliremote

Who is online

Users browsing this forum: No registered users and 2 guests

cron