One other thing to try: ask systemd to wait until the network is up before
trying to start weewxd.

Because you did a DEB install, your systemd unit file should be located in
/lib/systemd/system/weewx.service. Under the [Unit] section, add the
following two lines:




*[Unit]Wants=network-online.targetAfter=network-online.target*

-tk


On Tue, Feb 6, 2024 at 12:15 AM Neil B <n...@yemmit.co.uk> wrote:

> Morning.
>
> Good suggestion on "loop on init", however I already have this setting
> enabled (and have for a long time). I believe this setting applies once the
> main loop starts, which is much later in the process.
>
> The idea of delaying the start up of WEEWX is good, and I am in favour of
> this approach. Question is (for the Linux novice) - how can you implement
> this? Any thoughts?
>
> Thanks
> Neil
>
> On Tuesday 6 February 2024 at 00:13:55 UTC Tom Keffer wrote:
>
>> All good suggestions.
>>
>> For *loop_on_init*, see this link
>> <https://www.weewx.com/docs/5.0/reference/weewx-options/general/#loop_on_init>
>> .
>>
>> On Mon, Feb 5, 2024 at 3:29 PM Graham Eddy <g...@geddy.au> wrote:
>>
>>> vantage device is on LAN. wireless interface normally not ready until
>>> long after weewx tries to start, unusual (but not impossible) for ethernet
>>> interface to be so late. try the ‘loop-on-init = 1’ in weewx.conf, or
>>> insert a delay in the startup file
>>> *⊣GE⊢*
>>>
>>> On 6 Feb 2024, at 8:08 am, Neil B <ne...@yemmit.co.uk> wrote:
>>>
>>> Feb 05 20:54:10 WEATHER weewxd[877]: DEBUG weewx.drivers.vantage: Opened
>>> up ethernet host 192.168.1.249 on port 22222. timeout=4.0,
>>> tcp_send_delay=0.5
>>>
>>>
>>> --
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/F018B0FD-2319-41C3-88B1-10EC577E47FB%40geddy.au
>>> <https://groups.google.com/d/msgid/weewx-user/F018B0FD-2319-41C3-88B1-10EC577E47FB%40geddy.au?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/b223aeb6-4150-4644-9d41-bc39bbed268en%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b223aeb6-4150-4644-9d41-bc39bbed268en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEBYGzhzS9%3Da6jkxzQQCT2Jt5qgRzaqFjR5RGt%2B4O9_JZA%40mail.gmail.com.

Reply via email to