Jump to content

Simple Programming Question


wharris

Recommended Posts

Posted

This should be simple but I can't get it to work...

 

I have a KeypadLinc and two floodlights (InlineLinc with sense). To manually turn on the floods (and disable the automatic timeout from the motion sensor) you need to send a "Fast On" to the the InlineLinc.

 

I would like to use button 5 on the KeypadLinc to initiate the Fast On command. I have created the following program but it doesn't work...

 

If

Control 'B1 - Porch / B5 - Floods Master' is switched On

Then

Set 'Flood HVAC' Fast On

Set 'Flood Master' Fast On

Else

- No Actions -

 

When I Right-Click on this program and select "Run Then" the program works as expected. The floodlights turn on and stay on. However, when I Right-Click on the program and select "Run If" or if I press the B5 button on the keypad, the floodlights do not turn on. For some reason, the If command is not being triggered when I press the B5 button.

 

I have the B5 button configured as a controller and a responder for a scene named ".Flood Master".

 

I would appreciate an answer to this problem.

 

Thanks in advance.

Posted

That program should work.

 

Check to see if ISY recognizes the button turning on when you push the button. Go to the "main" screen and highlight that button on the tree. It should show "on" or "off" as you push the button on/off on the right side panel.

 

I suspect you either have some labeling issues with the button (you have buttons confused) or you are having a communication issue between the device and ISY.

 

Also, make sure the program is "enabled" and saved.

Posted

I assume that "flood HVAC" is the inlinelinc that controls the two floodlights and that "B1-Porch/B5" is the keypad button. Is this correct? What is the device "Flood Master"? Is this the scene you reference (if so, I expected the program line to read set SCENE "flood master" on)?

 

I assume you have checked the event log to confirm receipt of the trigger condition. If not, I would. If you are receiving the trigger condition, have you checked program status (programs>>summary>>last run time) to confirm that it is running or not?

 

Assuming you are receiving the trigger condition, and the program is running, I only assume that there is something going on with one of your scenes which counteracts the effect of the program.

 

Regardless, I don't understand the purpose of your second "then" statement. Why not a more simple program:

 

If

Control 'B1 - Porch / B5 - Floods Master' is switched On

or

Control 'B1 - Porch / B5 - Floods Master' is switched Fast On

Then

Set 'Flood HVAC' Fast On

Else

- No Actions -

Posted
That program should work.

 

Check to see if ISY recognizes the button turning on when you push the button. Go to the "main" screen and highlight that button on the tree. It should show "on" or "off" as you push the button on/off on the right side panel.

 

I suspect you either have some labeling issues with the button (you have buttons confused) or you are having a communication issue between the device and ISY.

 

Also, make sure the program is "enabled" and saved.

 

Thanks for the quick response.

 

The program is enabled.

After I press the button on the KeypadLinc, I must query the KeypadLinc in order to see the change in state. For example, if the button is off, the "Current State" for the corresponding button in the Administrative panel is off. If I press the button on the KeypadLinc (to turn on), the light on the KeypadLinc button comes on but the Current State still shows that the device if off. However, if I "Query" the KeypadLinc, the Current State of the KeypadLinc button updates and shows that it is "on".

 

The program is not being triggered.

Posted
I assume that "flood HVAC" is the inlinelinc that controls the two floodlights and that "B1-Porch/B5" is the keypad button. Is this correct? What is the device "Flood Master"? Is this the scene you reference (if so, I expected the program line to read set SCENE "flood master" on)?

 

I assume you have checked the event log to confirm receipt of the trigger condition. If not, I would. If you are receiving the trigger condition, have you checked program status (programs>>summary>>last run time) to confirm that it is running or not?

 

Assuming you are receiving the trigger condition, and the program is running, I only assume that there is something going on with one of your scenes which counteracts the effect of the program.

 

Regardless, I don't understand the purpose of your second "then" statement. Why not a more simple program:

 

If

Control 'B1 - Porch / B5 - Floods Master' is switched On

or

Control 'B1 - Porch / B5 - Floods Master' is switched Fast On

Then

Set 'Flood HVAC' Fast On

Else

- No Actions -

 

 

Each floodlight has its own InlineLinc controller. (These are the controllers that come with the lights.)

 

Floodlight 1 = "Flood HVAC'

Floodlight 2 = "Flood Master'

 

I have tried using a scene to send the "Fast On" command but it does not work. You must send Fast On to each floodlight individually. To make troubleshooting easier, I have now simplified the system as follows...

 

If

Control 'KeypadLinc / Button 5' is switched On

Then

Set 'Flood Master' Fast On

 

The Button 5 button is not a "Controller For" or "Responder To" anything.

The floodlight "Flood Master" is not a "Controller For" or "Responder To" anything.

 

Pressing Button 5 does not trigger the program. In addition, I must "query" the KeypadLinc to see the change in state. This doesn't seem right. Shouldn't the ISY automatically detect actions (such as On, Off?)

I have tried various KeypadLinc switches and the ISY doesn't trigger on any of them. BTW, I have a very large Insteon / ELK installation and all of my automation is working very well. I typically use the Elk for programming but I need the ISY to control these floodlights.

 

PLM Info: 14.86.24 v92

UD99 v.2.8.16

ISY 99i/IR Pro(1050) - Open Auto DR (21010)

KeypadLinc Dimmer (2486D) v.36

Posted

Hello wharris,

 

It seems that there are no links for the KPL in your PLM and that's why you are not getting any status updates. Would you please open Event Viewer and choose Device Communications level, then turn on/off your KPL physically and note any activity. If there are no activities, please try Right Mouse click on KPL | Restore Device and retry.

 

If that does not work, then I would suspect you are way above the number of links supported by the PLM. If this works - and if feasible - do the same test on other devices that you have. If one or more are now not reporting the status, then again you have reached the maximum number of links supported by the PLM. In this case, you will need to try and combine some of your scenes to reduce the number of links.

 

With kind regards,

Michel

Posted
Hello wharris,

 

It seems that there are no links for the KPL in your PLM and that's why you are not getting any status updates. Would you please open Event Viewer and choose Device Communications level, then turn on/off your KPL physically and note any activity. If there are no activities, please try Right Mouse click on KPL | Restore Device and retry.

 

If that does not work, then I would suspect you are way above the number of links supported by the PLM. If this works - and if feasible - do the same test on other devices that you have. If one or more are now not reporting the status, then again you have reached the maximum number of links supported by the PLM. In this case, you will need to try and combine some of your scenes to reduce the number of links.

 

With kind regards,

Michel

 

Thanks for your quick efforts to assist me.

 

The event viewer does not show any activity in the "Device communications events" mode when I manually activate any of my Insteon switches. Restoring a device has no effect on the activity window. However, I do see activity when I initiate a command from the Administrative Console.

 

I currently have 73 Insteon devices and 35 scenes. Everything appears to be working normally. All of the scenes work as expected and the Elk M1 Gold initiates the scenes correctly. All of the scenes are fairly simple. I will try to attach some screen shots.

Posted
After I press the button on the KeypadLinc, I must query the KeypadLinc in order to see the change in state.

 

This is why the program isn't working. As Michel stated, you don't have links. If restoring the device doen't work, you might try removing the device entirely from ISY and the re-installing it from scratch.

Posted
After I press the button on the KeypadLinc, I must query the KeypadLinc in order to see the change in state.

 

This is why the program isn't working. As Michel stated, you don't have links. If restoring the device doen't work, you might try removing the device entirely from ISY and the re-installing it from scratch.

 

When I select "Tools / Diagnostics / Show PLM Links Table" and then click on "Start", I only see one line...

 

0000 : E2 00 00.00.00 00 00 00

 

When I press "Count" the result is "1".

 

Should the PLM Links Table show ALL of the links in the PLM?

Posted

The problem appears to be resolved.

 

I selected "File / Restore Modem (PLM)". Now, when I show the PLM Links table I see all of the links. The link count is now 30. The program works!

 

Thanks again for your assistance.

Posted
After I press the button on the KeypadLinc, I must query the KeypadLinc in order to see the change in state.

 

This is why the program isn't working. As Michel stated, you don't have links. If restoring the device doen't work, you might try removing the device entirely from ISY and the re-installing it from scratch.

 

When I select "Tools / Diagnostics / Show PLM Links Table" and then click on "Start", I only see one line...

 

0000 : E2 00 00.00.00 00 00 00

 

When I press "Count" the result is "1".

 

Should the PLM Links Table show ALL of the links in the PLM?

 

 

Yeah, that's not good.

 

You might have a dead plm? Or maybe somehow it just got scrambled and you can factory reset it and then restore the PLM.

Guest
This topic is now closed to further replies.

×
×
  • Create New...