Where does log_unmapped_sensors log to?

29 views
Skip to first unread message

dvdhns

unread,
May 20, 2020, 11:37:26 PM5/20/20
to weewx-user
When you set this in the Sensor map, where does it log to?
        log_unknown_sensors = True
        log_unmapped_sensors
= True

I've looked at the various logs in /var/log and nothing is sticking out.

But perhaps I'm asking the wrong question. When I run
sudo rtl_433

, I see lots of sensors that I don't see when I run
sudo  PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json"
I'm hoping the log of unknown and unmapped sensors would help me figure things out.

gjr80

unread,
May 21, 2020, 12:10:42 AM5/21/20
to weewx-user
Hi,

        log_unknown_sensors = True
        log_unmapped_sensors
= True

will send output to where ever WeeWX log output is sent, /var/log/syslog is typical for Debian based users unless you have explicitly changed it.

However, note that unknown and unmapped sensor data is only logged when the sdr driver is run in conjunction with WeeWX (ie the driver's genLoopPackets() method is called). Unknown and unmapped sensor data (as controlled by log_unknown_sensors and log_unmapped_sensors) is  not produced when running the sdr driver directly.

Gary
Reply all
Reply to author
Forward
0 new messages