Page 1 of 1

Fiber FGMS001 Invalid LUX values

Posted: Sunday 17 January 2016 12:44
by etamminga
Hi,

I have the Fibaro motion sensor working, but LUX values are not correct. Values range from 28-77 when operating a light in front of the sensor.
I did a debug on the openzwave stack and found out that the device is actually sending a single-byte value 0-255 for Lux levels. these values can never exceed 255, lux levels do. This is not "Lux" but "%" I guess, 0 being 0% and 255 being 100%?
How can I change the behavior of Domoticz to interpret these values as percentages instead of actual Lux values?

2016-01-17 11:48:38.008 Detail, Node006, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x06, 0x06, 0x31, 0x05, 0x03, 0x0a, 0x00, 0x4d, 0x87
2016-01-17 12:02:22.415 Detail, Node006, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x06, 0x06, 0x31, 0x05, 0x03, 0x0a, 0x00, 0x19, 0xd3
2016-01-17 12:10:55.390 Detail, Node006, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x06, 0x06, 0x31, 0x05, 0x03, 0x0a, 0x00, 0x4c, 0x86

Regards,
Erik

Re: Fiber FGMS001 Invalid LUX values

Posted: Sunday 17 January 2016 12:58
by StanHD
Hi,

I have the following Lux readings from FGMS001:-

Image

The values can be >255. :)

Windows Version 2.4078

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 13:08
by etamminga
Thanks for your reply;

Are you willing to share a OZW logfile with a Lux update in it and a version number of your FGMS001 with me? I'd like to find out what is causing my issues.
Also, how is your FGMS001 networked, group-wise? Is only group-3 linked to your controller? Or does also group-1 have an association?

Regards,
Erik

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 13:11
by etamminga
And also, 31 lux in the bedroom and 17 lux in the guest room also seem too low to me. Certainly during day time. Do those sensors also reach higher values (>1000) or do they also stick to the low range values?
https://en.wikipedia.org/wiki/Daylight

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 14:53
by StanHD
etamminga wrote:Thanks for your reply;

Are you willing to share a OZW logfile with a Lux update in it and a version number of your FGMS001 with me? I'd like to find out what is causing my issues.
Also, how is your FGMS001 networked, group-wise? Is only group-3 linked to your controller? Or does also group-1 have an association?

Regards,
Erik
Hi Erik,

Not sure how to get the OZW logfile, but here's the FGMS001 Version:-

Image

Groups look like this:-

Image

Nodes 2, 5, 9, 10, 12, 14, 15 are all FGMS001

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 15:03
by StanHD
etamminga wrote:And also, 31 lux in the bedroom and 17 lux in the guest room also seem too low to me. Certainly during day time. Do those sensors also reach higher values (>1000) or do they also stick to the low range values?
https://en.wikipedia.org/wiki/Daylight
Fortunately I work with Lux levels quite a lot as my company designs and installs lighting for Retail clients, so I am not surprised by the levels shown. Both those rooms had blinds closed when the measurement was taken :)

Also the Living Room has 6m x 5m fully glazed elevation so there is a lot of light in there.

My Domoticz set-up controls all of the lighting to my rooms dependent upon motion (presence) and lux level. It works extremely well:-

Image

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 20:17
by etamminga
ok, thanks.

I have the same version so that should be right.

Currently (it's dark) my sensor reads a lux value of 0, it's dark but not pitch dark. I have configured the illumination report threshold to 20 because the default 200 didn't give me frequently enough updates. Also I have now set the report interval to 900.
A value of 20 drained my battery quite quickly. Apparently this "20" is not in the same scale as the reported value because the logs are now full of updates with approx. the same value.

What are your settings for illumination reporting/thresholds/intervals?

My graph for today doesn't show values higher than 77 in a room with a window towards the street (front door). I think this still is a too low value.

Regards,
Erik

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 20:47
by StanHD
Hi,

For my Kitchen:-
Illumination report threshold: 200
Illumination reports interval: 300

Living Room & Hall:-
Illumination report threshold: 200
Illumination reports interval: 180

Guest Room (bedroom) & Bedroom:-
Illumination report threshold: 100
Illumination reports interval: 600

Lounge:-
Illumination report threshold: 50
Illumination reports interval: 1800

WC:-
Illumination report threshold: 0
Illumination reports interval: 180

Layout for reference:-

Image

Recent Lux Graph for Kitchen:-

Image

Hope it helps.

Re: Fiber FGMS001 Invalid LUX values

Posted: Monday 18 January 2016 23:05
by etamminga
Thanks a lot.

I'm going to move my sensor to see if I can get higher reported values.

Regards,
ERik

Re: Fiber FGMS001 Invalid LUX values

Posted: Tuesday 26 January 2016 11:42
by blitzkneisser
Maybe you set the threshold too high. The default is 200 I think and if you are in a room which is quite dark, you might not have a difference of 200