Jump to content

Using "Set scene 'xxxxxx' query" expected result


lpollis

Recommended Posts

What would the expected result be when this program runs? Both buttons on the keypad are on but the status in the admin console shows off. The admin console will come out-of-sync with the buttons on occasion. How can I get the real current status of these buttons if the program below does not return the correct (actual) status.

I can cycle the buttons and then the status in the admin console will show on.

I really have two issues (well more than that with the reliability of running the irrigation system)

   1) The admin console or ISY losing the status (or coming out-of-sync) of these buttons.

   2) The inability to 'reset' or 're-sync' the actual status of these buttons.

Communications does not seem to be the problem. Given the reliability (or lack thereof) of the ISY994i.IR Pro, is there another alternative available? I have switched from HouseLinc and it never had these issues. (It had other problems including lack of ongoing support but the Events I had programmed worked!)

 

BTW, the scene definitions look like this:

 

Irrigation Time 10 Min

    KpIrr D IrrigationTime 10 Min

 

Irrigation Schedule Enable

    KpIrr G Enable Schedule

 

The Program to check the actual status:

 

Query On Buttons Copy - [iD 0035][Parent 000A]
If
        Time is  5:45:00AM
     Or Time is  5:45:00PM
 
Then
        Set Scene 'Irrigation Schedule Enable' Query
        Set Scene 'Irrigation Time 10 Min' Query
 
Else
   - No Actions - (To add one, press 'Action')

 
 

Link to comment

Sorry, bad suggestion.

 

The Set Scene 'kplbuttonx'   Query/On/Off/ etc does not return device information so the Program is not accomplishing anything.

 

Change the Scene device to the KPL primary button.  It is okay for it to be a Responder in the Scene.  This will Query the KPL.

 

Here is event trace when Program runs that is querying Primary button

 

Thu 09/24/2015 02:06:36 PM : [        Time] 14:06:32 2(0)
Thu 09/24/2015 02:06:36 PM : [iNST-TX-I1  ] 02 62 33 14 C5 0F 19 00
Thu 09/24/2015 02:06:36 PM : [iNST-ACK    ] 02 62 33.14.C5 0F 19 00 06          LTSREQ (LIGHT)
Thu 09/24/2015 02:06:36 PM : [iNST-SRX    ] 02 50 33.14.C5 22.80.0B 2B 05 00           (00)
Thu 09/24/2015 02:06:36 PM : [std-Direct Ack] 33.14.C5-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Thu 09/24/2015 02:06:36 PM : [iNST-TX-I2CS] 02 62 33 14 C5 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 02:06:36 PM : [iNST-ACK    ] 02 62 33.14.C5 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 02:06:37 PM : [iNST-SRX    ] 02 50 33.14.C5 22.80.0B 2B 2E 00           (00)
Thu 09/24/2015 02:06:37 PM : [std-Direct Ack] 33.14.C5-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Thu 09/24/2015 02:06:37 PM : [iNST-ERX    ] 02 51 33 14 C5 22 80 0B 11 2E 00 01 01 00 00 20 20 1C FE 05 00 08 00 00 00 
Thu 09/24/2015 02:06:37 PM : [Ext-Direct  ] 33.14.C5-->ISY/PLM Group=0, Max Hops=1, Hops Left=0
 
The Blue 0x08 is showing button D of 8 button KPL is On
 
 
 
QueryKPLScene - [iD 0099][Parent 0001]
 
If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Set Scene 'SceneKPL2Primary' Query
 
Else
   - No Actions - (To add one, press 'Action')
 
 
Edited by LeeG
Link to comment

My last post handles getting the KPL buttons resync'ed using Primary button for Query.

 

Now run Tools | Diagnostics | Event Viewer at LEVEL 3 with the new Scenes querying the Primary buttons of the KPLs.  Right click Program name and select Run Then.  This will show the comm at this point in the day.  It sounds like comm is either marginal all the time or there is something causing interference at those times of the day. 

Edited by LeeG
Link to comment

So this line means that buttons D and H are on?

 

Thu 09/24/2015 13:45:03 : [iNST-ERX    ] 02 51 39 7C DD 34 E7 21 13 2E 00 01 01 00 00 20 20 1F FF 05 00 88 00 00 00

 

Except that it did not set the status in the ISY/Admin Console. If that is what it is supposed to do.

 

Edit:

But I changed the program to:

Query On Buttons - [iD 0034][Parent 000A]

If
        Time is  5:45:00AM
     Or Time is  5:45:00PM
 Then
        Set 'KpIrr A Zone 1' Query
 Else
   - No Actions - (To add one, press 'Action')

and that worked.

 

Edited by lpollis
Link to comment

Good evaluation of the KPL button states byte, buttons D (0x08) and button H (0x80) are On.

 

I would have expected the Admin Console status to be updated.   I'll do some testing here.  Suggest ending and restarting Admin Console.   It is not designed to run for long periods of time.   If the subscription is dropped from the router the state information is not updated in the display even though the ISY has the correct information.

 

What ISY Firmware and UI is being used.

Link to comment

See the attached...

BTW, is there a way to simply copy an image to the edit window? I get it inserted but when I post it says that the image with that extension is not allowed. And this is just a snip from the snipping tool, copied to the clipboard and then pasted into the window.

post-19-0-56472300-1443123342_thumb.gif

Link to comment

Try clicking the More Reply Options button to go to the editor where the file may be selected.  I'm not familiar with all the supported file types.   

 

I have tested the Set Scene ..... Query and it does update the Admin Console Status of the Secondary buttons..  I manually linked a device to the KPL button so I could change the button state without the Admin Console being aware.  Then ran the Set Scene ..... Query which updated the Admin Console status for that button whether On or Off.

 

Suggest either moving the ISY to 4.3.18 or use the 3.2.30 Admin Console.   I always worry when the ISY and the Admin Console are not at the same level.

 

Would still like to see a LEVEL 3 trace of activity to the KPL.   There is a Copy to Clipboard button at the bottom of the event trace window.   Simply copy to clipboard and paste into post.

Link to comment

After Upgrading both the ISY994i and the admin console

 

Via Scene:

Thu 09/24/2015 15:19:58 : [MOD  2  2  1 33] 470000.000000  Weather - Humidity Tomorrow = 47 %
Thu 09/24/2015 15:19:58 : [MOD  2  2  1 35] 90000.000000  Weather - Gust Speed Tomorrow = 9 mph
Thu 09/24/2015 15:24:47 : [        Time] 15:24:47 0(0)
Thu 09/24/2015 15:24:47 : [iNST-TX-I1  ] 02 62 39 7C DD 0F 19 00
Thu 09/24/2015 15:24:47 : [iNST-ACK    ] 02 62 39.7C.DD 0F 19 00 06          LTSREQ (LIGHT)
Thu 09/24/2015 15:24:47 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 21 00           (00)
Thu 09/24/2015 15:24:47 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:24:47 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:24:47 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:24:48 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 2E 00           (00)
Thu 09/24/2015 15:24:48 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:24:48 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 23 2E 00           (00)
Thu 09/24/2015 15:24:48 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=0
Thu 09/24/2015 15:24:56 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:24:56 : CLI-HAMW: Successfully Processed HAMW Response
Thu 09/24/2015 15:24:56 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:24:57 : CLI-HAMW: Successfully Processed HAMW Response
Thu 09/24/2015 15:24:57 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:24:57 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:24:57 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:24:57 : CLI-HAMW: Successfully Processed HAMW Response
Thu 09/24/2015 15:24:57 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 2E 00           (00)
Thu 09/24/2015 15:24:57 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:24:59 : [iNST-ERX    ] 02 51 39 7C DD 34 E7 21 13 2E 00 01 01 00 00 20 20 1F FF 05 00 88 00 00 00
Thu 09/24/2015 15:24:59 : [Ext-Direct  ] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=0

 

Via Button A

Thu 09/24/2015 15:28:41 : [        Time] 15:28:41 0(0)
Thu 09/24/2015 15:28:41 : [iNST-TX-I1  ] 02 62 39 7C DD 0F 19 00
Thu 09/24/2015 15:28:41 : [iNST-ACK    ] 02 62 39.7C.DD 0F 19 00 06          LTSREQ (LIGHT)
Thu 09/24/2015 15:28:41 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 21 00           (00)
Thu 09/24/2015 15:28:41 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:28:41 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:28:41 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:28:50 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:28:50 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:28:51 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 2B 2E 00           (00)
Thu 09/24/2015 15:28:51 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Thu 09/24/2015 15:29:00 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:29:00 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:29:01 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 2E 00           (00)
Thu 09/24/2015 15:29:01 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:29:05 : [D2D EVENT   ] Event [39 7C DD 4] [sT] [0] uom=0 prec=-1
Thu 09/24/2015 15:29:05 : [  39 7C DD 4]       ST   0
Thu 09/24/2015 15:29:05 : [D2D-CMP 0032] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0031] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 002B] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 002A] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 001D] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0018] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0016] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0014] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0010] STS [39 7C DD 4] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D EVENT   ] Event [39 7C DD 8] [sT] [0] uom=0 prec=-1
Thu 09/24/2015 15:29:05 : [  39 7C DD 8]       ST   0
Thu 09/24/2015 15:29:05 : [D2D-CMP 0031] STS [39 7C DD 8] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 001D] STS [39 7C DD 8] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 001C] STS [39 7C DD 8] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0019] STS [39 7C DD 8] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 001B] STS [39 7C DD 8] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:05 : [D2D-CMP 0008] STS [39 7C DD 8] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Thu 09/24/2015 15:29:56 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:29:56 : CLI-HAMW: Successfully Processed HAMW Response
Thu 09/24/2015 15:29:56 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:29:56 : CLI-HAMW: Successfully Processed HAMW Response
Thu 09/24/2015 15:29:56 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:29:57 : CLI-HAMW: Successfully Processed HAMW Response



 

Edited by lpollis
Link to comment

Thanks for the trace, it was very helpful.

 

There is a comm problem with 39.7C.DD.  The Hops Left count is both low and changing over short periods of time.  One of the command attempts got no response from device..

 

Thu 09/24/2015 15:24:57 : CLI-HAMW: Connecting to api.aerisapi.com
Thu 09/24/2015 15:24:57 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:24:57 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:24:57 : CLI-HAMW: Successfully Processed HAMW Response
Thu 09/24/2015 15:24:57 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 2E 00           (00)
Thu 09/24/2015 15:24:57 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:24:59 : [iNST-ERX    ] 02 51 39 7C DD 34 E7 21 13 2E 00 01 01 00 00 20 20 1F FF 05 00 88 00 00 00
Thu 09/24/2015 15:24:59 : [Ext-Direct  ] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=0 - cannot get worse and work

 

Via Button A

 

Thu 09/24/2015 15:28:41 : [        Time] 15:28:41 0(0)
Thu 09/24/2015 15:28:41 : [iNST-TX-I1  ] 02 62 39 7C DD 0F 19 00
Thu 09/24/2015 15:28:41 : [iNST-ACK    ] 02 62 39.7C.DD 0F 19 00 06          LTSREQ (LIGHT)
Thu 09/24/2015 15:28:41 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 21 00           (00)
Thu 09/24/2015 15:28:41 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:28:41 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:28:41 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00) - NO RESPONSE FROM DEVICE
Thu 09/24/2015 15:28:50 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:28:50 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:28:51 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 2B 2E 00           (00)
Thu 09/24/2015 15:28:51 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Thu 09/24/2015 15:29:00 : [iNST-TX-I2CS] 02 62 39 7C DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1
Thu 09/24/2015 15:29:00 : [iNST-ACK    ] 02 62 39.7C.DD 1F 2E 00 01 00 00 00 00 00 00 00 00 00 00 00 00 D1 06        (00)
Thu 09/24/2015 15:29:01 : [iNST-SRX    ] 02 50 39.7C.DD 34.E7.21 27 2E 00           (00)
Thu 09/24/2015 15:29:01 : [std-Direct Ack] 39.7C.DD-->ISY/PLM Group=0, Max Hops=3, Hops Left=1
Thu 09/24/2015 15:29:05 : [D2D EVENT   ] Event [39 7C DD 4] [sT] [0] uom=0 prec=-1
Thu 09/24/2015 15:29:05 : [  39 7C DD 4]       ST   0

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...