0

[SOLVED] status Indicator
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

[SOLVED] status Indicator

by be80be on Sun Aug 25, 2019 10:35 pm

This is the idea I have a pir when someone comes in the room status Indicator turns red
Then they leave it turns green.

Now for the problem I can't find anything showing how to setup status Indicator.

Thanks

be80be
 
Posts: 15
Joined: Sat Jun 13, 2015 12:05 am

Re: status Indicator

by brubell on Mon Aug 26, 2019 9:17 am

Add a status indicator to your dashboard by clicking on the '+' at the top of your dashboard and clicking Indicator. Then, connect it to a feed.

The status indicator's color changes depending on what number is sent to your feed. Note that it only works for numeric values, you can't send it "on" or "off.

For example, this status indicator will be true (green) if the Test Value is less than 2.0:
sindicator.png
sindicator.png (125.1 KiB) Viewed 79 times


If we change the test value to a number greater than 2.0, it'll turn red (false):
sindicator2.png
sindicator2.png (119.97 KiB) Viewed 79 times

brubell
 
Posts: 496
Joined: Fri Jul 17, 2015 10:33 pm

Re: status Indicator

by be80be on Mon Aug 26, 2019 12:04 pm

So it cant do 0 and 1 then 0 green 1 is red

be80be
 
Posts: 15
Joined: Sat Jun 13, 2015 12:05 am

Re: status Indicator

by brubell on Tue Aug 27, 2019 9:30 am

be80be wrote:So it cant do 0 and 1 then 0 green 1 is red

You can set 0 to green and 1 to red.

Set the Conditions field to =0

The "On Color" (green) will be set if the feed's value is zero. Otherwise, the off color (red) will be set if the field is anything other than zero, such as 1.

brubell
 
Posts: 496
Joined: Fri Jul 17, 2015 10:33 pm

Re: status Indicator

by be80be on Wed Aug 28, 2019 7:08 pm

Thanks I figured where I was going wrong the esp8266 was sending HIGH and LOW not the 1 and 0 I was thinking it should be sending.

be80be
 
Posts: 15
Joined: Sat Jun 13, 2015 12:05 am

Please be positive and constructive with your questions and comments.