OpenVoiceOS / skill-ovos-weather

OpenVoiceOS official Weather Skill, providing weather conditions and forecasts.
Apache License 2.0
1 stars 4 forks source link

Current Weather GUI hourly representation ... #48

Closed emphasize closed 1 year ago

emphasize commented 1 year ago

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

emphasize commented 1 year ago

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":[],