Stale data error

89 views
Skip to first unread message

Jacques Desroches

unread,
Sep 10, 2024, 10:09:23 PM9/10/24
to weewx-user
Hi,
I'm having a new station running good since 18 days.
But, today my site show many "N/A"  as data, my log contain an error:
INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 11 55 71 00 7f 07 4a 00 00

I'm having an AcuRite  1036 (Atlas sensors)

Any suggestion?

Thanks, 
Jacques

p q

unread,
Sep 10, 2024, 10:14:56 PM9/10/24
to weewx...@googlegroups.com
Do you have a Acurite console? Does it show data? If not, it might be bad batteries in the sensor gizmo.
If you're using the USB cable to connect to the console, do you have it set to mode 3? Might want to unplug the USB cable and plug it in again, but I doubt that's really the problem.
Are there other messages?

--
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/4c0278cd-914b-40c2-ac20-01878d1fb04an%40googlegroups.com.


--
Peter Quinn
(415)794-2264

Jacques Desroches

unread,
Sep 10, 2024, 11:14:38 PM9/10/24
to weewx-user
Hi Peter,

My console is displaying data correctly,
Same message is repeating 2 to 12 times, at a time

I'm using Rasperry Pi 4 gb

Regards,
Jacques

p q

unread,
Sep 11, 2024, 12:34:18 AM9/11/24
to weewx...@googlegroups.com
I haven't seen this problem myself. Looking at the driver source, it's failing to decode the signal strength reading, The comments say

# signal strength goes from 0 to 3, inclusive
        # according to nincehelser, this is a measure of the number of failed
        # sensor queries, not the actual RF signal strength

The info after the message is the raw data it's trying to decode. It's just grabbing one byte so, there's nothing fancy going on here.

Can you "reboot" your console? Take the batteries out and unplug it. Check the signal strength indicator on the console. Perhaps replace the batteries in the sensor unit.

It would help to see more than one line of the log.

Also, can you confirm that you're using mode 3 and a USB cable?



--
Peter Quinn
(415)794-2264

Jacques Desroches

unread,
Sep 12, 2024, 12:40:54 AM9/12/24
to weewx-user
Hi Peter,

My station was working well, but I moved the console for a suitable space,
but my house roof is in metal, and console is now at the wall near the roof gable.

WiFi indicator on the console show 4 bars, but from time to time it show no bar.

Yes, I"m using mode 3, I"ve rebooted the console (No batteries, Pi/Console are on UPS)

LOG FILE:
sep 11 20:26:52 NouveauMeteo weewxd[120210]: INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 21 55 71 00 07 07 4a 00 00
sep 11 20:27:10 NouveauMeteo weewxd[120210]: INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 21 55 71 00 07 07 4a 00 00
sep 11 20:27:28 NouveauMeteo weewxd[120210]: INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 21 55 71 00 07 07 4a 00 00
sep 11 20:27:46 NouveauMeteo weewxd[120210]: INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 21 55 71 00 07 07 4a 00 00
sep 11 20:28:04 NouveauMeteo weewxd[120210]: INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 21 55 71 00 07 07 4a 00 00
sep 11 20:28:22 NouveauMeteo weewxd[120210]: INFO weewx.drivers.acurite: R1: ignoring stale data (rssi indicates no communication from sensors): 01 21 55 71 00 07 07 4a 00 00
sep 11 20:30:23 NouveauMeteo weewxd[120210]: INFO weewx.manager: Added record 2024-09-11 20:30:00 EDT (1726101000) to database 'weewx.sdb'
sep 11 20:30:23 NouveauMeteo weewxd[120210]: INFO weewx.manager: Added record 2024-09-11 20:30:00 EDT (1726101000) to daily summary in 'weewx.sdb'
sep 11 20:30:23 NouveauMeteo weewxd[120210]: INFO weewx.cheetahgenerator: Generated 7 files for report St-OursReport in 0.16 seconds
sep 11 20:30:23 NouveauMeteo weewxd[120210]: INFO weewx.imagegenerator: Generated 12 images for report St-OursReport in 0.33 seconds
sep 11 20:30:23 NouveauMeteo weewxd[120210]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
sep 11 20:30:28 NouveauMeteo weewxd[120210]: INFO weewx.reportengine: ftpgenerator: Ftp'd 14 files in 4.57 seconds
sep 11 20:35:17 NouveauMeteo weewxd[120210]: INFO weewx.manager: Added record 2024-09-11 20:35:00 EDT (1726101300) to database 'weewx.sdb'
sep 11 20:35:17 NouveauMeteo weewxd[120210]: INFO weewx.manager: Added record 2024-09-11 20:35:00 EDT (1726101300) to daily summary in 'weewx.sdb'
sep 11 20:35:17 NouveauMeteo weewxd[120210]: INFO weewx.cheetahgenerator: Generated 7 files for report St-OursReport in 0.16 seconds
sep 11 20:35:18 NouveauMeteo weewxd[120210]: INFO weewx.imagegenerator: Generated 12 images for report St-OursReport in 0.31 seconds
sep 11 20:35:18 NouveauMeteo weewxd[120210]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
sep 11 20:35:22 NouveauMeteo weewxd[120210]: INFO weewx.reportengine: ftpgenerator: Ftp'd 14 files in 4.52 seconds


Best regards,
Jacques

p q

unread,
Sep 12, 2024, 1:39:29 AM9/12/24
to weewx...@googlegroups.com
Well, it's not using Wifi, it's the using some other RF protocol. But, the console is unable to communicate with the sensor from time to time. There is a byte in the data packet that the driver reads to say so. That's what generates this message and then it skips over reading the remaining data. You could try to modify the driver to stop skipping the data when this bit is set, but I don't recommend it. I recommend moving your sensor or console someplace where you get a better signal.

If you want to try editing the driver, it's python so it's pretty simple. It's around line 677 in weewx/weewx/drivers/acurite.py
data['rssi'] = Station.decode_rssi(raw)
                if data['rssi'] == 0:
                    data['sensor_battery'] = None
                    log.info("R1: ignoring stale data (rssi indicates no communication from sensors): %s" % _fmt_bytes(raw))
I would do something stupid like hardcode data['rssi'] = 1 and see if that "fixes" the problem. But you should fix the real problem which is the console can't reliably connect to the sensors.



--
Peter Quinn
(415)794-2264

Graham Eddy

unread,
Sep 12, 2024, 3:43:36 AM9/12/24
to WeeWX User
or one of their antennas: you might be lucky and console has SMA socket to which you could add a cable/antenna
⊣GE⊢
Reply all
Reply to author
Forward
0 new messages