It is very easy to add it if you show a small section of the file returned from that link. Use inspect source or save and open the file in a text editor. I’m too busy to add it but you can compare what I changed to add the Last updated time channel. Need to edit 3 files and compile.
I was using wh2600 weatherstation from Froggit with the ambientweather1400ip binding 2.2.2. It was working allright, but some of the items were not received (like wind direction, precipitation, etc.)
I downloaded ambientweather1400ip-2019-05-25 versionn of the binding, but receive an error: “Unable to reach ‘192.168.xx.xxx’, please check that the ‘hostname/ip’ setting is correct, or if there is a network problem. Detailed error: ‘null’”
Ping from openhab server works, observerIP is running and refreshing on that address, and it all worked with earlier version of binding. What do I miss? Please help,
Hi all, i am having an issue with this binding. It works for a while but then the data will go stale and freeze. Disabling the add on in Paper UI and re-enabling it make it work again but only for a couple of hours.
I am running 2.5.0 snapshot on a new raspberry pi and am wondering if this is the issue.
Had the same issue with the freeze. I was unable to solve it with the binding. Then changed to get the data via REGEX which runs now very stable.
If you plan this, too, here is my config:
http.cfg
Number WeatherWindSpeed2 "Wind aktuell [%.0f km/h]" {http="<[wheatherstationCache:30000:REGEX(.*?windspeed.*?value=\"(.*?)\".*)]"}
Number RelPress "Relativer Luftdruck [%.2f hPa]" {http="<[wheatherstationCache:30000:REGEX(.*?RelPress.*?value=\"(.*?)\".*)]"}
Number AbsPress "Absoluter Luftdruck [%.2f hPa]" {http="<[wheatherstationCache:30000:REGEX(.*?AbsPress.*?value=\"(.*?)\".*)]"}
Number WeatherIndoorTemp2 "Temp.Dach [%.1f °C]" (gTemperatures) {http="<[wheatherstationCache:30000:REGEX(.*?inTemp.*?value=\"(.*?)\".*)]"}
Number WeatherOutdoorTemp2 "Außen Temperatur [%.1f °C]" {http="<[wheatherstationCache:30000:REGEX(.*?outTemp.*?value=\"(.*?)\".*)]"}
Number WeatherIndoorHumidity2 "FeuchteDach [%.0f]" (gHumidity) {http="<[wheatherstationCache:30000:REGEX(.*?inHumi.*?value=\"(.*?)\".*)]"}
Number WeatherOutdoorHumidity2 "FeuchtAußen [%.0f]" (gHumidity) {http="<[wheatherstationCache:30000:REGEX(.*?outHumi.*?value=\"(.*?)\".*)]"}
Number WeatherWindDir2 "Wind Richtung [%.0f °]" {http="<[wheatherstationCache:30000:REGEX(.*?windir.*?value=\"(.*?)\".*)]"}
Number WeatherWindGust2 "Wind Böe [%.0f km/h]" {http="<[wheatherstationCache:30000:REGEX(.*?gustspeed.*?value=\"(.*?)\".*)]"}
Number WeatherSolarRad2 "Sonnenstrahlung [%.0f W/m²]" {http="<[wheatherstationCache:30000:REGEX(.*?solarrad.*?value=\"(.*?)\".*)]"}
Number WeatherUV2 "UV Strahlungsintensität [%.0f W/m²µm]" {http="<[wheatherstationCache:30000:REGEX(.*?uv.*?value=\"(.*?)\".*)]"}
Number WeatherUVIndex2 "UV Index" {http="<[wheatherstationCache:30000:REGEX(.*?uvi.*?value=\"(.*?)\".*)]"}
Number WeatherRainHourly2 "Regen letzte Stunde [%.1f mm]" {http="<[wheatherstationCache:30000:REGEX(.*?rainofhourly.*?value=\"(.*?)\".*)]"}
Number WeatherRainDaily2 "Regen letzte 24h [%.1f mm]" {http="<[wheatherstationCache:120000:REGEX(.*?rainofdaily.*?value=\"(.*?)\".*)]"}
Number WeatherRainWeekly2 "Regen diese Woche [%.1f mm]" {http="<[wheatherstationCache:120000:REGEX(.*?rainofweekly.*?value=\"(.*?)\".*)]"}
Number WeatherRainMonthly2 "Regen diesen Monat [%.1f mm]" {http="<[wheatherstationCache:120000:REGEX(.*?rainofmonthly.*?value=\"(.*?)\".*)]"}
Number WeatherRainYearly2 "Regen dieses Jahr [%.1f mm]" {http="<[wheatherstationCache:120000:REGEX(.*?rainofyearly.*?value=\"(.*?)\".*)]"}
Thanks @maxico, looks cool and easy. I will give it a try, thanks for config.
This morning I managed to make biding work. It seems the problem was that I did not delete a ambientweather1400ip thing from PaperUI, which worked with the previous version of the binding.
When I properly deleted a thing (I did not succeed in PaperUI, so had to manually delete from jsonDB file) and the added binding and configured .thing file, it started to work. It does not read wind speed though, publishing an error that it does not find a channel for wind speed.
Is there a guide to set this up @maxico? Does the binding still need to be installed?
So far i have installed the HTTP addon, added my details to http.cfg and added the channels to the items file. I have also added the item to the sitemap. all seems to be working so far!
Thanks
I just purchased a rebranded version of these wx stations (Purchased in Australia), the Pantech WH2900 as well as some Ecowitt stuff to play with, GW1000 Wifi gateway, WH68, WH40.
In theory I thought the WH2900 would have worked with this binding as its just a rebranded version of the 2902, but I dont get any respose from the /livedata.htm
And the GW1000 I was hoping to similar to the IPObserver, but no luck there either.
Does anyone here have, or have plans to grab a GW1000 Wifi gateway? They seem to be the new must have, and apparently have an api for local usage.
I have the Pantech branded unit and if you add on a IPObserver you can use both that and your screen at the same time from the outdoor unit you already have. Aliexpress has a seller of the units that will sell you an IP Observer for around $50… see my pervious posts about this for more info as I have posted it at least 5 times in the forum.
It should work IF you purchase the extra unit that can talk to your outside unit called ip observer. Read this thread as it has been mentioned a number of times and you will get extra info by doing so.
This binding allows you to get the weather station data if your internet connection goes down as it fully local.
Only the bare minimum to keep my setup working, see previous posts on reasons why. So far it is working on Openhab 2.5 stable. If you want it looked at then you would need to gather the debug log output from the binding to show what it was doing when it stopped working.
thanks @matt1 for the feedback.
maybe then I don’t have the current jar?
before taking logs would you have a link to the latest version/jar?
if the problem persists I will post logs
Look at when the file was created, that will tell you the version.
The latest is always found here and is the one that I am using on a clean install of Openhab 2.5 Stable. http://www.pcmus.com/openhab/WeatherStationBinding/
If there are any issues I have not seen them yet, but I am doing hourly reboots at the moment due to developing a few bindings and restarting Openhab a lot.
I think the best way forward is for you for power cycle the IP observer off and back on, if that solves it then it is unlikely to be a binding issue. There are a number of firmware versions for the hardware unit and I have given a link in this thread to where known bugs VS firmware versions are listed.
EDIT: