I am a relative newcomer, too, and am not involved in development or
support of weewx, so I'm probably wrong, but, since no one has said
anything, here goes.
The IDENTIFIER string for FOWH1080Packet is "Fine Offset WH1080 weather
station", and it appears that string is what is used to tell whether or not
the packet is known.
So I think, but I am not sure, if you edit sdr.py and replaced your new
string for the old then it will work. It would probably be best to add a
new parser for this new product string, but the string replacement would
tell if I'm right or not. Just back up sdr.py first.
On Tuesday, May 23, 2017 at 8:28:29 AM UTC-4, david wrote:
>
> Attached are log and configuration files after switching from the Fine
> Offset LCD display to a Realtek USB dongle. Reason for change was a dead
> display.
>
> I followed the instructions from https://github.com/matthewwall/weewx-sdr
> with path modifications to suit my operating system - Mageia Cauldron.
>
> The log attached shows that there are problems when the sdr driver
> attempts to decode the data being received from the dongle.
>
> As you can see there are errors where the data is seemingly displayed
> correctly in one line then in the next throws a json parse error (extract
> below)
>
> It appears the problem may be coming from sdr.py as each of the problem
> lines contain "sdr. MainThread lines []"
>
> The command line in weewx.conf has been tried with various options and all
> appear to return the same kind of error string.
>
> Log excerpt: (CAUTION lines may wrap)
>
> = starts about line 155 in attachment
>
> May 23 19:06:03 tidemark weewx[4070]: sdr: MainThread: lines=[]
> May 23 19:06:06 tidemark weewx[4070]: sdr: MainThread: lines=[]
> May 23 19:06:11 tidemark weewx[4070]: sdr: MainThread: lines=['{"time" :
> "2017-05-23 07:06:08", "model" : "Fine Offset Electronics WH1080/WH3080
> Weather Station", "msg_type" : 0, "id" : 122, "temperature_C" : 14.400,
> "humidity" : 77, "direction_str" : "NW", "direction_deg" : "315", "speed" :
> 13.464, "gust" : 14.688, "rain" : 130.200, "battery" : "OK"}\n', '{"time" :
> "2017-05-23 07:06:08", "model" : "Fine Offset Electronics WH1080/WH3080
> Weather Station", "msg_type" : 0, "id" : 122, "temperature_C" : 14.400,
> "humidity" : 77, "direction_str" : "NW", "direction_deg" : "315", "speed" :
> 13.464, "gust" : 14.688, "rain" : 130.200, "battery" : "OK"}\n']
> May 23 19:06:11 tidemark weewx[4070]: sdr: MainThread: parse_json: unknown
> model Fine Offset Electronics WH1080/WH3080 Weather Station
> May 23 19:06:11 tidemark weewx[4070]: sdr: MainThread: punt unrecognized
> line '{"time" : "2017-05-23 07:06:08", "model" : "Fine Offset Electronics
> WH1080/WH3080 Weather Station", "msg_type" : 0, "id" : 122, "temperature_C"
> : 14.400, "humidity" : 77, "direction_str" : "NW", "direction_deg" : "315",
> "speed" : 13.464, "gust" : 14.688, "rain" : 130.200, "battery" : "OK"}#012'
> May 23 19:06:11 tidemark weewx[4070]: sdr: MainThread: parse_json: unknown
> model Fine Offset Electronics WH1080/WH3080 Weather Station
> May 23 19:06:11 tidemark weewx[4070]: sdr: MainThread: punt unrecognized
> line '{"time" : "2017-05-23 07:06:08", "model" : "Fine Offset Electronics
> WH1080/WH3080 Weather Station", "msg_type" : 0, "id" : 122, "temperature_C"
> : 14.400, "humidity" : 77, "direction_str" : "NW", "direction_deg" : "315",
> "speed" : 13.464, "gust" : 14.688, "rain" : 130.200, "battery" : "OK"}#012'
> May 23 19:06:14 tidemark weewx[4070]: sdr: MainThread: lines=[]
> May 23 19:06:17 tidemark weewx[4070]: sdr: MainThread: lines=[]
> May 23 19:06:20 tidemark weewx[4070]: sdr: MainThread: lines=[]
>
> = end =
>
>
>
>
> David Taylor, Puniho
> 'the place to be; beneath the Mountain, beside the Sea'
> http://www.pwx.kiwi
> ~
> whose computer uses linux/open source software, featuring
> Mageia release 5 (Official) for x86_64, kernel 4.4.65-desktop-1.mga5
> ~
>
--
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.