Skip to content

simple update for illuminance and co2 - #73

Open
scliddle wants to merge 1 commit into
StuckAtPrototype:masterfrom
scliddle:update_z2m_pro
Open

simple update for illuminance and co2#73
scliddle wants to merge 1 commit into
StuckAtPrototype:masterfrom
scliddle:update_z2m_pro

Conversation

@scliddle

@scliddle scliddle commented Aug 2, 2026

Copy link
Copy Markdown

This is my first contribution to this project and I was a little impatient.

These simple changes appeared to work for the CO2 sensor and the response to breathing near the sensor is visible.

The illuminance seems to be stuck at 1 and I think it may be a units problem. With this file in place and the raw values enabled, I was able to see a change, see output below. I think the lux was significantly higher than 3, as it was a flashlight directly in the top.

dark room

{
    "aqi": 106,
    "brightness": 50,
    "co2": 681,
    "eco2": 1029,
    "humidity": 48.75,
    "illuminance": 1,
    "illuminance_raw": 1,
    "last_seen": "2026-08-02T00:50:23-04:00",
    "linkquality": 182,
    "temperature": 24.84,
    "voc": 754
}

with flashlight

{
    "aqi": 106,
    "brightness": 50,
    "co2": 649,
    "eco2": 1028,
    "humidity": 49.47,
    "illuminance": 3,
    "illuminance_raw": 4654,
    "last_seen": "2026-08-02T00:50:55-04:00",
    "linkquality": 178,
    "temperature": 25.01,
    "voc": 751
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant