mrgmarsh / wfrog

Automatically exported from code.google.com/p/wfrog
GNU General Public License v3.0
0 stars 0 forks source link

WMRS200: First record always bad checksum #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start wflogger (861)
2. WMRS200-error: bad checksum

What is the expected output? What do you see instead?
A normal record?

Instead:

2012-01-01 14:12:55,692 INFO [config] Starting wfrog 0.8.1-svn
2012-01-01 14:12:55,692 INFO [config] Loaded settings file 
/etc/wfrog/settings.yaml
2012-01-01 14:12:55,710 INFO [config] Starting wfrog 0.8.1-svn
2012-01-01 14:12:55,710 INFO [config] Loaded settings file 
/etc/wfrog/settings.yaml
2012-01-01 14:12:55,711 INFO [station.wmrs200] Thread started
2012-01-01 14:12:55,711 INFO [station.wmrs200] USB initialization
2012-01-01 14:12:56,056 INFO [station.wmrs200] USB WMRS200 found
2012-01-01 14:12:56,057 INFO [station.wmrs200] USB WMRS200 open
2012-01-01 14:12:56,061 INFO [station.wmrs200] USB WMRS200 initialized
2012-01-01 14:13:06,964 WARNING [station.wmrs200] Record: FF 00 42 40 D8 00 2C 
5A 00 00 00 E0 01  - bad checksum

Original issue reported on code.google.com by commi1...@gmail.com on 1 Jan 2012 at 1:15

GoogleCodeExporter commented 9 years ago
This is just how it works. The first record is often carbage as the weather 
station is already up and running when the USB read starts, so it happens very 
often that first record is not complete. We could ignore it, but other fixes 
are very difficult. 

But it is only one record, so not very meaningfull as we get so many records. I 
do not think it is worth the trouble as weather station usually runs for days.

Original comment by schuckl...@gmail.com on 10 Jan 2012 at 10:44

GoogleCodeExporter commented 9 years ago
Thanks for your answer.

I know, its not important. I thought it was any control-message that wfrog 
could not handle, but your theory seems logical.

Thanks for clarification ;)

Original comment by commi1...@gmail.com on 10 Jan 2012 at 11:04