date -d doesn't do that for me, but inside the json, I found the current
date and time. So it's downloading, but not generating the HTML.
"dateTimeISO": "2023-06-05T07:00:00-05:00"
On Sunday, June 4, 2023 at 11:06:51 PM UTC-5 vince wrote:
> Your syslog should show something like....
> Jun 4 21:00:20 pi4 weewx[10457] INFO user.belchertown: New forecast file
> downloaded to
> /home/pi/weewx-data/public_html/weewx_belchertown/json/forecast.json
>
> And the timestamp of the first record of that forecast.json file should
> match that date....
> {"timestamp": 1685937620, "current": [{"success": true, "error": null,
> "response": {"id": "KSEA", "dataSource": "METAR_NOAA", "loc": {"long":
> -122.31666666667, "lat": 47.45}, "place"
> : {"name": "seattle/metro", "city": "seattle/metro",........
>
> pi@pi4:/var/www/html/weewx/weewx_belchertown $ date -d @1685937620
> Sun 04 Jun 2023 09:00:20 PM PDT
>
>
> On Sunday, June 4, 2023 at 6:12:47 PM UTC-7 Mark Jenks wrote:
>
>> It's downloading it form aeris and I see it in the API as being queries.
>> Also I see it in the logs and the json is downloaded.
>>
>> Jun 4 20:00:27 fedora journal[3171401]: weewx[3171401] INFO
>> user.belchertown: New forecast file downloaded to
>> /var/www/html/weewx/belchertown/json/forecast.json
>>
>> But I have no forecast on the webpage, and don't see any errors.
>>
>> Not sure where to look next..
>>
>> [[Belchertown]]
>> skin = Belchertown
>> HTML_ROOT = /var/www/html/weewx/belchertown
>> enable = true
>> # HTML_ROOT = /var/www/html/weewx/belchertown
>> [[[Extras]]]
>> forecast_enabled = 1
>> forecast_api_id = xxxx
>> forecast_api_secret = xxxxx
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/68586c3a-3775-42cd-828c-ca6d6db30407n%40googlegroups.com.