Closed ckamps closed 4 years ago
This enhancement will initially do lookups of the following device family codes:
10
- DS-18S20 temperature sensors.
28
- DS-18B20 temperature sensors.
26
- DS-2438Z Smart Battery Monitor sensors. These sensors will be associated with the standard temperature child driver.
Since the AAG TAI-8540 temperature + humidity sensor uses a DS-2438 IC as a 1-Wire A/D converter , the discovery logic will need to inspect each DS-2438 returned in a search to determine if it's a standalone temperature sensor or also provides a humidity reading.
The README.md
also needs to be updated so that the child device driver docs accurately reflect these mappings.
Use published 1-Wire device family codes to discover supported 1-Wire sensors to request lists of specific sensor types from the HA7Net vs the current approach of getting all sensors from the HA7Net and blindly trying to determine if a sensor is a humidity sensor and then falling back to a temperature sensor.
Examples of published family codes: