Jump to content

Recommended Posts

Posted

I'm just curious how you do a "if" situation???

If light is off leave it off if light is on turn down to 20%  ?

Everything else I know how to do it in a scene

Posted
24 minutes ago, Andi-Ina said:

If light is off leave it off if light is on turn down to 20%  ?

If your desire, in response to toggling a switch ON, is to leave off switches that are off and turn those that are on to a set percentage, then you would need a program.  It would probably take multiple programs, actually.

 

Posted

That is what I thought.

I'm familiar with programming but just not familiar with the universal devices. Just can't get a program to work that's my big problem right now

Posted

Based off what you said earlier, all that you wanted can be done with scenes. What you are saying now will require multiple programs and variables. 

 I would check the wiki on how variables work and start there. 

One thing I've found with programming these systems is the more detailed you want things, the overly complicated they become which leads to a less than ideal setup. Speed suffers (due to programs) and sometimes commands get missed. Some people prefer programs while I prefer scenes with programs enhancing those scenes. Not knowing full scale exactly what you're trying to accomplish makes helping futile as no one can tell you the best way.

 

 

Posted
1 hour ago, Andi-Ina said:

Updated to 5.0.15A with both firmware and ui

to match them

OK, then.  Thanks for saying so.

I think of the problems as having multiple potential causes.  The trick is to narrow it down to the root cause.  Disregarding device failure:

- is the keypad not communicating with the ISY/PLM?  This would be determined by toggling the keypad button from ON>>OFF>>ON and verifying from the ISY admin panel that the ISY is seeing these events.  If not, you have a potential communication problem.

- is the ISY seeing the event, but the program is not triggering?  If so, there is a program problem.  (Disabled?  Not coded correctly?)  Confirm from the ISY admin panel, programs listing, that the program is responding to the switch as expected.

- is the program triggering, but the actions are not carried out?  Manually run the "THEN" action.  Does it work?  If not, either a coding problem, or a communication problem.

One easy thing to try is to "restore" each device, both keypads and responder devices.  See if that solves the problem

Or, you can call UDI.

Regardless, please specifically confirm the things you try if you want good feedback from here.

Posted
5 minutes ago, oberkc said:

is the keypad not communicating with the ISY/PLM?  This would be determined by toggling the keypad button from ON>>OFF>>ON and verifying from the ISY admin panel that the ISY is seeing these events.  If not, you have a potential communication problem.

Yes it's shown as on when the switch is on.

And off when the device is off.

I checked that.

 

8 minutes ago, oberkc said:

s the ISY seeing the event, but the program is not triggering?  If so, there is a program problem.  (Disabled?  Not coded correctly?)  Confirm from the ISY admin panel, programs listing, that the program is responding to the switch as expected.

- is the program triggering, but the actions are not carried out?  Manually run the "THEN" action.  Does it work?  If not, either a coding problem, or a communication problem.

Yes seeing the event but not triggering is what's happening!

It is enabled and if I press "then" it is carried out correctly as programmed.

But going to the pfisicaly switch and pressing it does not do any action to the lights neither to the program showing any response.

Deleted the switches and reinstalled them with no chage.

Posted

Keep in mind that your program (the original one, at least) would (or should) trigger your program only when the "light 1" is physically turned on at the switch.  Turning it OFF will not trigger the program, nor would turning it ON or OFF from the admin panel.  To be sure, manually turning the "light 1" ON does nothing!?  

My next step would be to open the event viewer, then manually turn on "light 1".  Does the event viewer register the command?

One thing I would try is to manually RUN>IF on your program (with the switch ON).  Does your program execute the action to the lights as expected?

I noticed, too, in one of your earlier posts, that you did not save some changes to your program (little green arrow next to your test program).  Make sure you save changes, otherwise, it may not work as you expected.

Also, put some action in the THEN clause (even if only a wait).  I am not sure whether this is the case, but I recall some instance where programs without clauses may not run (very possible I am mistaken here.)

Posted

Check, too, your program list.  Toggle the light1 switch ON and confirm whether the program list is updated to show last run time for your program to correspond to the toggling of the switch.  Does it show it ran TRUE or FALSE?

Posted
4 minutes ago, oberkc said:

Keep in mind that your program (the original one, at least) would (or should) trigger your program only when the "light 1" is physically turned on at the switch.  Turning it OFF will not trigger the program, nor would turning it ON or OFF from the admin panel.  To be sure, manually turning the "light 1" ON does nothing!?  

Yes that is correct. Manually turning g it on does nothing.

 

6 minutes ago, oberkc said:

One thing I would try is to manually RUN>IF on your program (with the switch ON).  Does your program execute the action to the lights as expected?

No nothing happens 

 

7 minutes ago, oberkc said:

Keep in mind that your program (the original one, at least) would (or should) trigger your program only when the "light 1" is physically turned on at the switch.  Turning it OFF will not trigger the program, nor would turning it ON or OFF from the admin panel.  To be sure, manually turning the "light 1" ON does nothing!?  

My next step would be to open the event viewer, then manually turn on "light 1".  Does the event viewer register the command?

One thing I would try is to manually RUN>IF on your program (with the switch ON).  Does your program execute the action to the lights as expected?

I noticed, too, in one of your earlier posts, that you did not save some changes to your program (little green arrow next to your test program).  Make sure you save changes, otherwise, it may not work as you expected.

I press save changes on the left bottom 

And restarted the isy and it was there when I restarted. I did not see a green arrow.

10 minutes ago, oberkc said:

Also, put some action in the THEN clause (even if only a wait).  I am not sure whether this is the case, but I recall some instance where programs without clauses may not run (very possible I am mistaken here.)

Ok I'll try that

Posted
8 minutes ago, oberkc said:

Check, too, your program list.  Toggle the light1 switch ON and confirm whether the program list is updated to show last run time for your program to correspond to the toggling of the switch.  Does it show it ran TRUE or FALSE?

It shows false wenn I looked at it but when I fisicaly touch the switch it does still show false but if I press "then" it shows last run and a date

Posted

If you have deleted the device and relinked it again to ISY your program may not be connected to the actual trigger device now. This has happened to me many times doing this. The program will list the right device name but the underlying code will not match anything.

View the program in the admin console. Click on each program line in the If section and see the boxes fill in below. Then click "Update". Repeat this for each line and once done, click "Save". Test  again.

Also, if your switch 2 is not responding, it may be the one missing a link and needs to have a "Restore" also as oberkc suggested above.

Posted
9 hours ago, Andi-Ina said:

It shows false wenn I looked at it but when I fisicaly touch the switch it does still show false but if I press "then" it shows last run and a date

Shows FALSE!?  The original program should NEVER run false, unless manually commanded to run the ELSE path from admin console.  When you ran "then", you are forcing it to run the THEN path and the program should then show TRUE.  Also, your light2 should go to 20%.  Is this what happened?  Is the admin console still registering the accurate state of the switch1?  Did you ever open the event viewer to confirm the switch commands were being received?

10 hours ago, Andi-Ina said:

And restarted the isy and it was there when I restarted. I did not see a green arrow.

I don't understand.  What was there when you restarted?  You did not see a green arrow?   

Definitely try Larryllix' suggestion.

Posted
12 hours ago, larryllix said:

View the program in the admin console. Click on each program line in the If section and see the boxes fill in below. Then click "Update". Repeat this for each line and once done, click "Save". Test  again.

Did that and also made a new program and no chage

 

13 hours ago, oberkc said:

Check, too, your program list.  Toggle the light1 switch ON and confirm whether the program list is updated to show last run time for your program to correspond to the toggling of the switch.  Does it show it ran TRUE or FALSE?

There is no reaction on the program when i touch the physical switch. Only on the main page it shows that the light is on or off 

 

14 hours ago, oberkc said:

My next step would be to open the event viewer, then manually turn on "light 1".  Does the event viewer register the command?

No reaction on the event viewer by physically pressing the switch. Event viewer only shows if i press on or off in the program.

 

 

3 hours ago, oberkc said:

I don't understand.  What was there when you restarted?

I checked if the program was saved and yes after restart the program i saved was still there

 

Pictures show my simple program than i go over to summery and it shows false than i press "then'' and the light goes on to 20% the switch 2 on the main page shows 20% but no reaction in event viewer 

Capture4.JPG

Capture5.JPG

Capture6.JPG

Posted

It works with the scene. Why don't you use that vs fighting trying to make it work. You could even add your other devices to it so that all devices respond together and go to ther their proper states in sync vs 1 at a time

Posted

Can you turn your "detailed status icons" on. Your screen shots are  not showing  status by the colours indicated.

So far I understand from your posts of screenshots and your comments. Are these correct?
-your program is functioning fine,
-lights dim to 20%,
-Last Run Time is showing activity correctly in the Summary Tab,
-only the Event Viewer does not display activity from the Switch control paddle.

Is your event viewer set to display Level 3?


If you right click on your program and select "Status Icons | Detailed" your icons will then also indicate full status.

Posted

Hey lilyoyo1

Please look at the attached picture

 

If you could explain to me how to program my "if situation" in a scene then i would gladly do that but as of right now i don't know how to leave lights off if they are not on or turn them down if thy happend to be on.

This is not for my living room bty i volunteer for a roll play where 300-400 people are watching i need a solution that does 100% what i need. I can not live with something close enough

Capture8.JPG

Posted
13 minutes ago, larryllix said:

-Last Run Time is showing activity correctly in the Summary Tab,

only if tested on computer not correct if physically pressing the switch

11 minutes ago, larryllix said:

-your program is functioning fine,
-lights dim to 20%,

only if i press "then" it does what its suppose to do if i press the physical switch nothing happens.

 

15 minutes ago, larryllix said:

Is your event viewer set to display Level 3?

yes

and i tried all 4 levels with no result 

Posted
23 minutes ago, Andi-Ina said:

Hey lilyoyo1

Please look at the attached picture

 

If you could explain to me how to program my "if situation" in a scene then i would gladly do that but as of right now i don't know how to leave lights off if they are not on or turn them down if thy happend to be on.

This is not for my living room bty i volunteer for a roll play where 300-400 people are watching i need a solution that does 100% what i need. I can not live with something close enough

Capture8.JPG

The way I program is I put all of my devices in 1 scene set to the levels that I want and then control that scene. I don't like devices changing 1 at a time so I try to minimize that by grouping them together in scenes.

There are multiple ways to set up what you are trying to do. The best way depends on how many devices are involved, how often they are changing and you want them to change etc. Variables are most likely the best way (as well as what you need depending on the detail).

At a basic level (for simplicity) you would simply use the status of your device (if it's supposed to happen automatically)

you could set up a scene with 4 switches. Switches 1 and 2 @20% while switches 3 and 4 are set to off. 

You could then say: if status of switch 5 is on and switch 6 is off then turn scene on. 

In a dynamic situation (which yours sounds like) you'll probably need multiple programs and the use of variables

 

Posted
1 hour ago, Andi-Ina said:

only if tested on computer not correct if physically pressing the switch

I had a similar issue with an old insteon paddle switch that was not a dual comm switch, it was power line only. What is the exact model number of your "Switch1" switch?  Have you tried the same program on a different model insteon switch just to eliminate all but the existing switch as the issue? 

Posted

Good news I deleted everything of my ISY and installed just 4 switches and made a program for them and it works. yay

So i had a bug somewhere i guess or a broken switch . Now i have to link all switches one at the time and see if it keeps working.

 

And next i have to find out how to program a "IF" situation. If someone has some tips or can direct me to a video or forum thread would be much appreciated.

 

Thank you everyone for your help and input 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...