Cleanup of Acurite 606TX code that should have been done before (#383)

* Added support for the Acurite 606TX (temperature only) sensor.

* Added support for the Acurite 606TX (temperature only) sensor.

* Change sensor name. Update fork and fix merge conflicts.

* Merge fixes.

* Removed old and redundant  "fprintf" output
Added the 606TX sensor to the list of supported devices at the top of the file
This commit is contained in:
Karl Heinz Kremer
2016-05-24 11:45:44 -04:00
committed by Benjamin Larsson
parent a203075ca3
commit aaee041ae9

View File

@@ -10,6 +10,7 @@
* - 592TXR / 06002RM Tower sensor (temperature and humidity)
* - "Th" temperature and humidity sensor (Model(s) ??)
* - Acurite 986 Refrigerator / Freezer Thermometer
* - Acurite 606TX temperature sesor
*/
@@ -698,7 +699,6 @@ static int acurite_606_callback(bitbuffer_t *bitbuf) {
sensor_id = bb[1][0];
battery = bb[1][1] & 0x8f >> 7;
fprintf(stderr, "%s Acurite 606TX sensor 0x%04X bat %d %3.1f C\n", time_str, sensor_id, battery, temperature);
data = data_make("time", "", DATA_STRING, time_str,
"model", "", DATA_STRING, "Acurite 606TX Sensor",
"id", "", DATA_INT, sensor_id,