02-17-2024, 08:36 AM
Hello everyone. I recently bought 2 kc868-a8 and I'm using them with EspHome.
I have a trouble concerning the analog input!
Admin says:
DS18B20/DHT11/21-1: 14
DS18B20/DHT11/21-2: 13
const int DI9 = 36
const int DI10 =39
but i used the following code to use A8-S4 input:
binary_sensor:
- platform: gpio
name: "a8-s4"
pin:
number: 33
inverted: true
on_press:
- switch.turn_off: something
- switch.turn_off: something_else
so, my question is: which number I will use for 3 other analog input?
Regards
I have a trouble concerning the analog input!
Admin says:
DS18B20/DHT11/21-1: 14
DS18B20/DHT11/21-2: 13
const int DI9 = 36
const int DI10 =39
but i used the following code to use A8-S4 input:
binary_sensor:
- platform: gpio
name: "a8-s4"
pin:
number: 33
inverted: true
on_press:
- switch.turn_off: something
- switch.turn_off: something_else
so, my question is: which number I will use for 3 other analog input?
Regards