Jump to content
C4 Forums | Control4

Nest Protect warning and Fire


TheaterExtreme

Recommended Posts


The NEST gives the state in a form of a string variable - so you would need to use an IF statement based of that variable

In the Nest Protect driver itself, you would program off of:

 

WHEN SMOKE_ALARM changes (or CO_ALARM depending on what you want.

IF variable SMOKE_ALARM equals emergency {you'd have to type emergency, or any of the others itself}

-do what you want.

 

For either SMOKE or CO there are three possible values expected to be return, therefor you can program based on:

-ok

-warning

-emergency

 

For completion:

BATTERY has:

-ok

-replace

 

UI_COLOR has:

-green

-yellow

-red

 

Those represent the LED colors

 

ONLINE is a boolean so you just have a true/false option.

Link to comment
Share on other sites

The problem with asking is that even those of us who *wrote* the info on the Documentation tab can't remember it.

 

:)

 

That's always the first question I ask if someone has issues with any of my drivers: "Did you read and follow *all* the instructions on the Documentation Tab?"

 

RyanE

Link to comment
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.