Zooz 4 in 1 error

Hey all,

Got my new Zooz 4-1 in today. Paired up right away, getting a reported Lux of 2.95, however I am seeing this error in the log when I turn on another light to increase the lux based on my Simple Lighting Rule and the target light is not being turned off

Here is the Simple Lighting Rule

And why this message? Is being asleep an issue? The only way so far to wake it up that I have found is to use a paper clip and press the reset button (also indicated in the log file)

What am I missing?
Rick

Rick,
After you paired the device did you hit the 'configure' button?
This sets up all the parameters from the driver so, if you didn't, then you may not have the correct configuration on the device.

Andy

I have several of these sensors, you do have to wake up the device using a paperclip in the hole before the configuration will complete. You probably could wait until the device does its automatic wake-up (every 12 hours?), but I didn't. I sometimes had to wake it up several times before everything would take. After getting the configuration done, they have been working great.

Thanks for the suggestions

I went ahead and excluded the device and re-added it to be sure and to hopefully clear up the error in the log file, selected configure, woke it up and it's reporting all values

So now to test
Illuminance is 3.88
I have a simple lighting rule set to turn off a light when illuminance is >= to 3.9
Turn on said light, nothing happens


The illuminance takes several minutes before it changes and when it does it now reads 35..9, yet the light doesn't turn off

Still getting this error in the simple lighting rule log which i think needs to be solved first, it appears to be the issue

I'm sure i'm missing something very basic

Rick

I wonder if simple lighting doesn’t like float for illuminance.

Hey napalmcsr

Looks like you might be right. I removed the simple lighting rule, created a RM Rule and now it works.

Now my question is, it took nearly 90 seconds for the lux to be registered on the device before the RM Rule would fire. Is there any way to get the device to sense change quicker than 90 seconds?

The way i'm testing is just by placing my hand over the sensor so the lux is going from like 40 to .013

Does it have to do with the Light Change Trigger setting in the device driver? It's currently set to the 10% default setting. Is there a location where I can read up on the different settings that make sense to a non-programmer

Rick

The zooz only updates the illum every 3+ minutes, never right away, so you can trigger off of it, but it will only update when it does its next scheduled update, unlike motion which it does automatically.

We should let @bravenel know about the bug in simple lighting.

Craig

Yes, Simple Lighting is using an integer for the lux field. That could be changed to decimal.

Both RM and SL use integer for lux values.

We shouldn't be reporting Lux as a decimal.
Well get this fixed in the driver.

Hey again, can you further explain what you mean by "trigger" off it? I'm hung up on the definition of trigger when we can trigger off of motion, so what is different with lux?

Rick

Motion sends a message to the hub as soon as it happens, lux is on a periodic update message every 3-4 minutes and only if lux changes enough to report it. So motion changes are reported immediately, lux whenever the next update is sent out.

That makes sense

So is this where the light change trigger value comes into play? I'm guessing...

Lux reported at 7:11am as being 11.1, then not again until 7:25 as being 14.45. My trigger value is still at the default 10%. My guess is, during the 15 mins between the 2 reporting, the change in lux was not greater than 10% so therefore it didn't report. Am I on track?

Rick

Yup, that is correct.

Thank you so much, now to keep playing :slight_smile:

Rick

Just to clarify, if light, humidity, or temperature changed enough to be reported then the device sends all 3 reports.

Was this fixed in 114?

We shouldn't be reporting Lux as a decimal.
Well get this fixed in the driver.

FYI, I think the logs might show humidity as a decimal as well. I have never checked the events,

temp and humidity are allowed to be decimal. It makes no sense for lux to be given it has a range of 0 to 60K or more in the real world...

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.