[GH-ISSUE #382] Feature request: Round temperature values (less updates for Current Weather) #225

Closed
opened 2026-03-20 17:27:57 +01:00 by sascha_hemi · 3 comments
Owner

Originally created by @heringa on GitHub (Oct 24, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/382

Is your feature request related to a problem? Please describe.
Yes. The temperature with 1 decimal leads to frequent updates which leads to a significant decrease of battery lifetime.

Describe the solution you'd like
Round the temperature to whole integer values should lead to less updates.
Alternative: configure a minimal update timeout. eg. 15 min.

Describe alternatives you've considered
I bought and replaced batteries over and over. ;-)

Additional context
The rounding feature could be optional.

Originally created by @heringa on GitHub (Oct 24, 2024). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/382 **Is your feature request related to a problem? Please describe.** Yes. The temperature with 1 decimal leads to frequent updates which leads to a significant decrease of battery lifetime. **Describe the solution you'd like** Round the temperature to whole integer values should lead to less updates. Alternative: configure a minimal update timeout. eg. 15 min. **Describe alternatives you've considered** I bought and replaced batteries over and over. ;-) **Additional context** The rounding feature could be optional.
sascha_hemi added the enhancement label 2026-03-20 17:27:57 +01:00
Author
Owner

@nlimper commented on GitHub (Oct 24, 2024):

The update frequency of the current weather is once every half hour.

But agree, it would be better to make the refresh frequency configurable, just like the weather forcast (it's faily easy: use the exiting 'interval' variable by copying lines https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L346-L347 to https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L339-L340 and add it as a parameter in content_cards.json just like https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L346-L347)

(sorry, I currently cannot do it myself, but if somebody feels like it: go ahead!)

<!-- gh-comment-id:2436361731 --> @nlimper commented on GitHub (Oct 24, 2024): The update frequency of the current weather is once every half hour. But agree, it would be better to make the refresh frequency configurable, just like the weather forcast (it's faily easy: use the exiting 'interval' variable by copying lines https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L346-L347 to https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L339-L340 and add it as a parameter in content_cards.json just like https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L346-L347) (sorry, I currently cannot do it myself, but if somebody feels like it: go ahead!)
Author
Owner

@nlimper commented on GitHub (Oct 25, 2024):

fixed, in dd5d96d1ee

<!-- gh-comment-id:2437952983 --> @nlimper commented on GitHub (Oct 25, 2024): fixed, in https://github.com/OpenEPaperLink/OpenEPaperLink/commit/dd5d96d1ee9a20d5012156d531b6c5550adb9139
Author
Owner

@heringa commented on GitHub (Oct 25, 2024):

Excellent! Many thanks. :-)

<!-- gh-comment-id:2438696292 --> @heringa commented on GitHub (Oct 25, 2024): Excellent! Many thanks. :-)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#225