Jump to content

Simplest programs won't run


Go to solution Solved by Geddy,

Recommended Posts

Posted

New Eisy.. I have had it for a while but just trying to use it for Z-wave (moving away from insteon).  I have used isy-99 for years.   Can't get the simplest of program to run.

Program 1: (Doesn't work)
If Pantry Door open (Elk Zone)

Then Turn Pantry Light On (Z-wave Switch)

If I watch Event Viewer I see the Elk Zone change to open when I open the door.

I can turn the pantry light on and off with Admin Console.

If I open the door and run "if" in the program nothing shows in the event viewer

Program 2: (Works)

I have another program that works ok.

If hall PIR  (Elk Zone) violated

Then dim Powder Room Light 50% (Z-wave Dimmer)

I have tried ever resetting everything I can think of.............

 

Posted

@Me2 please post the actual program that doesn’t work…right click on the program and select “COPY to clipboard” and paste it into your reply. 

I’m not familiar with the Elk plugin, but it seems that you might be using control rather than status, but depends on how the zone change is handled by the plugin and IoX. 

On the program that doesn’t work right click and select “Run Then”. Does the light turn on? If so then the IF needs to be edited. 

Posted

New Program - [ID 0005][Parent 0001]

If
        'Home / Pantry Door' Physical Status is Open
 
Then
        Set 'Pantry Light' On
 
Else
   - No Actions - (To add one, press 'Action')
 

On the program that doesn’t work right click and select “Run Then”.  Does not turn light on.

Posted
1 hour ago, Me2 said:

On the program that doesn’t work right click and select “Run Then”.  Does not turn light on.

Thanks for posting and confirming that "THEN" does indeed turn the light on. Seems like might be something with the ELK plugin. Perhaps others with experience with ELK can chime in with assistance.

What are other statuses of the Elk "Pantry Door"? If you leave the door open does the admin console show status "Open"? Or does it indicate a different status? 

Posted (edited)

If
        'Home / Pantry Door' Physical Status is Open

 

Your are using physical status for triggering the program. For the fun of it, try changing your IF portion to use the logical status. It should be the first item in the drop down list.

If
        'Home / Pantry Door' Logical Status is Violated

Edited by DennisC
spelling
  • Like 1
Posted
47 minutes ago, Geddy said:

Thanks for posting and confirming that "THEN" does indeed turn the light on. Seems like might be something with the ELK plugin. Perhaps others with experience with ELK can chime in with assistance.

What are other statuses of the Elk "Pantry Door"? If you leave the door open does the admin console show status "Open"? Or does it indicate a different status? 

Running The THEN doesn't turn the light on.  And I do not see the "run then" in the "event verier"....

If I open the door the status changes yo "open"....

Posted
19 minutes ago, DennisC said:

If
        'Home / Pantry Door' Physical Status is Open

 

Your are using physical status for triggering the program. For the fun of it, try changing your IF portion to use the logical status. It should be the first item in the drop down list.

If
        'Home / Pantry Door' Logical Status is Violated

I have tried both "physical and Logical". Neither work.

Posted

I installed another z-wave switch just now:

Program.........

3-4 Stair Light - [ID 0002][Parent 0001]

If
        'Home / Greenroom Door' Logical Status is Violated
 
Then
        Set '3-4 Stair Light' On
        Wait  5 minutes
        Set '3-4 Stair Light' Off
 
Else
   - No Actions - (To add one, press 'Action')
This doesn't work neither.  I can turn '3-4 Stair Light' off/on from admin console.  If I "run then" it doesn't do anything.  I do not set any action in the "event viewer".  

 

Posted

Let's take a step back and check some basic's.

First, reboot your eisy. Wait at least 15-20 minutes and then open the event viewer and set to level 3. Then open your pantry door (leave door open) and check what shows up in the event viewer while set to level 3. 

Next, right click your program and select Status. The status window will open and the appropriate line will be highlighted. 

What does it say for status, last run time, & last finish time.

Posted

Let's also rule out an issue with the Elk Plugin.

Open PG3x, go to Elk Dashboard, Details, Log - set log level to debug.

Open pantry door and leave it open while you check the log. Did the log show up as violated?

Close the pantry door and check the log to see if the zone return to normal.

There is a check box you can uncheck to prevent the log from scrolling if you are getting a lot of log entries. It is called Autoscroll.

Posted

Elapsed 00:00:12.486 : Loading Variables
Elapsed 00:00:12.815 : Loading Node Definitions
Elapsed 00:00:13.626 : Loading Nodes
Elapsed 00:00:13.719 : Creating Widgets
Elapsed 00:00:15.760 : Creating Widgets Complete
Fri 08/30/2024 03:16:00 PM : Starting Subscription
Fri 08/30/2024 03:16:01 PM : Completing initialization
Fri 08/30/2024 03:16:01 PM : Refreshing Status
Fri 08/30/2024 03:16:01 PM : Refreshing Views
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_zone_181] [ST] [2] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_zone_181   ]       ST   2 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_area_1] [GV8] [181] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_area_1     ]      GV8 181 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_zone_181] [DON] [0] uom=0 prec=-1
Fri 08/30/2024 03:16:46 PM : [n001_zone_181   ]      DON   0
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_area_1] [GV3] [1] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_area_1     ]      GV3   1 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_zone_181] [GV0] [1] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_zone_181   ]      GV0   1 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D-CMP 0005] STS [n001_zone_181] GV0 op=1 Event(val=1 uom=25 prec=0) is Condition(val=1 uom=25 prec=0) --> true
Fri 08/30/2024 03:17:28 PM : [D2D EVENT       ] Event [n001_zone_15] [CLITEMP] [80] uom=17 prec=0
Fri 08/30/2024 03:17:28 PM : [n001_zone_15    ]  CLITEMP  80 (uom=17 prec=0)
Fri 08/30/2024 03:17:39 PM : Create REST U7 [/rest/profiles/ns/1/connection]
Fri 08/30/2024 03:17:39 PM : Create REST U7 [/rest/profiles/ns/0/connection]

.....................................................................

Status of Program

Pantry Light         on      idle    false

Posted
7 minutes ago, DennisC said:

Let's also rule out an issue with the Elk Plugin.

Open PG3x, go to Elk Dashboard, Details, Log - set log level to debug.

Open pantry door and leave it open while you check the log. Did the log show up as violated?

Close the pantry door and check the log to see if the zone return to normal.

There is a check box you can uncheck to prevent the log from scrolling if you are getting a lot of log entries. It is called Autoscroll.

 
INFO BaseNode:set_driver: area_1:Home: set_driver(GV3,0) 'Violated Count' = 0
2024-08-30 15:24:10.531 ELK-4280 udi_interface DEBUG BaseNode:set_driver: area_1:Home: GV4,1 default=None force=False,report=True
2024-08-30 15:24:10.531 ELK-4280 udi_interface DEBUG Zone:_set_physical_status: zone_181:Pantry Door: val=ZonePhysicalStatus.SHORT current=ZonePhysicalStatus.OPEN force=False reportCmd=True
2024-08-30 15:24:10.531 ELK-4280 udi_interface INFO Zone:_set_physical_status: zone_181:Pantry Door: son=1 soff=2
2024-08-30 15:24:10.531 ELK-4280 udi_interface DEBUG BaseNode:set_driver: zone_181:Pantry Door: GV0,ZonePhysicalStatus.SHORT default=None force=False,report=True
2024-08-30 15:24:10.531 ELK-4280 udi_interface.node DEBUG node:setDriver: zone_181:Pantry Door Reporting set GV0 to 3 to Polyglot
2024-08-30 15:24:10.532 ELK-4280 udi_interface.node DEBUG node:reportDriver: Updating value to 3
2024-08-30 15:24:10.532 ELK-4280 udi_interface INFO BaseNode:set_driver: zone_181:Pantry Door: set_driver(GV0,3) 'Physical Status' = 'SHORT'
Posted
11 minutes ago, Me2 said:

Elapsed 00:00:12.486 : Loading Variables
Elapsed 00:00:12.815 : Loading Node Definitions
Elapsed 00:00:13.626 : Loading Nodes
Elapsed 00:00:13.719 : Creating Widgets
Elapsed 00:00:15.760 : Creating Widgets Complete
Fri 08/30/2024 03:16:00 PM : Starting Subscription
Fri 08/30/2024 03:16:01 PM : Completing initialization
Fri 08/30/2024 03:16:01 PM : Refreshing Status
Fri 08/30/2024 03:16:01 PM : Refreshing Views
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_zone_181] [ST] [2] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_zone_181   ]       ST   2 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_area_1] [GV8] [181] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_area_1     ]      GV8 181 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_zone_181] [DON] [0] uom=0 prec=-1
Fri 08/30/2024 03:16:46 PM : [n001_zone_181   ]      DON   0
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_area_1] [GV3] [1] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_area_1     ]      GV3   1 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D EVENT       ] Event [n001_zone_181] [GV0] [1] uom=25 prec=0
Fri 08/30/2024 03:16:46 PM : [n001_zone_181   ]      GV0   1 (uom=25 prec=0)
Fri 08/30/2024 03:16:46 PM : [D2D-CMP 0005] STS [n001_zone_181] GV0 op=1 Event(val=1 uom=25 prec=0) is Condition(val=1 uom=25 prec=0) --> true
Fri 08/30/2024 03:17:28 PM : [D2D EVENT       ] Event [n001_zone_15] [CLITEMP] [80] uom=17 prec=0
Fri 08/30/2024 03:17:28 PM : [n001_zone_15    ]  CLITEMP  80 (uom=17 prec=0)
Fri 08/30/2024 03:17:39 PM : Create REST U7 [/rest/profiles/ns/1/connection]
Fri 08/30/2024 03:17:39 PM : Create REST U7 [/rest/profiles/ns/0/connection]

.....................................................................

Status of Program

Pantry Light         on      idle    false

Status shows Pantry Light on - did the light turn on for you? 

If not, you may be having a communications issue. Zwave is a mesh system, how many devices do you have installed?

Posted
6 minutes ago, Me2 said:
 
INFO BaseNode:set_driver: area_1:Home: set_driver(GV3,0) 'Violated Count' = 0
2024-08-30 15:24:10.531 ELK-4280 udi_interface DEBUG BaseNode:set_driver: area_1:Home: GV4,1 default=None force=False,report=True
2024-08-30 15:24:10.531 ELK-4280 udi_interface DEBUG Zone:_set_physical_status: zone_181:Pantry Door: val=ZonePhysicalStatus.SHORT current=ZonePhysicalStatus.OPEN force=False reportCmd=True
2024-08-30 15:24:10.531 ELK-4280 udi_interface INFO Zone:_set_physical_status: zone_181:Pantry Door: son=1 soff=2
2024-08-30 15:24:10.531 ELK-4280 udi_interface DEBUG BaseNode:set_driver: zone_181:Pantry Door: GV0,ZonePhysicalStatus.SHORT default=None force=False,report=True
2024-08-30 15:24:10.531 ELK-4280 udi_interface.node DEBUG node:setDriver: zone_181:Pantry Door Reporting set GV0 to 3 to Polyglot
2024-08-30 15:24:10.532 ELK-4280 udi_interface.node DEBUG node:reportDriver: Updating value to 3
2024-08-30 15:24:10.532 ELK-4280 udi_interface INFO BaseNode:set_driver: zone_181:Pantry Door: set_driver(GV0,3) 'Physical Status' = 'SHORT'

Looks to me like the Plugin is working correctly.

Posted
1 minute ago, DennisC said:

Status shows Pantry Light on - did the light turn on for you? 

If not, you may be having a communications issue. Zwave is a mesh system, how many devices do you have installed?

The light does not turn on.  I have 3 devices installed so far.

From the admin console the on/off of this device works 100% of the times.

Posted
4 minutes ago, Me2 said:

The light does not turn on.  I have 3 devices installed so far.

From the admin console the on/off of this device works 100% of the times.

From what you posted above, the status said on.

Try it again, right click on program and check status, last run time, and last finish time.

Posted

Pantry Light - [ID 0005][Parent 0001]

If
        'Home / Pantry Door' Physical Status is Open
 
Then
        Set 'Pantry Light' On
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Posted

Pantry Light - [ID 0005][Parent 0001]

If
        'Home / Pantry Door' Physical Status is Open
 
Then
        Set 'Pantry Light' On
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Posted (edited)

Try again using Logical Status. Then right click and check status, last run time, and last finish time.

Make sure you leave door open while checking status.

Edited by DennisC
Posted
2 hours ago, Me2 said:

Running The THEN doesn't turn the light on.  And I do not see the "run then" in the "event verier"....

uh oh! I misread your earlier post then. Sorry. Was doing too many different things this morning. 

If the light isn't turning on when you just "RUN THEN" the problem is controlling that device...with that program. Can you control the device in the admin console directly?

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...