Macros over IR, best practices
John Paul
Posts: 143
Hey
is there a best way to send two of three IR commands together, like for example choosing a favorite TV channel , i will have to press channel 1,2,3,4 .
I tried do_push but the pulse time gets it doing weird things, then i tried setting the pulse and then doing the pulse for every channel
is there an alternate way to acheive this
is there a best way to send two of three IR commands together, like for example choosing a favorite TV channel , i will have to press channel 1,2,3,4 .
I tried do_push but the pulse time gets it doing weird things, then i tried setting the pulse and then doing the pulse for every channel
is there an alternate way to acheive this
0
Comments
I wrote a little module for this a while back and have used it ever since. It uses a timeline and you set it in motion with a command to it. the command contains the channel desired and then the delay and pulse time for the numbers. The command structure is:
CH=123:200:400:15
Channel=123 Pulse time is 2 ticks, delay between pulses is 4 ticks. Device ID is 15. The Device DEV is passed into the module in the DEFINE_MODULE section.
but Eric, so in the command structure u also give the channel nos for 123, like for the channel 1, the ir channel no might be 21 and your tp button channel no is also the same, how do u put that up in the the function
Guess ur passing the channel no as the first parameter, got that resolved.
But i am using a dreambox 8000, some fav channels work on different pulse and waits in between so guess creating a timeline function makes a lot of sense
I try to keep all my ir files arranged in such a way that the Remotes channel functions are always on the same channels. AMX has done this with there files since dinosaurs roamed the Earth. The standard is that IR remote #1 is almost always channel 11, #2 is 12, #3 is 13, and so on.
This is the greatest example of why button arrays are your best friend.
http://www.amxforums.com/showthread.php?t=1365
http://www.amxforums.com/showthread.php?t=3552
http://www.amxforums.com/showthread.php?t=352
http://www.amxforums.com/showthread.php?t=1314
http://www.amxforums.com/showthread.php?t=3268&page=3
--John