Skip to content

Commit

Permalink
update readme with sensor_map_extensions details
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwall committed Feb 28, 2020
1 parent b29de05 commit 4c4a7fb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions readme
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,23 @@ example:
inTemp = ot.2:*.* # sensor on channel 2
outTemp = ot.1:*.* # sensor on channel 1

For hardware such as the GW1000 that use the ecowitt-client protocol, use the
sensor_map_extensions to add/modify sensor mappings without having to specify
the entire mapping. For example, this would use the readings from the first
temperature sensor as the indoor temperature, and the readings from the fourth
temperature sensor as the outdoor temperature. All of the other sensors would
be mapped using the default sensor mapping for ecowitt-client.

[Interceptor]
driver = user.interceptor
device_type = ecowitt-client
...
[[sensor_map_extensions]]
inTemp = temperature_1
inHumidity = humidity_1
outTemp = temperature_4
outHumidity = humidity_4


===============================================================================
How to run the driver directly
Expand Down

0 comments on commit 4c4a7fb

Please sign in to comment.