Jump to content

Alive or not alive


aLf

Recommended Posts

Posted

I have a simple program that (should) alert me daily as to ISY's heartbeat.

 

When I leave my house in the "AWAY" mode, I get a notification the first day or two. Then it never sends again unless there is a power cycle or I physically set it as "HOME". I have used the 30 second interval only to eliminate multiple sends a day. Maybe that is the problem? All I want is for ISY to evaluate the "AWAY" or "HOME folder once daily and to determine its validity. I know that isn't fool-proof either as it really doesn't tell me wheter the "AWAY" items are actually running. I'm open to any ideas. Thanks.

 

Here is the program.

 

If

From 7:00:00AM

To 7:00:30AM (same day)

And Folder 'AWAY' is True

 

Then

Send Notification to 'ME'

 

Else

- No Actions - (To add one, press 'Action')

Posted

I cannot answer why the notifications stop after a couple of days but perhaps changing the program to the following would help.

 

If 
7:00:00AM 
And Folder 'AWAY' is True 

Then 
Send Notification to 'ME' 
Run Else

Else 
- No Actions - (To add one, press 'Action')

At 7AM when the folder away is true the program will run and send notification 1 time after which the program will turn false until the next day.

If you wanted to take it a step further you could add a wait between Send Notification to Me and Run Else. The benefit would be when you do not receive the notification you would be able to check in to the Summary tab and see the Last Run time to verify. If you use a 10 second wait then you will see 7:00:10 AM as the last run and last finish times which tells you that the ISY ran the program completely.

Posted

I don't understand why you want the program to be false except while sending an email. I don't think this has anything to do with you email issue, but the program will only send an email when it is triggered.

 

the following program

 

If time is 7:00 am
and if away folder is true

then send email

else nothing

 

Will send an email every day at 7am and only at 7am provided away folder is true. Why are you trying to make the program list as false at other times?

 

I would look to your away folder as the most likely reason it is not sending an email. Is it possible that it is becoming false for some reason?

Posted
I don't understand why you want the program to be false except while sending an email. I don't think this has anything to do with you email issue, but the program will only send an email when it is triggered.

 

You may very well be right. The program itself may not be the issue. And I agree the from/to time isn’t needed, neither is the run Else. However I like to finish off my programs to false when they are not running. Makes skimming thru the summary looking for running programs easier. Plus by adding a wait (of say 10 seconds) after the notification, then running the Else on the program itself will let you know that the program did run in its entirety. Take the OP’s runtime of 7AM. If my suggested program runs completely the summary tab runtime/last Finish time will show 7:00:10 AM which will confirm that the program started at 7AM and ended 10 seconds later. If the OP didn’t receive an email he could look at the summary tab to verify the program executed completely at which point he could focus his attention elsewhere. Whereas your suggested program would list the last runtime/last finished time as 7AM but that wouldn’t guarantee the program ran completely, just that it evaluated – big difference.

Posted

Thanks TJF1960. I rewrote as follows, is this right? I see the actual wording is a bit different than you quoted in your post...

 

If

Time is 7:00:00AM

And Folder 'AWAY' is True

 

Then

Send Notification to 'ME'

Wait 10 seconds

Run Program 'Alive Away' (Else Path)

 

Else

- No Actions - (To add one, press 'Action')

Posted

You are welcome, and I hope it works too or at least helps in figuring out what is going on.

 

I should mention that I have 4 programs which email me everyday. Every once in a while one of the program notifications seems to get lost. Its not always the same one either, it could happen to anyone of the 4. And it doesn’t happen all the time, maybe once a week. I haven’t figured out why yet but I do know the programs executed fully.

What concerned me with your situation was that you indicated it would work for maybe 2 days then stop completely.

 

Please post back the results.

 

Thanks,

Tim

Guest
This topic is now closed to further replies.

×
×
  • Create New...