Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Weather GUI hourly representation ... #48

Closed
emphasize opened this issue May 22, 2023 · 1 comment · Fixed by #50
Closed

Current Weather GUI hourly representation ... #48

emphasize opened this issue May 22, 2023 · 1 comment · Fixed by #50

Comments

@emphasize
Copy link
Member

emphasize commented May 22, 2023

.. begins with the start of the day (ie 0/1/2/3 o'clock)

@emphasize
Copy link
Member Author

Have an idea that kills two birds with one stone. The report is always sent from 00:00 upwards.
We slice those lists and current weather, which by now uses a seperate dict entry with suboptimal data coverage, gets populated with the fist list entries.

   "current_weather":{
      "temperature":19.0,
      "windspeed":2.77,
      "winddirection":319.0,
      "weathercode":3,
      "is_day":0,
      "time":"2023-05-22T22:00"
   },
   "hourly_units":{},
   "hourly":{
      "time":[],
      "temperature_2m":[],
      "relativehumidity_2m":[],
      "dewpoint_2m":[],
      "apparent_temperature":[],
      "pressure_msl":[],
      "surface_pressure":[],
      "cloudcover":[],
      "cloudcover_low":[], 

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 a pull request may close this issue.

1 participant