Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

Solved by johnnyt

Go to solution

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.

  • Author

have done update, turned on debug level, and restarted NS. see attached log segment.

 

 

weatherflowremotenotworking.txt

 Error querying station 77677 information: NOT FOUND

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

  • Author

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.

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.

 

  • Author
  • Solution

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.