Hello
I've got a dimmer with temp control from you but there's no information on how to use it. Could you please explain? If it's just a thermistor between VCC and TEMP ping then please provide it's characteristics to read data with ADC.
Partagez et discutez du meilleur contenu et des nouvelles idées de marketing, développez votre profil professionnel et devenez ensemble un meilleur spécialiste du marketing.
Hello
I've got a dimmer with temp control from you but there's no information on how to use it. Could you please explain? If it's just a thermistor between VCC and TEMP ping then please provide it's characteristics to read data with ADC.
Pretty brutal support here. I was able to reverse it out of this repo: https:/github.com/robotdyn-dimmer/rbdimmerThermalESP32
It looks like its an NTC thermistor with B constant of 3950 at 25C at 10kOhm. If you want to use it in ESPHome you could do it like this:
sensor:
# Read raw voltage from the pin
- platform: adc
pin: ${ntc_pin}
id: ntc_voltage
attenuation: 12db
update_interval: 5s
# Convert Voltage to Resistance
# Circuit: 3.3V -> 10k Resistor -> Pin -> NTC -> GND
- platform: resistance
id: ntc_resistance
sensor: ntc_voltage
configuration: DOWNSTREAM
resistor: 10kOhm
name: "NTC Resistance"
internal: true # Hide from Home Assistant if not needed
# Convert Resistance to Temperature (Steinhart-Hart / Beta)
- platform: ntc
sensor: ntc_resistance
name: "Measured Temperature"
id: current_temperature
calibration:
b_constant: 3950
reference_temperature: 25C
reference_resistance: 10kOhmAnyone?
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire