Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 137 by
lucapil...@gmail.com: problem reading Outside Temperature
values
http://code.google.com/p/wfrog/issues/detail?id=137
Hi,
I'm using the trunk version of wfrog code
(
https://code.google.com/p/wfrog/source/browse/trunk/wfdriver/station/vantagepro2.py)
on OpenWRT OS for logging on a DB values from my Davis Vantage Pro2 station.
The only modifications I have made to the code concern adding the DB
logging.
After some observation time, I have noticed that, when I use the 'LOOP'
command for requesting the last values (in my case 25), I record some
incorrect values for Outside Temperature.
In particular, the wrong value is always the same, and is displayed in
decimal as 1802.61°C.
In general, I log some bursts of such records, in a number from one to six
wrong records, about every ten minutes. After the burst, it keeps on
recording right.
The values I read pass correctly the CRC control, so I assume it is not a
problem due to the serial communication.
I have tried to log the raw strings and to search manually the bytes giving
the wrong values. When I come to the 2 bytes concerning TempOut, I read
FF7F, which corresponds to 1802.61.
The following 2 rows contain the raw strings I read: the first one presents
the problem (ff7f in TempOut field), the second one is ok (b402).
4c4f4f0000 b104 0e75 0203 31 ff7f
ffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0000ffff00000000470d00000000a308ffffffffffffff0000000000000000000000000000000000002803062d890243070a0d
fa42
4c4f4f0000 b104 0e75 0203 31 b402
ffffff7fffffffffffffffffffffffffffffff43ffffffffffffff00001e93010000ffff00000000470d00000000a308ffffffffffffff0000000000000000000000000000000000002803062d890243070a0d
e720
Hope this is enough information to help me fixing the problem.
Thanks in advance,
Luca
Attachments:
problem_driver.py 22.2 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings