Hi,
First post here!
I’m using an ESP32 + MCP3008 (8 channels 10bit ADC) to get more precise readings than the ESP32 built-in ADC.
Everything is working fine except for the fact that the channels that are exposed (named) as-is and not consumed by another sensor don’t show up in HA (but I see them in the logs)
I deleted all ESPHome devices in HA, restarted HA, no luck (I have 6 entities showing)
Updated ESPHome from 1.15.1 to 1.15.2
Here’s a sample of my .yaml file (theses DONT show in HA)
- platform: mcp3008
number: 2
id: atl_boiler_hot_temp
name: "atl_boiler_hot_temp"
update_interval: 10s
unit_of_measurement: "°C"
icon: "mdi:temperature-celsius"
filters:
- calibrate_linear:
- 0.46 -> 53.0
- 1.64 -> 21.0
- platform: mcp3008
number: 3
id: atl_boiler_cold_temp
name: atl_boiler_cold_temp
update_interval: 10s
unit_of_measurement: "°C"
icon: "mdi:temperature-celsius"
filters:
- calibrate_linear:
- 0.46 -> 53.0
- 1.64 -> 21.0
- platform: mcp3008
number: 4
id: adc_hot_psi
update_interval: 10s
name: atl_boiler_hot_pressure
icon: "mdi:gauge"
unit_of_measurement: "PSI"
internal: false
filters:
- calibrate_linear:
- 0.105 -> 0.0
- 0.95 -> 30.0
- platform: mcp3008
number: 5
id: adc_cold_psi
update_interval: 10s
name: atl_boiler_cold_pressure
icon: "mdi:gauge"
unit_of_measurement: "PSI"
internal: false
filters:
- calibrate_linear:
- 0.105 -> 0.0
- 0.95 -> 30.0
None of theses sensors appear in HA
But channels 6-7 are ‘consumed’ by an Resistance -> ntc and they show up as entities
These DO show up in HA (with right values)
# =============================
#Floor Temp ADC + R + NTC
#
- platform: mcp3008
number: 6
id: adc_floor_temp
update_interval: 10s
- platform: resistance
sensor: adc_floor_temp
configuration: DOWNSTREAM
reference_voltage: 1.024
resistor: 10.0kOhm
id: r_floor_temp
- platform: ntc
sensor: r_floor_temp
calibration:
b_constant: 3950
reference_temperature: 25°C
reference_resistance: 10kOhm
id: atl_floor_temp
name: "atl_floor_temp"