Ring Colour is White

Posted on
Fri Jun 12, 2015 10:55 am
artpics offline
Posts: 232
Joined: Feb 24, 2009
Location: Calabasas CA

Ring Colour is White

hello so i am trying to create a trigger that when the device

(Nest Protect) ring color is not green
condition is Dark
send me an email
it works but i get many emails when i wander underneath the Protect and the ring turns on the night light. i just want one email.

any advice.

BTW: just installed 4 protects in my office it was very nice that all are added to indigo without me doing anything :P

Posted on
Fri Jun 12, 2015 6:01 pm
Chameleon offline
Posts: 611
Joined: Oct 04, 2014

Re: Ring Colour is White

artpics wrote:
hello so i am trying to create a trigger that when the device

(Nest Protect) ring color is not green
condition is Dark
send me an email
it works but i get many emails when i wander underneath the Protect and the ring turns on the night light. i just want one email.

any advice.

BTW: just installed 4 protects in my office it was very nice that all are added to indigo without me doing anything :P


I didn't know that worked... Wow... It's a feature request that I've had from a few people to know when the Pathlight comes on... I must trial that :D

But back to your question... Let me run through what I think you're asking.

    If it's dark (some light or time trigger not on the protect)

    And the light doesn't flash Green (everything ok) but Yellow (problems)

    Send an email

    Don't send another email that night and ignore Pathlights flashes

    Reset when day again for the following night

    Repeat each night

Is that the use case?

There are a couple of ways you could do that but let me test them first...

Thanks for highlighting the Pathlight Trigger! ... Hmmmmm :D

Mike

Posted on
Sat Jun 13, 2015 7:04 am
Chameleon offline
Posts: 611
Joined: Oct 04, 2014

Re: Ring Colour is White

artpics wrote:
hello so i am trying to create a trigger that when the device

(Nest Protect) ring color is not green
condition is Dark
send me an email
it works but i get many emails when i wander underneath the Protect and the ring turns on the night light. i just want one email.

any advice.

BTW: just installed 4 protects in my office it was very nice that all are added to indigo without me doing anything :P


If I've understood the question this is how I would probably go about it:

    Set up a variable called NESTemailsent in indigo with a default value of false

    Create a trigger called NEST Light at Night with the following set up:

      Set the trigger to look for any change in the Ring Colour

      Screen Shot 2015-06-13 at 13.34.18.png
      New Trigger for NEST Light
      Screen Shot 2015-06-13 at 13.34.18.png (53.31 KiB) Viewed 1701 times


      Now set the Conditions as. 1. Must be dark 2. Ring Colour is equal to Red or Yellow (it may need to be yellow or red as I'm not sure if it's case sensitive)

      Screen Shot 2015-06-13 at 13.43.48.png
      Conditions for Trigger
      Screen Shot 2015-06-13 at 13.43.48.png (80.41 KiB) Viewed 1701 times


      To add multiple conditions like this you'll have to press and hold the 'option' key until the '+' changes to an ellipsis '...'. Look in the Indigo documentation on Conditions for how to do this if you're not sure.

      Now add the Actions to send an email:

      Screen Shot 2015-06-13 at 13.45.54.png
      Sending an email
      Screen Shot 2015-06-13 at 13.45.54.png (72.98 KiB) Viewed 1701 times


      and set the email flag to true:

      Screen Shot 2015-06-13 at 13.46.57.png
      Set the variable flag
      Screen Shot 2015-06-13 at 13.46.57.png (48.13 KiB) Viewed 1701 times


      That way, because of the NESTemailsent flag it will only send the one email

    You'll also need to have a trigger to detect when it's light and reset the variable NESTemailsent back to false that runs each morning. I already have a Wake Up House trigger that does a number of these Housekeeping tasks in the morning when I get up :D

Hope that helps - I'll think if there's anyway the plugin could make this easier over the next day or so.

Regards

Mike

Posted on
Sat Jun 13, 2015 10:06 pm
artpics offline
Posts: 232
Joined: Feb 24, 2009
Location: Calabasas CA

Re: Ring Colour is White

thanks i will check and play tomorrow
what i want to happen is every time the pathlight becomes white send me 1 email. (like a motion sensor mode)
but your conditions have give me some ideas.
:D

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests