weewx-purple error: no fresh concentrations to insert

73 views
Skip to first unread message

Charlie Fortner

unread,
Mar 27, 2024, 10:15:45 PM3/27/24
to weewx...@googlegroups.com

Problem
I'm getting  Found no fresh concentrations to insert errors thrown by weewx-purple and the data is spotty:
Did I change anything? I don't think so. It was working for months and months and then it seems to have stopped. I rebooted the purple air sensor several times.

I'm fairly certain that the connection to the purple air sensor is OK. My home assistant reads from the same sensor and its data is continuous.

System
Weewx 4.10 running on a Debian VM
With weewx-purple extension version 3.9
PurpleAir PA II Flex sensor

The log is attached.

The pertinent section of weewx.config:
[Purple]
    poll_secs = 120
    [[Proxy1]]
        enable = False
        hostname = proxy1
        port = 8000
        timeout = 5
    [[Proxy2]]
        enable = False
        hostname = proxy2
        port = 8000
        timeout = 5
    [[Proxy3]]
        enable = False
        hostname = proxy3
        port = 8000
        timeout = 5
    [[Proxy4]]
        enable = False
        hostname = proxy4
        port = 8000
        timeout = 5
    [[Sensor1]]
        enable = True
         hostname = purpleair-c2a3.lan
        #hostname = 192.168.2.173
        port = 80
        timeout = 10
    [[Sensor2]]
        enable = False
        hostname = purple-air2
        port = 80
        timeout = 66

I'd welcome any ideas about what's going on here.



Charlie
--
Atlanta, GA
weewx_purple_no_fresh_concentrations_error.log

John Kline

unread,
Mar 27, 2024, 10:29:20 PM3/27/24
to weewx...@googlegroups.com
It’s your long poll interval interacting with my check to see how fresh the concentration is.  Change poll_secs in the Purple section of weewx.conf to something shorter.  Let’s try 30s and report back.

In the meantime, I’ll look to change the check for freshness.  It doesn’t interact well with 120s poll interval.

On Mar 27, 2024, at 3:15 PM, Charlie Fortner <cha...@rentrof.net> wrote:



Problem
I'm getting  Found no fresh concentrations to insert errors thrown by weewx-purple and the data is spotty:
<image.png>
--
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/d28d830d-a63e-441f-a34d-f8a0266f5ce9%40app.fastmail.com.
<weewx_purple_no_fresh_concentrations_error.log>

John Kline

unread,
Mar 28, 2024, 12:25:19 AM3/28/24
to weewx...@googlegroups.com
I’ve released purple v3.9.1.  It considers readings stale at the max of 120s and 3 * poll_secs.

You can put your poll_secs back to 120 after you install v3.9.1.

On Mar 27, 2024, at 3:29 PM, John Kline <jo...@johnkline.com> wrote:



Charlie Fortner

unread,
Mar 28, 2024, 2:59:09 AM3/28/24
to weewx...@googlegroups.com
On Wed, Mar 27, 2024, at 18:29, 'John Kline' via weewx-user wrote:
It’s your long poll interval interacting with my check to see how fresh the concentration is.  Change poll_secs in the Purple section of weewx.conf to something shorter.  Let’s try 30s and report back.

Yep. That did it! I changed poll_secs to 30 and now things are working as expected. Thanks for the speedy response.


Charlie
Reply all
Reply to author
Forward
0 new messages