Unexpected Bytes/Wrong Checksum Logged **solved**

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
bsparks
Senior Boarder
Senior Boarder
Posts: 69
Joined: Sat Mar 29, 2008 3:01 pm
Location: Alexandria, LA

Unexpected Bytes/Wrong Checksum Logged **solved**

Post by bsparks »

First of all, please excuse me if this has already been discussed. The forum search is returning 0 results for all of my queries, and I have looked through manually, but have not found any similar issues.

I just installed my station yesterday. It's a Davis Vantage Pro 2, hooked up via serial with a USB converter. I don't know if that matters at all.

I'm uploading to Weather Underground and CWOP. I know my data is consistently (and correctly) getting to Weather Underground, except for the Solar Radiation value, which I have posted along with another user here as well. My data should be getting to CWOP, but I don't think their updates have added my station yet.

Which brings me to my question/\"problem\":
I've been seeing in the Meteohub log errors like this:
logger (30.03.2008 00:07:07): unexpected bytes while syncing to record: ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:07:14): unexpected bytes while syncing to record: 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:07:21): unexpected bytes while syncing to record: 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:07:29): unexpected bytes while syncing to record: 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:07:37): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:07:46): unexpected bytes while syncing to record: 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:07:55): unexpected bytes while syncing to record: 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 3c
logger (30.03.2008 00:08:06): unexpected bytes while syncing to record: ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 99 a1
logger (30.03.2008 00:08:15): unexpected bytes while syncing to record: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 99 a1
logger (30.03.2008 00:08:32): unexpected bytes while syncing to record: 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 a5 ef
logger (30.03.2008 00:08:40): unexpected bytes while syncing to record: 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 a5 ef
logger (30.03.2008 00:08:57): unexpected bytes while syncing to record: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 a5 ef
logger (30.03.2008 00:09:20): wrong checksum 0xbeef while 0x0000 expected.
logger (30.03.2008 00:09:33): unexpected bytes while syncing to record: 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 03 08 01 bc 02 88 07 19 2f
logger (30.03.2008 00:09:40): wrong checksum 0x86ba while 0x0000 expected.
logger (30.03.2008 00:09:49): unexpected bytes while syncing to record: 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 03 08 01 bc 02 88 07 70 a1
logger (30.03.2008 00:09:59): unexpected bytes while syncing to record: 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 03 08 01 bc 02 88 07 70 a1
logger (30.03.2008 00:10:07): unexpected bytes while syncing to record: 02 00 00 c1 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 03 08 01 bc 02 88 07 c4 ae
logger (30.03.2008 00:10:21): unexpected bytes while syncing to record: 00 00 00 00 00 00 39 03 08 01 bc 02 88 07 c4 ae
logger (30.03.2008 00:10:25): unexpected bytes while syncing to record: 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 75 61
logger (30.03.2008 00:10:33): wrong checksum 0x77e0 while 0x0000 expected.
logger (30.03.2008 00:10:45): wrong checksum 0x20c4 while 0x0000 expected.
logger (30.03.2008 00:10:50): unexpected bytes while syncing to record: 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 68 5b
logger (30.03.2008 00:10:58): unexpected bytes while syncing to record: ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 68 5b
logger (30.03.2008 00:11:07): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 b3
logger (30.03.2008 00:11:16): unexpected bytes while syncing to record: 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 b3
logger (30.03.2008 00:11:27): unexpected bytes while syncing to record: 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 fd ba
logger (30.03.2008 00:11:39): unexpected bytes while syncing to record: 3a 03 08 01 bc 02 88 07 fd ba
logger (30.03.2008 00:11:42): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 b8 83
logger (30.03.2008 00:11:51): unexpected bytes while syncing to record: 0d ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 4a ff
logger (30.03.2008 00:12:02): unexpected bytes while syncing to record: 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 4a ff
logger (30.03.2008 00:12:13): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 a4 02
logger (30.03.2008 00:12:22): unexpected bytes while syncing to record: 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 97 c6
logger (30.03.2008 00:12:31): unexpected bytes while syncing to record: 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 73 e3
logger (30.03.2008 00:12:40): wrong checksum 0xcc2a while 0x0000 expected.
logger (30.03.2008 00:12:48): unexpected bytes while syncing to record: 34 be 02 00 00 93 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 73 e3
logger (30.03.2008 00:13:02): unexpected bytes while syncing to record: 3a 03 08 01 bc 02 88 07 fb 01
logger (30.03.2008 00:13:05): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 aa 4b
logger (30.03.2008 00:13:14): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 b4 c8
logger (30.03.2008 00:13:23): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:13:32): unexpected bytes while syncing to record: ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 b4 c8
logger (30.03.2008 00:13:43): unexpected bytes while syncing to record: 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:13:53): unexpected bytes while syncing to record: 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:02): unexpected bytes while syncing to record: ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:09): unexpected bytes while syncing to record: ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:17): unexpected bytes while syncing to record: 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:27): unexpected bytes while syncing to record: 52 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:38): unexpected bytes while syncing to record: 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:44): unexpected bytes while syncing to record: ff ff 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 0b 00 00 00 00 00 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 5a 35
logger (30.03.2008 00:14:54): unexpected bytes while syncing to record: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 03 08 01 bc 02 88 07 24 9b

However, my data IS making it to Wunderground, and the Meteohub appears to be logging it correctly. I can see it in the Inspect Data.

Is this any cause for alarm? Rebooting it \"fixes\" it for a few minutes, then it starts throwing the errors again.


Thanks!
--Branson
peteroi
Senior Boarder
Senior Boarder
Posts: 51
Joined: Thu Jan 31, 2008 2:26 pm
Location: Dietenheim / South Germany
Contact:

Re:Unexpected Bytes/Wrong Checksum Logged

Post by peteroi »

Hi Branson,

could this perhaps be a problem of the USB-stick ??

I already made bad experiences with sticks above 1 GB size and you should test such stick with the tool H2testw 1.4 from the download section.

This is the only way to check wether your stick is reliable...

BR Peter
Pi/TE923
bsparks
Senior Boarder
Senior Boarder
Posts: 69
Joined: Sat Mar 29, 2008 3:01 pm
Location: Alexandria, LA

Re:Unexpected Bytes/Wrong Checksum Logged

Post by bsparks »

Thanks for the response, peteroi!

It seems, though, that on lines like this:
logger (30.03.2008 00:12:40): wrong checksum 0xcc2a while 0x0000 expected.

the NSLU2 is not computing the expected checksum correctly, because it is getting a checksum with a value, while it is expecting a null (0x0000).

Next time I am at home (I live 100 miles away at college), I will check the USB stick. It's brand new, though.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7953
Joined: Mon Oct 01, 2007 10:51 pm

Re:Unexpected Bytes/Wrong Checksum Logged

Post by admin »

Hi,
the reported unexpected bytes do do result from Meteohub pushing an ongoing request stream for more data packets to the Vantage. This is type of communication is quite robust (does not hold when a single request has not been answered, and therefore can more easily cope with some artifacts of the usb data logger of the vantage you can read about in other forums), but as a downside you get a lot of acknowledge data back, that Meteohub simply skips.

So everything is fine this way. I will strip down the verbosity of the logger in this respect as this is no information the user can make any use of.

The bad checksum thing is another case, here meteohub has received data that looks like a data packet but in the end the checksum indicates that is has been somehow disturbed data or that meteohub has not synchronized correctly to the data stream on this particular packet. It is normal to have these messages from time to time. I f there are a few of them every minute for a longer period, this might indicate a problem. So this is valuable information that Meteohub will continue to log.
bsparks
Senior Boarder
Senior Boarder
Posts: 69
Joined: Sat Mar 29, 2008 3:01 pm
Location: Alexandria, LA

Re:Unexpected Bytes/Wrong Checksum Logged

Post by bsparks »

Thank you so much. I won't worry about that, then!
Post Reply