temperature_host: Rename rpi_temperature and add support for custom paths

Signed-off-by: Evgenii Shavrin <shavrin0591@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Evgenii authored and Kevin O'Connor committed 2021-02-19 18:44:28 -05:00
1 parent 267a2f3a38
commit 3d35c003db
5 files changed
+30 -17

No files matched your search

+7 -3
View File
@@ -2145,12 +2145,16 @@ sensor_type: temperature_mcu
# micro-controller specification.
```
## RPi temperature sensor
## Host temperature sensor
CPU temperature from the Raspberry Pi running the host software.
Temperature from the machine (eg Raspberry Pi) running the host software.
```
sensor_type: rpi_temperature
sensor_type: temperature_host
#path:
# The path to temperature system file. The default is
# "/sys/class/thermal/thermal_zone0/temp" which is the temperature
# system file on a Raspberry Pi computer.
```
## DS18B20 temperature sensor