my mistake: the pooling is 60 second in weewx engine but the retry waiting
delay, timeout may be too short.
I added a wait before retry = 15 seconds, added timeout to 4s and max_tries
= 2s.
restarted weewx service and check the log file.
So far , no ERRORS in the log file.
Let's close this for now.
[AirLink]
[[Sensor1]]
enable = True
hostname = 192.168.30.14
port = 80
# too much retry on pooling - added the 3 variables below to
decrease the pooling on the airlink device
# How long to wait for a response from the station before giving up
(in
# seconds; must be greater than 2)
timeout = 4
# How long to wait before trying again (in seconds)
wait_before_retry = 15
# How many times to try before giving up:
max_tries = 2
no errors in the log file.
*jlkape@weewx*:*/etc/weewx $* sudo journalctl -u weewx --since "10 minutes
ago" | grep AirLink
Apr 07 10:12:22 weewx weewxd[272549]: INFO weewx.cheetahgenerator:
Generated 1 files for report *AirLink*Report in 0.02 seconds
Apr 07 10:12:22 weewx weewxd[272549]: INFO weewx.imagegenerator: Generated
2 images for report *AirLink*Report in 0.29 seconds
Apr 07 10:13:22 weewx weewxd[272549]: INFO weewx.cheetahgenerator:
Generated 1 files for report *AirLink*Report in 0.02 seconds
Apr 07 10:13:22 weewx weewxd[272549]: INFO weewx.imagegenerator: Generated
2 images for report *AirLink*Report in 0.29 seconds
Apr 07 10:14:22 weewx weewxd[272549]: INFO weewx.cheetahgenerator:
Generated 1 files for report *AirLink*Report in 0.02 seconds
Apr 07 10:14:22 weewx weewxd[272549]: INFO weewx.imagegenerator: Generated
2 images for report *AirLink*Report in 0.29 seconds
Apr 07 10:15:22 weewx weewxd[272549]: INFO weewx.cheetahgenerator:
Generated 1 files for report *AirLink*Report in 0.02 seconds
Apr 07 10:15:22 weewx weewxd[272549]: INFO weewx.imagegenerator: Generated
2 images for report *AirLink*Report in 0.38 seconds
Apr 07 10:16:22 weewx weewxd[272549]: INFO weewx.cheetahgenerator:
Generated 1 files for report *AirLink*Report in 0.02 seconds
Apr 07 10:16:22 weewx weewxd[272549]: INFO weewx.imagegenerator: Generated
2 images for report *AirLink*Report in 0.29 seconds
Le dimanche 7 avril 2024 à 09:11:55 UTC+2, Jean-Luc Kapetanovic a écrit :
> I am running the last version of weewx & belchertown skins. I added
> recently the airlink extension to get the air quality observations. All the
> system components works fine except I found too much errors in the log file
> regarding the fetch of the data on the airlink device. It look like the
> [airlink] extension is pooling intensively the airlink data. Is it possible
> to decrease the pooling frequency to the airlink device as it look like the
> pooling is too high (every seconds in the log file).
>
> Apr 07 08:57:35 weewx weewxd[1104]: *ERROR user.airlink: Could not get
> concentrations from any source.*
>
> Apr 07 08:57:35 weewx weewxd[1104]: INFO user.airlink: collect_data:
> Attempt to fetch from: 192.168.30.14 failed:
> HTTPConnectionPool(host='192.168.30.14', port=80): Max retries exceeded
> with url: /v1/current_condition>
>
> A
>
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/fe312c7c-07ef-4e3a-8f13-2b477031ab94n%40googlegroups.com.