zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

GZCGQ01LM - request for change expose values

Open jomuc opened this issue 3 years ago • 7 comments

Is your feature request related to a problem? Please describe

device doesn't show up in dashboard, because of wrong configuration of exposed values: e.illuminance() and e.illuminance_lux()

Describe the solution you'd like

please change exposed values of device to:

{ exposes: [e.battery(), e.battery_voltage(), e.illuminance(), e.power_outage_count()] }

Describe alternatives you've considered

no alternatives considered

Additional context

screenshot

jomuc avatar Oct 24 '23 04:10 jomuc

Can you provide a screenshot of the z2m frontend -> device -> state tab?

Koenkk avatar Oct 24 '23 17:10 Koenkk

Screenshot of state tab: state

jomuc avatar Oct 25 '23 03:10 jomuc

{ "battery": 100, "illuminance": 0, "illuminance_lux": 0, "last_seen": "2023-10-25T03:22:46.289Z", "linkquality": 163, "power_outage_count": 12, "voltage": 3068 }

jomuc avatar Oct 25 '23 03:10 jomuc

device doesn't show up in dashboard,

I'm a bit confused, in the screenshot from the OP it shows the device in the dashboard.

Koenkk avatar Oct 25 '23 18:10 Koenkk

Oh sorry. I did patch the node module "zigbee-herdsman-converters" with the exposes from the my first post. The master code or code from version 1.33.1 doesn't show the device in dashboard. But I did not manage to get illuminance_lux shown in dashboard. It just shows illuminance, but not the lux value. The device state itself has both values.

jomuc avatar Oct 25 '23 20:10 jomuc

Both illuminance and illumiance_lux should be exposed, that it shows in the dashboard once illumiance_lux is removed is a bug in the frontend. So please create an issue here: https://github.com/nurikk/zigbee2mqtt-frontend/issues

Koenkk avatar Oct 27 '23 17:10 Koenkk

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Apr 25 '24 00:04 github-actions[bot]