On Wednesday, 27 March 2019 18:27:40 UTC-3, rich T wrote: > > Looks like I'm only decoding a couple of the data fields, in which could > be configuration error on my part. The driver did crash due to a "none > type" error, again the cause could be configuration error on my part. >
Rich, Your command line contained the phrase "[options]". This is not recognized by the go-parser and all entries which come after are neglected. Therefore no messages were received because you've got the default EU-frequencies. The init value of pct_good was none, I better change it to 0.0 to avoid the type error. This error only happens when no single message is received during 5 minutes. I will change the programs main.go and weewx-rtldavis as follows: - The -tf and -tr option are required (program weewx-rtldavis will add them automatically) - When -tf and/or -tr is missing, main.go report: EXIT PROGRAM with a description. - weewx-rtldavis will end itself (and rtldavis.go) when it sees this message. (when rtldavis should stop itself, it won't help because weewx-rtldavis will restart the program again after 60 seconds). Luc
