Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Trying to get data from PWS

WILLIAM E WEBB Mar 20, 2019 06:26PM GMT

I have successfully added my PWS. I have also successfully patched Weewx to sent data to OpenWeatherMap.

So far so good.

I have not been able to retrieve any data. I have redacted my api from this string.

The result is the cryptic error: {"code":400001,"message":"Parametr from is required"}

I am probably constructing the request incorrectly. What am I doing wrong?


Up 0 rated Down
WILLIAM E WEBB Mar 20, 2019 06:47PM GMT
Answered my own question. although not shown in the sample "to" and "from" are mandatory. They are in Epoch time UTC, not local.

P.S. The weather data on OpenWeatherMap for Irvine California and neighboring Orange are hilariously off. Its been a long time since Irvine has seen 26 degrees F.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found