Re: Openweathermap Data
Posted: Tue 13 Jul 2021 9:42 pm
by Whizzwoz
hello paul this is what I get with the api:
[{"id":"60e101f009e7430001b9f34b",
"created_at":"2021-07-04T00:33:52.423Z",
"updated_at":"2021-07-04T00:33:52.423Z",
"external_id":"CMX-2107040033",
"name":"Lancing",
"longitude":-0.315,
"latitude":50.835,
"altitude":5,
"rank":10}]
To me it does not seem to be updated,I was going to try and delete the station and replace it, but I do not understand the comands on openweathermap site.
How do you use the comands?
Cheers Warren.
Re: Openweathermap Data
Posted: Wed 14 Jul 2021 10:05 am
by Whizzwoz
Hello Yes I am now getting this:
2021-07-14 05:45:00.353 OpenWeatherMap: URL =
http://api.openweathermap.org/data/3.0/ ... appid=<key>
2021-07-14 05:45:00.353 OpenWeatherMap: Body = [{"station_id":"60e101f009e7430001b9f34b","dt":1626237900,"temperature":16,"wind_deg":311,"wind_speed":2.2,"wind_gust":4,"pressure":1017.2,"humidity":
I did not copy it all but now seems to be sending data but lancing does not show up on the sites map.Maybe it takes time?
Plus looking the station up:
[{"id":"60e101f009e7430001b9f34b",
"created_at":"2021-07-04T00:33:52.423Z",
"updated_at":"2021-07-04T00:33:52.423Z",
"external_id":"CMX-2107040033",
"name":"Lancing",
"longitude":-0.315,
"latitude":50.835,
"altitude":5,
"rank":10}]
Yes I have looked at postman but cant get my head around how to use the commands.
Cheers Warren
Re: Openweathermap Data
Posted: Wed 14 Jul 2021 1:13 pm
by Whizzwoz
Hello Mark,
I get this:
[{"type":"h","date":1626220800,"station_id":"60e101f009e7430001b9f34b","temp":{"max":17.6,"min":16.9,"average":17.2,"weight":4},"humidity":{"average":80,"weight":4},"wind":{"deg":335.55,"speed":0.87},"pressure":{"min":1017,"max":1017.1,"average":1017.03,"weight":4},"precipitation":{"rain":0}},{"type":"h","date":1626231600,"station_id":"60e101f009e7430001b9f34b","temp":{"max":17.3,"min":16.6,"average":17.3,"weight":1},"humidity":{"average":78,"weight":1},"wind":{"deg":322.08,"speed":1.33},"pressure":{"min":1016.8,"max":1016.8,"average":1016.8,"weight":1},"precipitation":{"rain":0}},{"type":"h","date":1626224400,"station_id":"60e101f009e7430001b9f34b","temp":{"max":18.2,"min":17.6,"average":17.95,"weight":4},"humidity":{"average":78.5,"weight":4},"wind":{"deg":313.72,"speed":1.23},"pressure":{"min":1016.9,"max":1017.1,"average":1017.03,"weight":4},"precipitation":{"rain":0}},{"type":"h","date":1626228000,"station_id":"60e101f009e7430001b9f34b","temp":{"max":18.1,"min":17.5,"average":17.88,"weight":4},"humidity":{"average":76.25,"weight":4},"wind":{"deg":314.84,"speed":1.76},"pressure":{"min":1016.7,"max":1016.8,"average":1016.78,"weight":4},"precipitation":{"rain":0}},{"type":"h","date":1626235200,"station_id":"60e101f009e7430001b9f34b","temp":{"max":16.6,"min":15.4,"average":16.07,"weight":3},"humidity":{"average":80.33,"weight":3},"wind":{"deg":316.59,"speed":1.12},"pressure":{"min":1016.9,"max":1017.1,"average":1016.97,"weight":3},"precipitation":{"rain":0}},{"type":"h","date":1626238800,"station_id":"60e101f009e7430001b9f34b","temp":{"max":16.8,"min":16,"average":16.75,"weight":2},"humidity":{"average":80,"weight":2},"wind":{"deg":308.65,"speed":2.42},"pressure":{"min":1017.1,"max":1017.2,"average":1017.1,"weight":2},"precipitation":{"rain":0}},{"type":"h","date":1626242400,"station_id":"60e101f009e7430001b9f34b","temp":{"max":16.6,"min":16.1,"average":16.32,"weight":4},"humidity":{"average":80,"weight":4},"wind":{"deg":315.34,"speed":2.77},"pressure":{"min":1017.1,"max":1017.3,"average":1017.18,"weight":4},"precipitation":{"rain":0}},{"type":"h","date":1626246000,"station_id":"60e101f009e7430001b9f34b","temp":{"max":17.4,"min":16.9,"average":17.17,"weight":3},"humidity":{"average":79.67,"weight":3},"wind":{"deg":329.51,"speed":2.79},"pressure":{"min":1017.4,"max":1017.4,"average":1017.4,"weight":3},"precipitation":{"rain":0}},{"type":"h","date":1626249600,"station_id":"60e101f009e7430001b9f34b","temp":{"max":18.2,"min":17.7,"average":17.88,"weight":4},"humidity":{"average":79.25,"weight":4},"wind":{"deg":332.11,"speed":3.45},"pressure":{"min":1017.4,"max":1017.7,"average":1017.58,"weight":4},"precipitation":{"rain":0}},{"type":"h","date":1626253200,"station_id":"60e101f009e7430001b9f34b","temp":{"max":19.7,"min":18.8,"average":19.23,"weight":4},"humidity":{"average":77.5,"weight":4},"wind":{"deg":338.08,"speed":3.79},"pressure":{"min":1017.8,"max":1018,"average":1017.88,"weight":4},"precipitation":{"rain":0}},
{"type":"h","date":1626256800,"station_id":"60e101f009e7430001b9f34b","temp":{"max":19.6,"min":19.6,"average":19.6,"weight":1},"humidity":{"average":77,"weight":1},"wind":{"deg":319,"speed":3.6},"pressure":{"min":1018,"max":1018,"average":1018,"weight":1},"precipitation":{"rain":0}}]
Warren