Skip to content

Conversation

@gluoncompany
Copy link
Contributor

No description provided.

develcoModernExtend.temperature(), // TODO: ep 38
m.illuminance(), // TODO: ep 39
develcoModernExtend.temperature({reporting: {min: 10, max: 3600, change: 100}}),
m.illuminance({reporting: {min: 10, max: 3600, change: 100}}),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How often are both values reported? The default reporting values should be good (at least that is the goal of it)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default temperature report is the same as in the code, but the brightness report value is set to 5 ("change: 5"). This causes it to report constantly and not enter deep sleep, draining the battery. I forced the temperature setting in case the manufacturer changed any parameters so it wouldn't be affected. This could be removed from my change if you want.

@Koenkk Koenkk merged commit 53f5ba1 into Koenkk:master Sep 27, 2025
3 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Sep 27, 2025

Thanks!

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.

2 participants