Jump to content

Program doesn’t work anymore


Recommended Posts

I have a simple program that basically says if the bathroom fan has been on for 25 minutes it’ll shut off. This has worked forever until I’ve switched to Eisy. I tried editing the program to ‘renew’ it but no luck.  I’m thinking on just deleting the program and redoing it but I thought I’d ask here if there’s some other way I should do it. 

Link to comment
10 hours ago, andrew77 said:

I have a simple program that basically says if the bathroom fan has been on for 25 minutes it’ll shut off. This has worked forever until I’ve switched to Eisy. I tried editing the program to ‘renew’ it but no luck.  I’m thinking on just deleting the program and redoing it but I thought I’d ask here if there’s some other way I should do it. 

Right click on the program and select copy to clipboard. Then post the program here for comments.

  • Like 1
Link to comment

Bathroom Fan - [ID 0022][Parent 0001]

If
        'Bathroom Fan' Status is On
 
Then
        Wait  1 minute 
        Set 'Bathroom Fan' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

I changed it to one minute solely for testing purposes yesterday 

Link to comment

@andrew77 I don't see anything in the program you posted that would cause this not to run. I was going to say if you had the wait at 25 minutes maybe something was turning the fan off (or turning it on again) while the wait was in progress that cause the "IF" to re-evaluate and restart the wait or make the program "False" and not turn it off.  

Try watching the program tree if the status of the fan is "ON". Does the program turn solid green? This would indicate the program is running.  image.png

If the status of the fan goes to off then the program icon would be partially red image.png, indicating "FALSE" state last time it was evaluated. I just tested your program and my fan turned off as expected and the program appeared with the red icon because now the "If" is "false". 

Try "find/replace" (right click on any program and it's near the bottom menu option) in programs for the "Bathroom Fan" and see if you have other programs controlling it. There might be something else causing the program to turn "False" before your wait is complete. 

Program-Right-Click-Menu.jpg     Find_Replace_Window.jpg

 

I tested while remote to the location and used UD mobile to turn the fan on and status on admin console showed "on" so program was true and turned the fan off (I lowered my "wait" to 10 seconds for quick trigger). Remember if anything causes the "IF" to re-evaluate during the wait the program essentially restarts. It's possible your 25 minutes is restarting and still going longer than you expect it to. 

Perhaps use "Switched" for the fan device to trigger the program. That way it's a physical process of turning the fan on that triggers the wait. 

 

  • Like 2
Link to comment

I changed it to switched as opposed to on. 

I also tried watching the GUI and it did show it was running once but I cant seem to make that happen again.

Should I try to restore the device?

 

Link to comment

I use switched for the exact same application. The reality is that that method shouldn't matter.  

A restore device is easy to do to eliminate it as a culprit, and won't hurt

Turn on the event view level 3 and repeat, what do you see

Edited by paulbates
Link to comment
4 minutes ago, paulbates said:

I use switched for the exact same application. The reality is that that method shouldn't matter.  

A restore device is easy to do to eliminate it as a culprit, and won't hurt

Turn on the event view level 3 and repeat, what do you see

This is what the event viewer wrote

Tue 03/19/2024 01:48:42 PM : [INST-TX-I1  ] 02 62 51 03 FF 0F 11 FF
Tue 03/19/2024 01:48:42 PM : [INST-ACK    ] 02 62 51.03.FF 0F 11 FF 06          LTONRR (FF)
Tue 03/19/2024 01:48:42 PM : [INST-SRX    ] 02 50 51.03.FF 70.90.75 2B 11 FF    LTONRR (FF)
Tue 03/19/2024 01:48:42 PM : [Std-Direct Ack] 51.03.FF-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Tue 03/19/2024 01:48:42 PM : [D2D EVENT       ] Event [51 3 FF 1] [ST] [255] uom=100 prec=0
Tue 03/19/2024 01:48:42 PM : [51 3 FF 1       ]       ST 255 (uom=100 prec=0)
Tue 03/19/2024 01:48:42 PM : [D2D-CMP 0022] STS [51 3 FF 1] ST Converted values Event=100 Condition=100 prec=0
Tue 03/19/2024 01:48:42 PM : [D2D-CMP 0022] STS [51 3 FF 1] ST op=1 Event(val=255 uom=100 prec=0) is Condition(val=100 uom=51 prec=0) --> true
Tue 03/19/2024 01:48:52 PM : [INST-TX-I1  ] 02 62 51 03 FF 0F 13 00
Tue 03/19/2024 01:48:52 PM : [INST-ACK    ] 02 62 51.03.FF 0F 13 00 06          LTOFFRR(00)
Tue 03/19/2024 01:48:52 PM : [INST-SRX    ] 02 50 51.03.FF 70.90.75 2B 13 00    LTOFFRR(00)
Tue 03/19/2024 01:48:52 PM : [Std-Direct Ack] 51.03.FF-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Tue 03/19/2024 01:48:52 PM : [D2D EVENT       ] Event [51 3 FF 1] [ST] [0] uom=100 prec=0
Tue 03/19/2024 01:48:52 PM : [51 3 FF 1       ]       ST   0 (uom=100 prec=0)
Tue 03/19/2024 01:48:52 PM : [D2D-CMP 0022] STS [51 3 FF 1] ST Converted values Event=0 Condition=100 prec=0
Tue 03/19/2024 01:48:52 PM : [D2D-CMP 0022] STS [51 3 FF 1] ST op=1 Event(val=0 uom=100 prec=0) is Condition(val=100 uom=51 prec=0) --> false
Tue 03/19/2024 01:48:55 PM : [            Time] 13:49:02 9(0)
 

 

I haven't restored yet

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

×
×
  • Create New...