Yes I have done what Matthew suggested, and as you can see when running
manually the data is parsed, but not when running as a service.
Regarding the "C ok" and "barature" I don't know why that showed up in the
the log, anyways I am not seeing those anymore.
Nevertheless I think we have some progress now.
I commented out my "cmd =" line from /etc/weewx/weewx.conf
And now it seems it's trying to parse when running as a service:
This is what I see when running weewx as a service:
ep 16 17:57:27 raspberrypi weewx[3017]: sdr: MainThread: lines=[]
Sep 16 17:57:30 raspberrypi weewx[3017]: sdr: MainThread: lines=[]
Sep 16 17:57:33 raspberrypi weewx[3017]: sdr: MainThread: lines=[]
Sep 16 17:57:36 raspberrypi weewx[3017]: sdr: MainThread: lines=[]
Sep 16 17:57:40 raspberrypi weewx[3017]: sdr: MainThread: lines=['{"time" :
"2017-09-16 15:57:36", "model" : "WT450 sensor", "id" : 1, "channel" : 2,
"battery" : "OK", "temperature_C" : 19.050, "humidity" : 57}\n', 'AcuRite
Rain Gauge Total Rain is 616.5mm\n', 'Raw Message: 34 44 d1 00 00\n',
'{"time" : "2017-09-16 15:57:36", "model" : "WT450 sensor", "id" : 1,
"channel" : 2, "battery" : "OK", "temperature_C" : 19.070, "humidity" :
57}\n', '{"time" : "2017-09-16 15:57:37", "model" : "WT450 sensor", "id" :
1, "channel" : 2, "battery" : "OK", "temperature_C" : 19.080, "humidity" :
57}\n']
Sep 16 17:57:40 raspberrypi weewx[3017]: sdr: MainThread:
packet={'humidity_out': 57.0, 'usUnits': 16, 'dateTime': 1505577456}
Sep 16 17:57:40 raspberrypi weewx[3017]: sdr: MainThread: parse_text
failed: ts=None payload=None line=AcuRite Rain Gauge Total Rain is 616.5mm
Sep 16 17:57:40 raspberrypi weewx[3017]: sdr: MainThread: parse_text
failed: ts=None payload=None line=Raw Message: 34 44 d1 00 00
Sep 16 17:57:40 raspberrypi weewx[3017]: sdr: MainThread: ignoring
duplicate packet {'humidity_out': 57.0, 'usUnits': 16, 'dateTime':
1505577456}
Sep 16 17:57:40 raspberrypi weewx[3017]: sdr: MainThread:
packet={'humidity_out': 57.0, 'usUnits': 16, 'dateTime': 1505577457}
Sep 16 17:57:43 raspberrypi weewx[3017]: sdr: MainThread: lines=[]
Why it is logging "AcuRite Rain Gauge" is beyond me.
The only sensor I am listening to now is the WT450 which is a temperature
and humidity sensor only.
Appreciate your helpinmg hands!
/Magnus
--
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].
For more options, visit https://groups.google.com/d/optout.