johnnyt Posted February 6, 2023 Share Posted February 6, 2023 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-addedremote.txt Link to comment
bpwwer Posted February 7, 2023 Share Posted February 7, 2023 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. Link to comment
johnnyt Posted February 7, 2023 Author Share Posted February 7, 2023 have done update, turned on debug level, and restarted NS. see attached log segment. weatherflowremotenotworking.txt Link to comment
bpwwer Posted February 7, 2023 Share Posted February 7, 2023 Error querying station 77677 information: NOT FOUND I would guess that means there is no station ID 77677 in WeatherFlow servers. Link to comment
johnnyt Posted February 7, 2023 Author Share Posted February 7, 2023 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. Link to comment
DennisC Posted February 8, 2023 Share Posted February 8, 2023 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. Link to comment
Solution johnnyt Posted February 9, 2023 Author Solution Share Posted February 9, 2023 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". Link to comment
Recommended Posts