Py3 cmon.py and exfoliation station.html.tmpl updates/changes

29 views
Skip to first unread message

tut...@gmail.com

unread,
Oct 20, 2020, 7:46:12 PM10/20/20
to weewx-user
Hi,

With the update to Py3 version of weewx, I ran into a failure to execute the cmon.py unless I made this change to the file:

327c327
<             p = Popen(cmd, shell=True, text=True, stdout=PIPE)
---
>             p = Popen(cmd, shell=True, stdout=PIPE)

otherwise cmon would exit on a compare type mismatch

Also for Raspbian OS latest update the cpu temp file seems to have moved to
/sys/class/hwmon/hwmon0

and the file is temp1_input , needed to tweak the station.html.tmpl in exfoliation to add cpu_temp1 for graphing.

Reply all
Reply to author
Forward
0 new messages