H801 available status'


#1

1) Give a description of the problem
Hi Everyone,

I have an pplication Question with Webcore/H801 LED strip wifi controller currently testing for kitchen counter. This same question was also posted on Smartthings Forum

H801 and RGBWW with a wire connected to J3 and a modified (for toggling) decora light switch.

When I press the decora light switch, the WW led’s turn on to 100%. Which is what I want for now.

2) What is the expected behavior?
However, I also have a couple zigbee bulbs that I also want to have turned on when I press the decora switch or when the WW lights turn on.

3) What is happening/not happening?
But I’m having a hard time trying to figure out which Webcore variables/status’/etc to monitor in order to trigger my 2 other light bulbs to turn on.

How can I use/get the H801 status’ according to the “Status” page on the H801 web config.
{“rgb”:“000000”, “r”:“00”, “g”:“00”, “b”:“00”, “w1”:“ff”, “w2”:“00”, “power”:“on”, “running”:“false”, “program”:""}
in my case, if I can get the “W1” and “Power” state, then it would allow me to accomplish my goals i believe.

Thank you all kindly.


#2

What do you get when you log the variable {[your801 devicename:power]}?


#3

thanks for the reply. I’m not proficient with webcore as yet and its syntax.
However, I have quickly tried to define a string variable and set its value initial value to “{[kitchen cabinet:power]}”

And received an error “Invalid attribute power” when defining the variable, and was unable to save.

I’ll need to spend some more time with webcore to get more proficient at it.


#4

What device handler or driver are you using with the light?


#5

The files available here:

However just an update.
I am able to monitor the “Switch” variable either “on” or “off”. So I am now able to trigger other Zigbee lights on.

Thanks for showing me the log expression feature in Webcore. I didn’t know it returns value’s live as you’re creating the expression.

But now an added bonus would be:
I don’t necessarily want the other zigbee lights to turn on when a color other than warm white LED’s are on on on H801. Monitoring the “switch” variable only tells me if the H801 is powering any of the LED’s or not.

I’ve been looking thru the expression variables, and noticed that the log returns a color value of 0000000 (black) when the warm white LEDs are on. And some Hex value when the RGB LED’s are turned on. But am unsure of what to monitor to get a value for the WarmWhite LED’s.

Again thanks a bunch for your help.