ioBroker adapter to parse Weatherflow UDP packets
Weatherflow UDP receiver
Adapter to receive and parse UDP messages from Weatherflow smart weatherstations like Weatherflow Tempest.
The adapter should be able to parse older stations like “Air” and “Sky” as well (but this is untested).
Standard port the adpater listens on is 50222 but can be changed in setup.
The adapter provides a minimum set of setup options.
The listening port can be changed, which should not be required as the port the weatherstation hub is sending can not be changed, to my knowledge.
The station height in meters above sea level is used to calculate the reduced pressure from local pressure as is provided by the station. Just use the same height as entered in the App. There may be small differences compared to the reduced pressure in the app depending on the formula used. The adapter uses the formula the german weather service DWD is using (http://dk0te.ba-ravensburg.de/cgi-bin/navi?m=WX_BAROMETER; nur noch hier).
When the debug checkbox is ticked, the adapter creates a lot of output in the log file. Should only be used for debugging.
The adapter provides all parameters that are sent over the UDP protocol.
States are in a tree below the hub and station ID. Caution: When sending data to databases for long term archiving, aliases for the states should be used to not lose the series if a unit needs replacement.
There are some differences to what the Tempest-App provides, as the App gets the already processed data back from weatherflow servers.
Given sufficient battery power, “device_status” and “obs_st” data and is updated every minute, “rapid_wind” is updated every 3 seconds.
“evt_precip” and “evt_strike” are only updated (and created) when they happen.
“hub_status” is updated every 10 seconds.
Values from the station and the adapter calculated (see below) values are only created when received or due for calculation. This means it might take up to 24h to see everything, except rain start and lightning strike events, which might take days, weeks, months to appear ;-)
In addition to the data provided by the system, the adapter calculates some additional data, which all have “adapter calculated” as a name suffix:
The protocol sends a lightning distance of 0 when no lightning was detected. Values of 0 are modified to 999 to avoid the impression that lightning strikes are directly overhead.
(womi) updated to reflect latest requirements on dependencies, node.js, js-controller etc.
(Scrounger) calculation of absolute humidity added
(womi) Update js-controller >3.0.0; checked compatibility with js-controller 4.0
(womi) Fixed “invalid date” in timestamps
(womi) Compatibility with Admin 5; Stable version
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Copyright (c) 2024 womi woessmich@gmail.com