NCAR / WVD-MCSupdate

Addition of NCAR MCS, rewrite to software infrastructure, and expansion of features for WVD operations.
2 stars 1 forks source link

Add relative humidity sensor #258

Closed stillwer closed 5 years ago

stillwer commented 5 years ago

Scott would like to add the ability to measure the relative humidity within the MPD containers. Add control to track this like other housekeeping data.

stillwer commented 5 years ago

Omega humidity sensor never came with a power chord. Servers Check sensors did and are alive and working.

stillwer commented 5 years ago

In order to read the Servers Check humidity sensor, I am using simple network management protocol (SNMP). The object identifiers that are needed to read the sensor can be found using the file SERVERSCHECK-MIB.txt. If you navigate to the location of that file and use the command line command: snmptranslate -Tz -m ./SERVERSCHECK-MIB.txt It will dump all the object identifiers in the file.

Note that the directions for the linux based commands were here: https://www.linuxquestions.org/questions/programming-9/how-to-get-oids-form-a-mib-file-4175428161/

stillwer commented 5 years ago

The OID's that are important are:

"sensor1Value" "1.3.6.1.4.1.17095.3.2" "sensor3Value" "1.3.6.1.4.1.17095.3.10" "sensor4Value" "1.3.6.1.4.1.17095.3.14" "sensor5Value" "1.3.6.1.4.1.17095.3.18"

They are the Internal Temp 1, External Temp, Relative Humidity, and Dew Point Temperature. Those names can be found by using:

"sensor1name" "1.3.6.1.4.1.17095.3.1" "sensor3name" "1.3.6.1.4.1.17095.3.9" "sensor4name" "1.3.6.1.4.1.17095.3.13" "sensor5name" "1.3.6.1.4.1.17095.3.17"

stillwer commented 5 years ago

Default ip address is: 192.168.11.160. Reset it to be 192.168.0.170. Will plan to do this for all subsequent hardware.

stillwer commented 5 years ago

Pushed the tester into the repo this morning.

stillwer commented 5 years ago

Also pushed the test code into the structure needed to run within the container and within the template.

stillwer commented 5 years ago

Just put the humidity sensor on a book instead of the metal floor of the container and it is dramatically increasing the temperatures and also reducing the RH and dew point.

stillwer commented 5 years ago

This seems to be done. Currently testing on MPD 4 but the start looks promising. Will close this and enter any other issues as bugs as they arise.