ppitkin Posted September 16, 2013 Posted September 16, 2013 Hi all, I'm new to the ISY world so please bear with me if this is a bit of a stupid question/problem... I have a 6 button KeypadLinc Relay v.33 (2486S/WH6) which I am trying to use a a sort of master controller in my holiday home. The idea is to use the large ON/OFF buttons to set a Home/Away state and the 4 smaller buttons to control (via scenes) a number of functional elements e.g. Button A controls my howt water tanks Button B my HVACs Button C my meadia systems Button D my Fridge. The buttons A, B, C and D appear to function as they should and switch on/off the various components contained in the relevant scene. The only problem I have there is that the buttons on the Keypad link to not reflect the state of the controlled items if I swich on or off one of the OutletLincs locally. It doesn't see to be possibe to make the OutletLinc a controller within the scene. My real problem comes with the Home/Away funtionality. I considered that the way to do that was to simply write a simple program with the condition set on the state of the ON button on the KeypadLinc. my attempt is shown below.... This appears to work to some degree. The main problem is that the items contained within the scenes don't seem to switch on or off correctly. OK, shouldnt be a problem I thought, simply set the state of each individual device and don't use the scenes. This is where the issue starts to arise. In the programming interface, when I select one of the Buttons A,B,C or D it doesn't give me the option to switch it on or off. All I have in the dropdown list if s set of brightness combinations. The only button which has the ON/Off option available for selection is the ON/OFF button on the KeypadLinc (it also alows for the selection of beeps). So what am I doing wrong? what basic concept am I not understanding? Is there a better way of doing this? ---------------------------------------------------------- Code for the Home/Away function (using scenes - which doesn't function correctly/reliably): If Control 'KeypadLinc - HomeAway' is switched On And Control 'KeypadLinc - HomeAway' is not switched Off Then Set Scene 'Water heaters Control' On Wait 15 seconds Set Scene 'HVAC Control' On Wait 15 seconds Set Scene 'Fridge Control' On Wake On LAN 'SERVER' Wait 5 minutes Set 'Wall Socket Russound and Sat' On Set 'Wall Socket Red Plugs' On Wait 15 seconds Set 'Wall Socket Ent Room Media' On Set 'Wall Socket Livingroom media' On Resource 'GC_Relay1_OFF' Resource 'GC_Relay2_OFF' $HomeOrAway = 1 Else Set Scene 'Fridge Control' Off Set Scene 'HVAC Control' Off Set Scene 'Hall Lights' Off Set Scene 'Gallary Lights' Off Set Scene 'Basement Hall Lights' Off Set 'Wall Socket Russound and Sat' Off Set 'Wall Socket Red Plugs' Off Set 'Wall Socket Mezaninne F-lamp' Off Set 'Wall Socket Mez Camera' Off Set 'Wall Socket Livingroom media' Off Set 'Wall Socket Livingroom T-Lamp' Off Set 'Wall Socket Livingroom F-Lamp' Off Set 'Wall Socket Ent Room Media' Off Set 'Wall Socket Ent Room Lamp 2' Off Set 'Wall Socket Ent Room Lamp 1' Off Set 'Wall Socket Ent Room F-Lamp' Off Set 'Living Room Wall Sconces' Off Set Scene 'Upper Stairs Lights' Off Set 'Lights - Pool table' Off Set 'Lights - Office' Off Set 'Lights - Mezannine' Off Set 'Lights - Living Room ceiling' Off Set 'Lights - Garage' Off Set 'Lights - Games Room' Off Set 'Lights - Ent Room' Off Set 'Lights - Control Room (2 Min) / Lights - Control Room (Off)' On 0 / Off 0 (Backlight Level) Set 'Lights - Bedroom 3' Off Set 'Lights - Bedroom 2' Off Set 'Lights - Bedroom 1 (Master)' Off Set 'Lights - Bebroom 4' Off Set 'Lights - Bathroom 2 Mirror' Off Set 'Lights - Bathroom 2 Main' Off Set 'Lights - Bathroom 1 Mirror' Off Set 'Lights - Bathroom 1 Main' Off Set 'Floor Sockets (living Room)' Off Set 'Exterior Gabel Lights' Off Set 'Control Room S3' Off Set 'Control Room S2' Off Set 'BSLight ® Bedroom 2' Off Set 'BSLight ® Bedroom 1 (Master' Off Set 'BSLight (L) Bedroom 2' Off Set 'BSLight (L) Bedroom 1 (Master' Off Resource 'GC_Relay1_ON' Resource 'GC_Relay2_ON' $HomeOrAway = 0
LeeG Posted September 16, 2013 Posted September 16, 2013 First, is the OutletLinc a Relay or Dimmer? If an OutletLinc Relay it does not have a Controller function which means turning it on Locally will not notify the ISY of that activity. That is why it cannot be added to a Scene as a Controller because the ISY knows an OutletLinc Relay has no Controller function. Second, Secondary KeypadLinc buttons cannot be turned On/Off with Direct commands. Insteon Direct commands have no mechanism for identifying which Secondary button to control. A Secondary KeypadLinc button has to be assigned as a Responder in a Scene and the Scene turned On/Off to control a Secondary KeypadLinc button LED. Really want to go back to using a Scene to operate so many devices. A Scene will have the devices reacting essentially simultaneously. Doing the devices one at a time will take seconds before the last device reacts.
ppitkin Posted September 17, 2013 Author Posted September 17, 2013 thanks for the feedback. I have to admit I am still very confused in respect to the KeypadLinc. It can turn things on and off when I push the button - so why doesn't it allow the same function to be done by sending a command? Guess I can't change that so the question is how do I deal with it. I have created scenes where the buttons A, B C and D are each controllers in individual scenes. e.g. button A is a controller in a scene with 3 2477SA1 30 Amp load controllers each controlling a hot water tank. Push the button and the 3 units turn on and the lamp goes on on the button. Push it again and the units go off and the lamp as well. So how do I do this programatically? Could you be a bit more detailed with your explaination - remember I'm totally new at this and am finding it difficult to get a grasp of the fundamental rules on when to do what and with what mechanisum. many thanks
oberkc Posted September 17, 2013 Posted September 17, 2013 have created scenes where the buttons A, B C and D are each controllers in individual scenes. e.g. button A is a controller in a scene with 3 2477SA1 30 Amp load controllers each controlling a hot water tank.Push the button and the 3 units turn on and the lamp goes on on the button. Push it again and the units go off and the lamp as well. So how do I do this programatically? My understanding is that insteon is intended to be "scene" driven. If you already have a scene with button A and a load controller, then, rather than your program turning on individual devices, such as the water heater and button A, have your program turn on the scene which includes button A and the water heater. Same approach for the other buttons/scenes. If Control 'KeypadLinc - HomeAway' is switched On And Control 'KeypadLinc - HomeAway' is not switched Off Then set "water heater scene with button A" on set "audio system scene with button B" on etc.... else set scenes off.... Alternatively (and potentially better), you could simple create a master button scene that has main button as controller and all the other devices and secondary keypad button as responder. Taking this approach would require no program.
LeeG Posted September 17, 2013 Posted September 17, 2013 To programmatically perform the same function as pressing the A button issue In the Then clause Set Scene 'scene with button A as controller' On. This will turn On button A and the Responders defined in the Scene. Perhaps what is missing from the question is how do you want to trigger the Program. Under what conditions would the Program run and perform the same function as pressing button A.
Recommended Posts