Jump to content

Program that checks for failure and notifies


jp5150

Recommended Posts

Posted

As most of you that have followed my threads know, I'm having some problems with two lights. Since it appears that troubleshooting is not going to be quick or easy, I thought I'd at least get them working a different way. I've noticed that the lights respond more consistently when triggered outside of the scene, so my thought is to create a program that will check if the lights turned on when they were supposed to, and if not, to notify me and then turn them on individually. Below are the two programs that I came up with.

 

Exterior Sunset

 

If

Time is Sunset

 

Then

Set Scene 'Exterior Lights Sunset' On

Wait 1 minute

Run Program 'Coach/Entrance Check if On' (If)

 

Else

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

 

 

Coach/Entrance Check if On [disabled]

 

If

Status 'Outside House / Entrance Light' is Off

Or Status 'Outside House / Coach Lights' is Off

 

Then

Send Notification to 'user' content 'frontlights'

Set 'Outside House / Entrance Light' On

Set 'Outside House / Coach Lights' On

 

Else

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

 

 

Is this the right way to achieve my goals, or are there better solutions? I really like the idea of the notification, so that I can keep track of how many times the lights fail to respond.

 

- Julio

Guest
This topic is now closed to further replies.

  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...