Jump to content

added remote station but get "Failed to get station units"


johnnyt
Go to solution Solved by johnnyt,

Recommended Posts

Posted

NS been working great. Today I added a remote station ID and the NS added all the ISY nodes as expected but gave the message "Failed to get station units, unable to continue" and the ISY node values are 0. I restarted the NS and waited a couple of short polls in case things self corrected but still not working.

Is it because I'm not authorized to get that data, even though it's available on the web at https://tempestwx.com/station/77677/ or something else?

I've attached relevant chunk of log (with api x'ed out)

weatherflow-failedtogetunits.thumb.png.76bf9c0e7b1284ccc32ec20e1be3d782.png

weatherflow-addedremote.thumb.png.f966ef363722fe733f36fda51f639648.png

 

weatherflow-addedremote.txt

Posted

I don't know why. The status status should be 0 but it's not.  

There's a bug in the error message as it should show the reason the status is not 0, but it doesn't.  I've fixed that in version 3.0.27 which I just pushed to the store.

Update to 3.0.27 and restart it.  The message "weatherflow:query_station_uom: Error querying station 77677 information:" should now show the reason it failed.

The WeatherFlow API documents don't document what the various failures are or what they mean.  So if the message isn't obvious, you'll have to contact WeatherFlow to get more details.

Posted

 Error querying station 77677 information: NOT FOUND

I would guess that means there is no station ID 77677 in WeatherFlow servers.

Posted

Okay. maybe Tempest doesn't let my API see this data (even though I can see it on the web). I'll report this to them and see what they say.

Posted

Is this your data you are trying to add?

To use the API, you need to have the access token for the data. Weatherflow has a page on their site for you to register for the token. If it is not your data, you can see publicly shared data via a web page, but not from the API.

 

  • Solution
Posted

Weatherflow support confirmed that one is not able to see other station data with API, even though the data is available via browser for all to see. Aside from asking them to make other station data available through API (limit it to a few, if needed) I also asked them to consider making the error message reflect what the error actually is, e.g. "NOT AUTHORIZED" or something like that, instead of "NOT FOUND".

Guest
This topic is now closed to further replies.

×
×
  • Create New...