MarkB1
(Mark Booth)
1
As the title suggests the documentation says that the A0 pin can be used as a DI.
A0: This pin can be used as a normal GPIO pin (like D1 etc) but additionally can measure voltages from 0 to 1.0V using the Analog To Digital Sensor.
I configured it as follows.
- platform: gpio
pin: A0
name: "INPUT 6"
I tried using a pull down and pull up resistor 10K but no luck.
Do I need a different value or have I missed something?
Regards,
glmnet
(Guillermo Ruffino)
2
In a binary_sensors:
block, I assume. Please create an issue at GitHub, I’d have to test myself, otherwise we should modify docs.
gdschut
(Gerben Schut)
3
I’m experiencing the same issue.
- Did you find a solution?
- Did you make a GitHub issue for it?
My code in esphome configfile.yaml
binary_sensor:
- platform: gpio
pin:
number: A0
id: button
name: "Test button"
The binary input is allways ON, whether I connect it to +3.3 or to GND.
I use nodeMCU V2