Comments (17)
The devices in the plugin only expose the public data that the WeatherFlow folks document in their API (and explicitly state s for public consumption). They also provide slightly different information based on whether you're using a UDP plugin that only provides the local raw data collected by your Tempest/Sky/Air device, or the Websocket plugin, which provides curated data from WeatherFlow servers based on readings your Tempest/Sky/Air devices sends to them. Rain accumulation should be included in the Websocket data.
Did you email them directly or did you post a question on their web forum? If you posted to their forum could you provide a link to the discussion there?
from weatherflow-indigo-plugin.
For the moment, I'm tracking rain accumulation from the web socket side of things which is ok. Better than nothing, but would still rather have that data from my Tempest. When I go to the tempest webpage for my device, (the mostly blue page...) I see there is a listing for Rain(Today) and Rain(Yesterday). That data is also available on the iOS app for Tempest too.
However I absolutely understand that rain accumulation data may not be available via the API, even though it's available on the web page.
I did write directly to Tempest and got the following response from "William Gidley(WeatherFlow Support)"
_Thanks for writing in. All data is stored on the station Hub - Tempest can store about 1 hour worth of data on-board the device, but that is only used if it can't send the data to the Hub (such as during a power outage). I'm not sure why the 3rd party software that you're using doesn't show it - you can view our API documentation and see that it's listed under the UDP broadcasts (no internet connection needed, so no data from the cloud) and under the REST api (internet connection needed, data comes from the cloud).
Link to the API: https://weatherflow.github.io/SmartWeather/_
I did take a look at the link he provide, but I'm not nearly smart enough to make heads or tails of what is there. On one of the links for GET Latest Station ObservationSo, I do see where "precipitous accumulation local" is there, but not sure if that makes it available to harvest.
And while I almost understand how all this works, and understand that just because the Tempest device tracks Rain accumulation to display the webpage, that it may not really, REALLY be available to harvest via the API. I guess I was halfway thinking the API had been updated to include this info after you worked on your plugin, so was hoping an update might be able to include it.
And I suppose I could try to glean this information from the "raw_obs" data as well.
Regardless, thanks again for all your work!
from weatherflow-indigo-plugin.
It sounds to me like you might just want to add a Tempest UDP device into Indigo, which should populate the precipitation
property with the data you're looking for. There's no reason you can't use both a Websocket and a UDP device at the same time and just reference different data from each. (I have the older Air/Sky devices and not a Tempest, so I can't test confirm this for myself.)
from weatherflow-indigo-plugin.
So I've actually had both the Websocket and the UDP device in Indigo from Day 1. Our rainfall has been almost non-existent, but today, we had shower. The webpage for my station says that I've and .38" of rain today, which is probably right. This is the data I'm trying to get into indigo, but it doesn't show up in either the UDP or the Websocket Device.
I've recently noticed that the plugin has created a folder of variables, including one called "87843_precip_accum_local_yesterday", but am not sure what that number actually is, or if/when it is updated. I would assume that it is what it says... total rainfall from yesterday. But we didn't have any rainfall yesterday, much less the 5.xxxx number it shows.
What I'm really hoping for is a way to get the "Rain Today" information from the Tempest device that shows up on the webpage into Indigo in real time, but just don't see how that is supposed to happen.
from weatherflow-indigo-plugin.
I've recently noticed that the plugin has created a folder of variables, including one called "87843_precip_accum_local_yesterday", but am not sure what that number actually is,
That's documented here. That is basically data that the WeatherFlow team says isn't actually publicly supported and may change or be removed in the future, so I didn't want to directly support it as properties in the plugin. In a nutshell, any of this summary data that is seen in an event is exposed as those variables.
The best thing you can probably do is enable debugging in the plug-in for a while when it's raining and see if you can identify where/how the rain is being reported. I'll try to do this myself the next time we have rain here (hopefully next Monday).
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
So here’s what I know, which I freely admit isn’t much. My webpage is showing a total of .09” of Rain (Today). The way I think that the Tempest delivers its observations is via Metric, so I changed the settings for the webpage for Rain to mm, and so now my webpage reads 2.3mm of Rain(Today).
In looking at the variables automatically created in Indigo by the plugin, I see nothing that resembles 2.3mm, .23cm, or even .09”.. And the same for both the UDP and Websocket Indigo devices. None of those digits shows up anywhere. In all cases, ZERO sees to be the data in any and all of the places that holds data for precipitation. (The rain was earlier this afternoon, its now after 10PM)
So I put the plugin into debug mode, took a sample of that data from the Indigo log, and grabbed data from one observation all the way to the next observation. I put that data into a document, searched for 2.3, .23 and .09, and none of those numbers show up in the debug data.
So to me that means that the Rain(Today) data that I see on the web page is either not available to the plugin, or the plugin isn’t setup to gather that data.
If that data isn’t available to the plugin, I’m hoping a firmware upgrade for the Tempest one day might allow Rain Today data to be gathered, but it just doesn’t seem possible now.
Please don’t misunderstand my post here. I’m happy with the Tempest and even more happy with your plugin, which just makes everything soooo much better. While I’d like to have this data, not having it is far from the end of the world. Please keep up the great work, and I look forward to one day hopefully gathering that data into Indigo.
from weatherflow-indigo-plugin.
Thanks for the update. I'm still hoping to do some debugging of this in the next day or two when we get some rain. Probably the best thing you could do in the meantime would be to bring this issue up in the developers section of their community forum. The more publicity about things like this the more likely they are to respond.
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
So I just did a bit of debugging by locating a rain front on the radar at weather.com then using the WeatherFlow station map to find stations that were currently reporting rain and used that to test the plugin. From what I can see everything is being reported properly. The WeatherFlow website showed the station I was monitoring was reporting 0.13" of rain, which is approximately 3.3 mm. Both the debug log from the plugin and the device details in Indigo showed the rain_accumulated_final
field (Rain Accumulated Final) shows 3.297971
which rounds up to 3.3 mm. As it was raining I also saw the value of the precipitation
field (Precipitation Accumulated) change over time.
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
Interesting. The device I was testing with is station ID 27081, and it's showing firmware revision 134 in its observations. If you configure the plug-in to use that station ID & enable debugging you should be able to confirm that for yourself.
My understanding is that rain_accumulated_final provides the total rainfall since midnight local time, so it should reset to 0 each night at midnight.
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
Could you let me know what your station ID is? I'd like to monitor it for a bit to see if I can spot anything.
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
from weatherflow-indigo-plugin.
Related Issues (20)
- WeatherFlow Smart Weather Error Error in plugin execution runConcurrentThread: HOT 3
- WeatherFlow Smart Weather Error Error in plugin execution runConcurrentThread: HOT 1
- Net Cat HOT 1
- Feature Requests HOT 1
- Reloading plugin "WeatherFlow Smart Weather 0.2.1" HOT 2
- Barometric pressure readings HOT 13
- WeatherFlow Smart Weather Error Error in plugin execution runConcurrentThread HOT 6
- Misspelling error HOT 3
- Fix exception handler HOT 2
- Device not updating HOT 9
- Version 0.3.0 HOT 4
- WeatherFlow Smart Weather Error in plugin execution runConcurrentThread in v3.1 HOT 9
- Error Messages HOT 20
- TypeError list indices integers not floats 0.3.3 HOT 2
- WeatherFlow forecast availability HOT 4
- Indigo 2022 HOT 12
- Data doesn't refresh for UDP or WebSocket HOT 2
- Tempest Rain Accumulated Fails for those outside US/Canada HOT 2
- Tempest Wind in Beaufort scale?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weatherflow-indigo-plugin.