Hi Jason,
Guessing - your 'code' that saves the data probably is treating the
humidity data as a 'temperature' reading.
Review the 'code' that saves (moves the data) to your DB - again, just a guess.
If it makes no sense then touch base.
At 06:38 PM 4/30/2013, you wrote:
>I inherited a system with 2 1-wire sensors using Digitemp 3.5.0. It's been
>running this way for years perfectly well.
>
>Recently we had some A/C issues in our server room that have caused me to
>realize our two sensor setup wasn't the most accurate. So I've added two
>additional sensors that do temperatures and humidity, the MS-TH (also
>added a few other temp. only sensors that work fine):
>
><
http://www.ibuttonlink.com/products/ms-th>
http://www.ibuttonlink.com/products/ms-th
>
>We use the Link45 as the connector to the linux box. I had ordered a
>LinkTH connector since the website suggested that it was able to read
>humidity and the Link45 was not?
>
>I wired them all up and replaced the Link45 with the LinkTH. I can not get
>the LinkTH to be read. I get the "Adabter cannot be found" general error
>and nothing I do will fix it (even downloaded Digitemp 3.6.0, unzipped and
>did the .
>
># /digitemp_DS9097U -s/dev/ttyS0 -i
>
>same error. If I put the Link45 back, I can read all the new sensors
>including the humidity sensors that show a % humidity as follows:
>
>digitemp-3.5.0]# ./digitemp -a
>DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
>GNU Public License v2.0 -
http://www.digitemp.com
>Apr 30 15:35:38 Sensor 0 C: 20.88 F: 69.58
>Apr 30 15:35:39 Sensor 1 C: 19.69 F: 67.44
>Apr 30 15:35:40 Sensor 2 C: 20.62 F: 69.12
>Apr 30 15:35:41 Sensor 3 C: 21.31 F: 70.36
>Apr 30 15:35:42 Sensor 4 C: 23.12 F: 73.62
>Apr 30 15:35:43 Sensor 5 C: 21.56 F: 70.81
>Apr 30 15:35:44 Sensor 6 C: 22.94 F: 73.29
>Apr 30 15:35:45 Sensor 7 C: 23.12 F: 73.62
>Apr 30 15:35:46 Sensor 8 C: 19.78 F: 67.61 H: 37%
>Apr 30 15:35:47 Sensor 9 C: 19.31 F: 66.76 H: 38%
>
>So I have humidity and temps being red from the same sensor... perfect!
>
>But when I check the database, not so perfect. It seems that both humidity
>sensors have been lumped into a single sensor called "Apr". And the only
>measurement being logged in the database is "30"... constantly...
>regardless of whatever
>
>digitemp -a gives me.
>
>Heres some database entries:
>
>| 899019 | 2013-04-30 15:15:12 | Apr | 30.00 |
>| 899020 | 2013-04-30 15:15:12 | Apr | 30.00 |
>| 899021 | 2013-04-30 15:20:11 | 2828D9CC0300006B | 68.45 |
>| 899022 | 2013-04-30 15:20:11 | 2884C55B0100003F | 65.75 |
>| 899023 | 2013-04-30 15:20:11 | 2842C5CC0300003A | 68.11 |
>| 899024 | 2013-04-30 15:20:11 | 2836D65B01000064 | 67.89 |
>| 899025 | 2013-04-30 15:20:11 | 280DC4CC030000A6 | 72.84 |
>| 899026 | 2013-04-30 15:20:11 | 28B3A7CC030000ED | 69.58 |
>| 899027 | 2013-04-30 15:20:11 | 28072DCC03000040 | 72.16 |
>| 899028 | 2013-04-30 15:20:11 | 284F46CC030000F5 | 72.05 |
>| 899029 | 2013-04-30 15:20:11 | Apr | 30.00 |
>| 899030 | 2013-04-30 15:20:11 | Apr | 30.00 |
>| 899031 | 2013-04-30 15:25:12 | 2828D9CC0300006B | 68.22 |
>| 899032 | 2013-04-30 15:25:12 | 2884C55B0100003F | 65.30 |
>| 899033 | 2013-04-30 15:25:12 | 2842C5CC0300003A | 67.78 |
>| 899034 | 2013-04-30 15:25:12 | 2836D65B01000064 | 67.21 |
>| 899035 | 2013-04-30 15:25:12 | 280DC4CC030000A6 | 72.72 |
>| 899036 | 2013-04-30 15:25:12 | 28B3A7CC030000ED | 69.35 |
>| 899037 | 2013-04-30 15:25:12 | 28072DCC03000040 | 71.94 |
>| 899038 | 2013-04-30 15:25:12 | 284F46CC030000F5 | 71.83 |
>| 899039 | 2013-04-30 15:25:12 | Apr | 30.00 |
>| 899040 | 2013-04-30 15:25:12 | Apr | 30.00 |
>+--------+---------------------+------------------+------------+
>898805 rows in set (2.85 sec)
>
>
>What is going on? How can I log the measured humidity!?!?! This is driving
>me crazy!
:)
Dale