[GH-ISSUE #225] precipitation from weather forecasting is always in millimeters #3439

Closed
opened 2026-03-20 23:05:32 +01:00 by sascha_hemi · 1 comment
Owner

Originally created by @sarcasticadmin on GitHub (Feb 8, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/225

Describe the bug

Setting the weather forecast content to Fahrenheit and MPH would have expected rainfall would be in inches but its still in millimeters. The option in the dropdown states it as such as well: Fahrenheit/mph/millimeters

To Reproduce
Steps to reproduce the behavior:

  1. Load content: weather forecast
  2. Select units: Fahrenheit/mph/millimeters in dropdown
  3. Refresh tag
  4. Rainfall will be in millimeters

Expected behavior

  • Any precipitation is displayed in inches.

Screenshots
IMG_20240207_192108_142

Additional context

  • It looks like from the open-meteo api you can set: precipitation_unit=inch
Originally created by @sarcasticadmin on GitHub (Feb 8, 2024). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/225 **Describe the bug** Setting the weather forecast content to Fahrenheit and MPH would have expected rainfall would be in inches but its still in millimeters. The option in the dropdown states it as such as well: `Fahrenheit/mph/millimeters` **To Reproduce** Steps to reproduce the behavior: 1. Load content: weather forecast 2. Select units: `Fahrenheit/mph/millimeters` in dropdown 3. Refresh tag 4. Rainfall will be in `millimeters` **Expected behavior** - Any precipitation is displayed in `inches`. **Screenshots** ![IMG_20240207_192108_142](https://github.com/jjwbruijn/OpenEPaperLink/assets/30531572/8661098b-fa39-4fb8-901e-0d2a4d567c5a) **Additional context** - It looks like from the open-meteo api you can set: `precipitation_unit=inch`
Author
Owner

@nlimper commented on GitHub (Feb 8, 2024):

We had a discussion on Discord with some people from USA/Canada on those units, and decided that rainfall will be better displayed in mm. If you like to see them in inch, mind that 0.1" of rainfall is 2,54mm, so precision will be less. Feel free to add it as an extra option yourself. PR's are welcome!

<!-- gh-comment-id:1934456394 --> @nlimper commented on GitHub (Feb 8, 2024): We had a discussion on Discord with some people from USA/Canada on those units, and decided that rainfall will be better displayed in mm. If you like to see them in inch, mind that 0.1" of rainfall is 2,54mm, so precision will be less. Feel free to add it as an extra option yourself. PR's are welcome!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#3439