I have integrated a esp8266 with Esphome with name mystudy.
I have connected a NTC thermistor that is about 8.9K @ 30Deg C. So I assume it is a 10 K thermistor @ 25 Deg C. The thermistor is added in series with a 10 K resistor, with thermistor downstream of the resistor. The Junction of the combine is connected to A0. The top pf resistor is connected to 3.3 V.
The mystudy.yaml file is as below
esphome:
name: mystudy
platform: ESP8266
board: d1
wifi:
ssid: "SSID1-2.4G"
password: "7571908313@"
ap:
ssid: "Mystudy Fallback Hotspot"
password: "8csfgeTMT3UB"
captive_portal:
logger:
api:
ota:
###
switch:
- platform: gpio
id: kitchen_pump
name: "led"
pin:
number: D9
inverted: True
- platform: gpio
id: ntc_vcc
name: "ntc_vcc"
pin:
number: D0
inverted: False
sensor:
- platform: ntc
sensor: resistance_sensor
calibration:
b_constant: 3950
reference_temperature: 25°C
reference_resistance: 10kOhm
name: NTC Temperature
- platform: resistance
id: resistance_sensor
sensor: source_sensor
configuration: DOWNSTREAM
resistor: 10kOhm
name: Resistance Sensor
- platform: adc
id: source_sensor
pin: A0
The temperaure shown in my dashboard is 70 Deg C where as it should be 29.8 Deg C.
What have I missed.