1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Add NTC and resistance sensor (#560)

* Add NTC and resistance sensor

Fixes https://github.com/esphome/feature-requests/issues/248

* Fix

* Fix platformio4 moved get_project_dir
This commit is contained in:
Otto Winter
2019-05-28 16:00:00 +02:00
committed by GitHub
parent 9fa1a334e6
commit 61ba2e0f35
12 changed files with 321 additions and 2 deletions

View File

@@ -115,6 +115,20 @@ sensor:
- calibrate_linear:
- 0 -> 0
- 100 -> 100
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist
- platform: ntc
sensor: resist
name: NTC Sensor
calibration:
b_constant: 3950
reference_resistance: 10k
reference_temperature: 25°C
- platform: tcs34725
red_channel:
name: Red Channel