Hi, I just bought this station, can you tell me how to configure weewx.conf to intercept its data string?
I thank you in advance. Il giorno lunedì 19 novembre 2018 16:12:54 UTC+1, Tanwe Hyalin ha scritto: > > This post is intended to be a small summary of my experience with this > Fine Offset model (WH2650) and possibly give information to further support > these type of stations in weewx. > > I recently bought a new weather station to replace a broken WH3080, the > station is a Walbeck Halley (Fine Offset WH2650 clone). > So why this weather station? Well, I saw a bunch of Bresser stations but I > was unsure about which ones I could obtain data to use with WeeWX, > unfortunately investing in Davis was way above what I could spend on this, > and several stations, like Ambient, Aercus, etc, can be difficult to find > in Europe and besides that those are basically Fine Offset clones, so I > started looking for clones, and came across Froggit, Conrad and Waldbeck. > The Walbeck Halley and Huygens seemed to be really affordable, specially > the Halley, with no console, just 80€ and I knew I could grab data as it > said on the listing it was capable of sending data to Weatherundeground > directly, so at the worst case I would use my router firewall to redirect > traffic to my raspberry pi and the interceptor driver. > After receiving the station I quickly realized that it had no web > interface (the listing made no mention of this, but I still hoped it had), > to configure it you need an android/ios app, I also could not connect to it > via telnet, and using rtl_433 to connect directly was a mixed bag (despite > the station being a 868mhz one rtl_433 can still search for that frequency) > due to it not find the wireless indoor temperature, humidity and barometric > sensor. So interceptor driver it was and after redirecting the traffic it > worked perfectly, I just had to modify it slightly according to this issue > https://github.com/matthewwall/weewx-interceptor/issues/28. I also > noticed something interesting about the wu submission: > ID=XXXXXXXX&PASSWORD=XXXXXXXX&tempf=64.4&humidity=64&dewptf=52.0& > windchillf=64.4&winddir=259&windspeedmph=5.59&windgustmph=6.93&rainin=0.00 > &dailyrainin=0.00&weeklyrainin=0.00&monthlyrainin=0.00&yearlyrainin=0.00& > solarradiation=655.84&UV=6&indoortempf=68.0&indoorhumidity=63&baromin= > 28.94&baromin=28.49&lowbatt=0&dateutc=2018-11-17%2011:56:5&softwaretype= > WH2650A_V1.2.1&action=updateraw&realtime=1&rtfreq=5 > > > /weatherstation/updateweatherstation.php? > ID=XXXXXXXX > PASSWORD=XXXXXXXX > tempf=66.6 > humidity=63 > dewptf=53.6 > windchillf=66.6 > winddir=213 > windspeedmph=0.00 > windgustmph=0.00 > rainin=0.00 > dailyrainin=0.00 > weeklyrainin=0.00 > monthlyrainin=0.00 > yearlyrainin=0.00 > solarradiation=0.00 > UV=0 > indoortempf=66.9 > indoorhumidity=64 > baromin=29.01 > baromin=28.56 > lowbatt=0 > dateutc=2018-11-17%200:17:5 > softwaretype=WH2650A_V1.2.1 > action=updateraw > realtime=1&rtfreq=5 > > The baromin data shows up two times with two values, one being the > barometer and the other the pressure. > > After reading about these stations WH2600, WH2900, Ambient, Aercus and all > other clones that can connect directly to a network either through a > console or through a observer unit and my own experience it became apparent > that the best way to connect to these would be a driver capable of > mimicking the protocol it uses to connect to the app, thus avoiding the > need to redirect traffic (something that many don't know how to do or > cannot not do themselves to to lack por permissions and/or capable > hardware) unfortunately at the moment it seems that only the HP1000 driver > does something similar. > I tried capturing traffic and analysing the protocol, but there had to be > a easier way, it was then I remembered that I had the app so I could try to > decompile it, with a bit of luck it wouldn't be obfuscated and I was lucky, > it wasn't. > Here are the links to the source code I obtained from the app used by my > station, WsView and another app also by Fine offset that works with the > Console versions, WsTool: > > - WSView > - > > http://www.mediafire.com/file/2ui4r7zvr5awx4i/WSView_1.1.12_source_from_JADX.zip/file > - WSTool > - > > http://www.mediafire.com/file/26hpslg4cht0e10/WSTool_2.4.14_source_from_JADX.zip/file > > It has been sometime since I last developed something in Java, these days > is mostly PHP and Javascript, but from a brief examination of the code, the > protocol sections seem to be quite readable, there's also interesting > insights about the different firmware versions as these two app seem to > share most if not all of the code, including the HP1000 previously > mentioned and many others, so it should not be too hard to develop a small > python script that could directly interface with these stations avoiding > the need for the app (we never know if they will keep updating it to newer > versions of android/ios) to configure the station. It was also interesting > to see the URL's that these apps use to find new firmware versions and the > links to them, who knows maybe someone can reverse engineer or mod it to > give more/better configuration options. > At the moment I'm content with the way the station/interceptor driver is > performing and don't have enough free time to develop a new driver taking > advantage of this information, besides that I have to confess that I'm > really be with networking code, but maybe someone in the community can do > something with it. > > I hope this information helps someone that is either using this particular > station model or another similar, and hopefully can be of any help to a > developer. > > Here are the links I could find about the weather station, including the > different stores were you can get one: > > - Fine offset webpage about the station > - http://www.foshk.com/Wifi_Weather_Station/WH2650.html > - Link to buy in the UK > - > > https://www.hifi-tower.co.uk/Home-Living/Home-Electronics/Weather-Stations/Halley-Professional-Weather-Station-6-in-1-Measurements-Indoor-and-Outdoor-WiFi-App.html > - Link to buy in Germany (cheapest I could find) > - > > https://www.elektronik-star.de/Haushalt-Wohnen/Heimelektronik/Wetterstationen/Halley-Profi-Wetterstation-6in1-Messungen-In-und-Outdoor-WiFi-App.html > - > > https://www.amazon.de/Waldbeck-Profi-Wetterstation-Outdoor-Station-Wetterwarnungen-Live-Wetterdaten/dp/B07JN73RKW > - The company selling these also has multiple local websites for > different countries: > > > - https://www.electronic-star.pt/ > - https://www.elektronik-star.pl/ > - https://www.electronic-star.es/ > - https://www.electronic-star.it/ > - etc. > > > > > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
