I have a few more things to add: mostly surrounding rule triggers (on events like “Rain started” or “Lightning Strike”).
It would be happy to contribute it so that it can become an official binding, though it probably makes sense to add everything on my list before that, as should it become accepted as a contribution, making changes would become much more difficult.
I am just testing everything out with the new 2.4 release of OpenHAB. If all goes well, I should have a new version ready to go in a few days.
I think the first set of messages should probably be switched to debug rather than info, now that things are working pretty smoothly.
I think I removed the accumulated rain channel because it’s not something that comes from the SmartWeather Hub, but rather is generated by SmartWeather’s cloud service. You’re likely seeing it because you installed the binding before I removed it, and OpenHAB doesn’t automatically track those changes. If you sort through your items, you’ll probably find and delete it.
I’ll try to remember to re-assign the log level for that first set of messages.
I’ve posted a new version of the Weatherflow Smart Weather binding built for OpenHAB 2.4.0 to the download site above. I’ve been running it for about 2 weeks and it seems to be stable.
Features from previous release:
Less verbose logging by default. Should keep your log files cleaner.
Includes 3 triggers for use with the new rules engine: Lightning Detected, Precipitation Started and Rapid Wind. I’ve only really tested the Rapid Wind trigger, and depending on how your station is configured, this could mean a rule being triggered every 3 seconds.
If anyone is interested in having some samples of rules that use these new triggers, let me know and I’ll throw some together that print out the data available.
This is basically the level of functionality that I’d hoped to achieve when I started working on this binding. If anyone has any further feature requests, please let me know.
As always, feel free to let me know if you have any questions or comments!
I’m actually not sure how to go about doing that; I’ve only ever used PaperUI/HABmin to set things up.
I suspect that you’d need to create a Bridge thing that specified the hub binding and include the hub serial number as a configuration value. The actual air/sky sensors would be contained within the bridge entry. Based on what other people are doing with other bindings, something like:
Bridge weatherflowsmartweather:hub:YOUR_HUB_SERIAL "My SmartWeather Hub" [ serial_number="YOUR_HUB_SERIAL" ] {
Thing weatherflowsmartweather:air:YOUR_HUB_SERIAL:YOUR_AIR_SERIAL "My Smartweather Air" [ serial_number="YOUR_AIR_SERIAL" ]
}
Hopefully this will get you close to a working configuration.
I’m trying to setup an OH server at home. I get some troubles with this binding: when I startup OpenHab server it recognize Weatherflow Hub but just after a moment in log I get this
2019-06-25 18:41:00.646 [WARN ] [atherflowsmartweather.util.UdpServer] - Server closed unexpectedly: Bad address (Receive failed)
java.net.SocketException: Bad address (Receive failed)
at java.net.PlainDatagramSocketImpl.peekData(Native Method) ~[?:?]
at java.net.DatagramSocket.receive(DatagramSocket.java:743) ~[?:?]
at org.openhab.binding.weatherflowsmartweather.util.UdpServer.runServer(UdpServer.java:351) [248:org.openhab.binding.weatherflowsmartweather:2.4.0.201901080330]
at org.openhab.binding.weatherflowsmartweather.util.UdpServer$1.run(UdpServer.java:219) [248:org.openhab.binding.weatherflowsmartweather:2.4.0.201901080330]
at java.lang.Thread.run(Thread.java:748) [?:?]
I took a look at the latest firmware documentation and there isn’t anything new available from the local API. It’s unclear if the work that’s been done in the past 6 months or so to make micro-calibration adjustments is happening through the cloud API or if it’s being folded into the results sent from the local broadcasts.
Mine is very stable. Works well and is accurate. Great functionality and works with openhab on local network. There are some reviews on internet. My opinion is that this is currently best weather station for smart home.
I’m in Australia and have had my WeatherFlow station for well over a year and I know there are quite a few other WeatherFlow owners in Australia, so they definitely ship here.
Awesome. Did you buy from them or Amazon? Their support told me the Rf frequencies are different and they can’t ship to Australia.
I’d love to get one, thanks for helping with advice!