I got this working on a D1 mini but it was as folks say erratic on A0
So I got the ADS1115
But for the life of me I cannot get it to work. I think my issue Is I have pin A0 which is not on/from the ADS 1115 but I cannot figure out the way to fetch it. Temp never changes with NTC temp
Thanks,
PapaLanc
esphome:
name: pit-master3
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "/SBiNIGvNaaOe7ms1bITG76rsY8T5eJy/guRGFN/rSo="
ota:
password: "c37dc4988b98145039f638694972bad5"
wifi:
networks:
- ssid: "shop2"
password: "mi13"
- ssid: "thegreyfox"
password: "jj,,j"
manual_ip:
static_ip: 192.168.1.68
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Pit-Master2"
password: ""
# Example configuration entry
# Example configuration entry for ESP32
i2c:
sda: D2
scl: D1
scan: true
# id: bus_a
ads1115:
- address: 0x48
sensor:
- platform: ads1115
multiplexer: 'A0_GND'
gain: 6.144
name: "ADS1115 Channel A0-GND"
- platform: ads1115
multiplexer: 'A1_GND'
gain: 6.144
name: "ADS1115 Channel A1-GND"
#sensor:
- platform: ntc
sensor: resistance_sensor
# calibration:
# - 2.3kOhm -> 75°C
# - 3.785kOhm -> 32.22°C
# - 4.344kOhm -> 2.778°C
calibration:
b_constant: 3950
reference_temperature: 32.22°C
reference_resistance: 11.9Ohm
name: NTC Temperature
# Example source sensors:
- platform: resistance
id: resistance_sensor
sensor: source_sensor
configuration: DOWNSTREAM
resistor: 20.0kOhm
name: Resistance Sensor
- platform: adc
id: source_sensor
pin: A0
captive_portal: