Of course the driver EcowittHttp relies on a working network connection.
But during boot weewx might be started too early before network is up. In
that exceptional case weewx will crash:
CRITICAL __main__: **** File "/etc/weewx/bin/user/ecowitt_http.py", line
6775> CRITICAL __main__: **** if self.collector.device.model is not None:
CRITICAL __main__: **** File "/etc/weewx/bin/user/ecowitt_http.py", line
13722> CRITICAL __main__: **** version_data = self.api.get_version()
CRITICAL __main__: **** File "/etc/weewx/bin/user/ecowitt_http.py", line
7224> CRITICAL __main__: **** raise DeviceIOError(f"Failed to obtain
'get_version' data: {e}")> CRITICAL __main__: ****
user.ecowitt_http.DeviceIOError: Failed to obtain 'get> CRITICAL __main__:
**** Exiting.
I myself have resolved that issue on my raspberry pi4 by enabling "wait on
network" before starting other services.
--
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].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/8abdb32e-9590-40c9-9649-664daaafd85cn%40googlegroups.com.