DevonSprings Posted November 4, 2010 Posted November 4, 2010 Hi Guys, I have this bit of code... If Control 'Great Room / GR-TopOfStairs-KPL.1.1' is switched Bright Or Control 'Great Room / GR-TopOfStairs-KPL.1.1' is switched Fade Up Then Resource 'Living Room - Sonos Volume Up' Else - No Actions - (To add one, press 'Action') If you wait 5-10 seconds between keypress you can control the volume Shouldn't this be so that as you hod it, every once and a while it keeps sending the volume up???? Virtual Controllers... Devon
Michel Kohanim Posted November 4, 2010 Posted November 4, 2010 Hi DevonSprings, You might want to use Fade Up/Fade Down and Fade Stop. Also, in the Action, you have to use Repeat every second so that the resource is called every second while you are holding the button (till Fade Stop). With kind regards, Michel
DevonSprings Posted November 4, 2010 Author Posted November 4, 2010 Mitch Can you give me an example oaf how the fade stop should work? Is there someway for me to see what a button is throwing off as commands? Devon
LeeG Posted November 4, 2010 Posted November 4, 2010 Using Tools | Diagnostics | Evevt Viewer Change Level 3 – the command codes indicate the type of button press ON Command Thu 11/04/2010 09:29:04 AM : [iNST-SRX ] 02 50 14.71.3C 00.00.01 CB 11 00 LTONRR (00) OFF Command Thu 11/04/2010 09:29:10 AM : [iNST-SRX ] 02 50 14.71.3C 00.00.01 CB 13 00 LTOFFRR(00) Fast ON Thu 11/04/2010 09:29:14 AM : [iNST-SRX ] 02 50 14.71.3C 12.9F.E4 41 12 01 LTON-F (01) Fast OFF Thu 11/04/2010 09:29:20 AM : [iNST-SRX ] 02 50 14.71.3C 12.9F.E4 41 14 01 LTOFF-F(01) Start Dim UP Thu 11/04/2010 09:29:29 AM : [iNST-SRX ] 02 50 14.71.3C 00.00.01 CB 17 01 LTMCON (UP) Stop Dim Thu 11/04/2010 09:29:34 AM : [iNST-SRX ] 02 50 14.71.3C 00.00.01 CB 18 00 LTMCOFF(00) Start Dim DOWN Thu 11/04/2010 09:29:44 AM : [iNST-SRX ] 02 50 14.71.3C 00.00.01 CB 17 00 LTMCON (DOWN) Stop Dim Thu 11/04/2010 09:29:48 AM : [iNST-SRX ] 02 50 14.71.3C 00.00.01 CB 18 00 LTMCOFF(00)
Michel Kohanim Posted November 4, 2010 Posted November 4, 2010 Hi DevonSpring, LeeG has been kind enough to provide you with the INSTEON traffice for fade start/up/down/stop. Now, what you need to do is to use Fade Up (as a condition in your program) and then use Fade Stop to stop the program. With kind regards, Michel
Recommended Posts