WXforum.net

Weather Station Hardware => Ambient Weather and Ecowitt and other Fine Offset clones => Topic started by: dolfs on March 29, 2017, 04:24:06 AM

Title: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on March 29, 2017, 04:24:06 AM
Over the past 2 years I have exchanged emails with Ambient (and occasionally directly with Fine Offset) about bugs. This was not a continuous conversation, but in spurts. I figured I'd do all of us a favor of collecting all bugs and issues that I know of in one place, so here goes (hope I did not forget anything):

Bugs: Time and timing related

Bugs: Sensor value related
Bugs: UI

Bugs: Network related
Much of what I discuss here can only be observed by "packet sniffing" on the network, or sometimes indirectly if you are measuring data usage.

Issues/Observations

MeteoBrige/WeatherBridge

This is, as far as I know, identical hardware, and basically identical software, except for branding, and perhaps different versions. Caveat is that I don't have a WeatherBridge (it is several times more expensive than buying a TP-LINK TL-MR3020 and licensing MeteoBridge for it), so I am guessing here.

The manner in which both get information from the ObserverIP is to act as a web browser and request the LiveData page. Values are then "scraped" from this page. In order to get the interpretation of the values right, the station settings page is also "scraped" to determine the unit. I am not sure if the latter is scraped each time before the former is.

A possible issue exists here with respect to the delay in LiveData reflecting newly selected units. The 3-5 screen delay (around 1 minute) before new units show up create the possibility that MeteoBridge misinterprets 2-4 screens. In real life this depends on when exactly the MB calls up the LiveData page, and how frequently. I would say it is somewhat likely, but you are probably not changing the settings much, so practical impact may be low. It might be even less of an issue if MB realizes that the converted values appear abnormal and ignores them. Still, it is a problem that would not exist if the LiveData page would always use the current units.

The slower and slower responses from the LiveData page can become a problem for MeteoBridge resulting in sensor values of "--". Only a reboot of the ObserverIP seems to solve this.

The method whereby MB has to screen-scrape web pages from the ObserverIP is extremely cumbersome and potentially error prone. It also wastes bandwidth although this is likely not significant for an in-home network. It would be much, much better, if there was a JSON-API endpoint that would deliver all sensor values, and their units, in JSON format, in a single go. This should not at all be hard to create. Alternatively, documenting the serial port over Ethernet protocol and the packet format from the radios, would allow MB and others to do their own direct interpretation of the sensor values. Even better would be the inclusion of a reliable timestamp in the response, where the timestamp would correspond to when the sensors were read out. If an external application such as MB reads data too often, the timestamp would be the same in subsequent calls, and duplicate data could be avoided.

MB should be receiving the higher decimal precision that is provided to WU. This can be done either by making sure that the LiveData page uses the same precision, or (in addition) in an API implementation.

Final Notes
If anybody knows of any other bugs or issues, you can PM them to me and I can edit this post to stay up to date.
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: alanb on March 29, 2017, 12:34:10 PM
Thanks for the detailed write up.
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on March 29, 2017, 06:23:40 PM
More info:

Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on March 30, 2017, 12:20:39 PM
I have been working with Fine Offset engineering supplying them with packet traces etc., and have been testing a newer version that appears to have solved the network problem where uploads to Wunderground are repeated many times. Still testing a little longer, but appears to improve the volume of traffic sent over the network to WU by a factor of about 6-8 (without reducing the update frequency).
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on April 01, 2017, 08:54:26 PM
More info:

I am having to add things as replies rather than amending the original post because of the size limits on posts. I'll be using WU for Wunderground.com, and OIP for ObserverIP.
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on April 15, 2017, 06:55:51 PM
Version 3.1.8 of the firmware has been released:
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on May 01, 2017, 03:59:31 PM
Version 4.0.1 was released and in limited testing, I found:

You can see the "jittery" behavior starting at 5:30PM on this graph:  WU graph for 4/27 (http://"https://www.wunderground.com/personal-weather-station/dashboard?ID=KCAMOUNT75#history/s20170427/e20170427/mdaily") and continuing in the next several days. Then starting around 9PM on this day I switched back to 3.8.1: WU graph for 4/29 (http://"https://www.wunderground.com/personal-weather-station/dashboard?ID=KCAMOUNT75#history/s20170429/e20170429/mdaily"). Night time is not so great to see the effects so look at the next day and see how smooth things are again.
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on May 23, 2017, 04:01:33 AM
Version 4.0.8 was released.

Notable changes:

Aside from testing that I perform for Ambient and Fine Offset, I operate my OIP without uploads active to either AW.net or WU.com as I use my MeteoBridge to do this instead. This way all uploads, including those to CWOP etc. will use the same sensor values, as they all go through the same calibration curves and altitude setup. MeteoBridge is able to read sensor values from the MeteoBridge ("scraping" the LiveData page) much more frequently, to take advantage (if you are so inclined) of the fact that the OIP internally still receives and updates the outdoor and indoor sensor values approximately every 15 seconds.
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: galfert on May 17, 2018, 11:52:38 AM
This thread did not get enough recognition for the amount of time and effort put into all of this. I want to say thank you for not only tracking all this but for working with the manufacture. So what is the status of the ObserverIP and its latest firmware? Maybe I missed a newer thread with more current updates and if so please link that as a response.

Thanks!
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: ice124 on June 13, 2018, 01:19:40 AM
I noticed at midnight Pacific time today (June 12th) my ObserverIP started misbehaving. It has been "rebooting" itself constantly and only reported a dozen or so times to ambientweather.net and to my Meteobridge. It's bad enough that I generally can't even connect to its webpage.
On power cycling, I could connect to it for about 30 seconds before it locked up again and eventually rebooted.

I traced the issue to something with publishing to ambientweather.net. When I set that setting to "never", the ObserverIP s back to working correctly again and reporting data through my Meteobridge.

I contacted Ambient support and let them know what happened to me. If I hear back, I'll post the response here. If anyone else is seeing similar issues starting today, I suggest disabling your ObserverIP's reporting to Ambient Weather for the time being.

Edit on 6/13/18:
I heard back from Ed that this is a known issue. He suggested that I downgrade my firmware to 4.3.6.
Title: Re: Ambient ObserverIP list of bugs/known issues
Post by: dolfs on June 14, 2018, 03:35:03 AM
We're testing an experimental new FW right now so that you'll be able to keep the other fixes and improvements made through 4.4.3 and keep publishing to AW.net. We'll let you know as soon as it is confirmed good.