Problem with additional sensor [SDR]

191 views
Skip to first unread message

kludo

unread,
Jan 9, 2022, 10:14:25 AM1/9/22
to weewx-user

I have recently successfully set up my weather station with WeeWX. Now I wanted to add more temperature sensors and thought this would be very easy. However, I seem to have a thinking error or I am doing something wrong.

From the syslog I can see that the two additional sensors are detected and transmit values. But unfortunately these values are not stored in the WeeWX database!

Who can help me with this problem?

SDR_part_of_weewx.conf

gjr80

unread,
Jan 9, 2022, 2:59:25 PM1/9/22
to weewx-user
Impossible to provide any meaningful help without seeing the log: https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#the-system-log

Gary

kludo

unread,
Jan 10, 2022, 11:45:48 AM1/10/22
to weewx-user
Sorry, was my mistake, here the logfile.

Udo

mylog

gjr80

unread,
Jan 10, 2022, 9:22:15 PM1/10/22
to weewx-user
It seems there could be a typo in the SDR driver file for the InFactoryTHPacket parser. Could you rename your existing SDR driver file (/usr/share/weewx/user/sdr.py) to say sdr_orig.py. Then download and save the attached sdr.py to the /usr/share/weewx/user directory.  Restart WeeWX and see how that goes, if it works let us know, if you still have issues can you provide another log extract.

Gary
sdr.py

kludo

unread,
Jan 11, 2022, 12:45:38 PM1/11/22
to weewx-user
Hi Gary, thank you very much for your support. With the new version everything works as desired.

Greetings Udo

gjr80

unread,
Jan 11, 2022, 5:23:52 PM1/11/22
to weewx-user
Thanks for the feedback Udo, I will raise a PR with the SDR author to apply the fix.

Gary
Reply all
Reply to author
Forward
0 new messages