On Friday, February 26, 2021 at 6:30:46 AM UTC-8 Max wrote: > After some traffic analysis, I suppose that there is some kind of > handshake or perquisite to be done before the station provides > corresponding data after a restart. It becomes apparent that a TCP request > to 47.102.253.116:80 (rtpdate.ecowitt.com) is done repeatedly and also > different calls to ntp servers from baidu, google and amazon. Is there some > driver for weewx that can emulate such a handshake locally or is there > another way to get the station to send weather data? > > There's not going to be anything weewx can do for this one.
Sounds like you're running into the watchdog timers in the Ecowitt hardware needing to phone home to China. There's a long discussion on wxforum.net at https://www.wxforum.net/index.php?topic=40437.0 (read reply 11 specifically). The firmware uses a HTTP transaction to detect if they have Internet connectivity and then some NTP transactions to set the clock on the hardware so they can roll over accumulated rain at local midnight. Neither can be disabled by the user. Ecowitt has declined multiple requests to turn this off or alternately make it user-configurable and optional, but at least they've responded with what the firmware expects to see, so folks have cooked up a way to fake it out, although it's not trivial to do: * set up a fake web server that responds to the web part as the firmware expects * set up a fake time server so it can then get time of day on your LAN only * fake out DNS with dnsmasq or the like so their expected hostnames resolve to your fake services Not easy to do but some folks in the thread on wxforum.net have gotten there. I might add that it seems like the gear might also check for firmware updates as well, but it's uncertain to me how that works or if that has another watchdog timer that needs to do something else in there. (and yeah - this kind of stuff is really disturbing) -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0d6ec3ae-457d-4929-bc85-2f10227d9012n%40googlegroups.com.