Fiber FGMS001 Invalid LUX values
Moderator: leecollings
-
- Posts: 9
- Joined: Sunday 17 January 2016 12:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Fiber FGMS001 Invalid LUX values
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
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
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Fiber FGMS001 Invalid LUX values
Hi,
I have the following Lux readings from FGMS001:-
The values can be >255.
Windows Version 2.4078
I have the following Lux readings from FGMS001:-
The values can be >255.
Windows Version 2.4078
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
-
- Posts: 9
- Joined: Sunday 17 January 2016 12:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Fiber FGMS001 Invalid LUX values
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
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
-
- Posts: 9
- Joined: Sunday 17 January 2016 12:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Fiber FGMS001 Invalid LUX values
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
https://en.wikipedia.org/wiki/Daylight
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Fiber FGMS001 Invalid LUX values
Hi Erik,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
Not sure how to get the OZW logfile, but here's the FGMS001 Version:-
Groups look like this:-
Nodes 2, 5, 9, 10, 12, 14, 15 are all FGMS001
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Fiber FGMS001 Invalid LUX values
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 takenetamminga 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
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:-
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
-
- Posts: 9
- Joined: Sunday 17 January 2016 12:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Fiber FGMS001 Invalid LUX values
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
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
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Fiber FGMS001 Invalid LUX values
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:-
Recent Lux Graph for Kitchen:-
Hope it helps.
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:-
Recent Lux Graph for Kitchen:-
Hope it helps.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
-
- Posts: 9
- Joined: Sunday 17 January 2016 12:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Fiber FGMS001 Invalid LUX values
Thanks a lot.
I'm going to move my sensor to see if I can get higher reported values.
Regards,
ERik
I'm going to move my sensor to see if I can get higher reported values.
Regards,
ERik
- blitzkneisser
- Posts: 43
- Joined: Tuesday 01 December 2015 8:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Villach, Austria
- Contact:
Re: Fiber FGMS001 Invalid LUX values
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
Who is online
Users browsing this forum: No registered users and 1 guest