• After update my “Custom” template (built from an earlier Table3 template) no longer functions. The current Table3 template in 5.7.1?also doesn’t function.

    Using debut, the 3-hour forecast data is in owmw_data[] but not in owmw_html[]. With it missing there, the template fails.

    How can I get the owmw_data[] forecast data into owmw_html[] forecast?

    $owmw_data[]:
    Array
    :
    :
    :
    [forecast] => Array
            (
                [0] => Array
                    (
                        [timestamp] => 1695272400
                        [time] => 05
                        [day] => Thu
                        [condition_id] => 800
                        [description] => Clear Sky
                        [wind_speed] => 7 mi/h
                        [wind_speed_description] => Light Breeze
                        [wind_degrees] => 353
                        [wind_direction] => N
                        [wind_gust] => 12 mi/h
                        [temperature] => 59
                        [feels_like] => 58
                        [temperature_fahrenheit] => 59
                        [temperature_celsius] => 15
                        [feels_like_fahrenheit] => 58
                        [feels_like_celsius] => 15
                        [humidity] => 79%
                        [pressure] => 30.27 inHg
                        [cloudiness] => 0%
                        [rain_chance] => 0%
                        [precipitation_unit] => 
                        [rain] => 0.00 in
                        [snow] => 0.00 in
                        [precipitation] => 0 in
                        [visibility] => 6.2 mi
                        [day_night] => night
                    )
    :
    :
    :
               [39] => Array
                    (
                        [timestamp] => 1695693600
                        [time] => 02
                        [day] => Tue
                        [condition_id] => 804
                        [description] => Overcast Clouds
                        [wind_speed] => 11 mi/h
                        [wind_speed_description] => Gentle Breeze
                        [wind_degrees] => 20
                        [wind_direction] => N
                        [wind_gust] => 18 mi/h
                        [temperature] => 62
                        [feels_like] => 61
                        [temperature_fahrenheit] => 62
                        [temperature_celsius] => 17
                        [feels_like_fahrenheit] => 61
                        [feels_like_celsius] => 17
                        [humidity] => 77%
                        [pressure] => 30.12 inHg
                        [cloudiness] => 100%
                        [rain_chance] => 1%
                        [precipitation_unit] => 
                        [rain] => 0.00 in
                        [snow] => 0.00 in
                        [precipitation] => 0 in
                        [visibility] => 6.2 mi
                        [day_night] => night
                    )
    
    ===========================================
    $owmw_html[]:
    Array
    (
    :
    :
    :
    [table] => Array
            (
                [hourly] => 
                [daily] => <div class="table-responsive owmw-table owmw-table-daily"><table class="table table-sm table-bordered" style=""><thead><tr><th scope="col">Day</th><th scope="col" colspan="2">Conditions</th><th scope="col" colspan="2"><svg viewBox="0 0 30 30" fill="currentColor"> <title>Temperature</title> 
    :
    :
    :
    <td>100%</td><td class="owmw-table-temperature">55</td><td>87%</td><td>13 mi/h NE</td><td>18 mi/h</td><td>30.18 inHg</td></tr></tbody></table></div>
                [forecast] => ??????? NOTHING ???????
            )
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Uwe Jacobs

    (@uwejacobs)

    Can you share the url where table 3 or your template is not working?

    Thread Starter squyrm

    (@squyrm)

    If you can tell me how to setup two versions of OWM. I had to rollout updates by going back to an old backup in order to get the weather working again.

    I turned on the “debug” and with the table3 template that shipped with 5.7.1, none of the data appears in $owmw_html[]. Debug shows its in $owmw_data[] but it doesn’t make its way into $owmw_html[].

    Plugin Author Uwe Jacobs

    (@uwejacobs)

    https://www.ujsoftware.com/owm-weather-blog/owm-weather-template-comparison/ has one full example for each template and they are seem to work.

    Thread Starter squyrm

    (@squyrm)

    Would you set an example of Template 3 with debugging enabled? I just don’t see the data in

    $owmw_html[]:

    when I use the default Table 3 template.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘5-day weather forecast charts in 3 hour increments not working after update’ is closed to new replies.