Thank you for the hints! I was able to find the cmon.py file under
/usr/share/weewx/user/ I've changed the if-condition so that tfile is
now used. Now the display of the cpu_temp works perfectly. Many Thanks
In the file cmon.py, there is a check on a directory (tdir) and a
check on a specific file (tfile). Apparently on some unices, the
directory tdir contains a file with the cpu temp. On raspberries, the
directory exists, but doesn’t contain the temperature file. The cpu
temp is actually in the file tfile. So basically, you have to swap
the order of the check: check first for tfile then tdir. I’d post
the necessary mod, but I don’t have access to my rpi right now.
Hope this helps and sorry for not being able to give more details!
--
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/69db508d-6d91-0842-fd1e-258c1db83156%40googlemail.com.