Hey,
i have bought myself an esp8266 nodecmu v3 , configured Esphome…
Bought myself a new doorbell/intercom POE…
Now on my indoor station, i can define output relays, so configured one that will close on a doorpress event… So hooked up those 2 cables to D6 and GND pin… there is no voltage running on those cables, its always 0V, so when i press the doorbell, its a closed circuit, and D6 is triggering…
This is working for 1 month without an issue … in HA i read that binary sensor, when it goes from off to on, i can do other automations
binary_sensor:
- platform: gpio
pin:
number: D6
mode: INPUT_PULLUP
inverted: True
name: Deurbell
On my outdoor station, i can also use a code/swipe card that opens my electrical lock, so on the outdoor station, there is also a relay that triggers … so i thought, ok, gonna hook up 2 cables in parallel to another GPIO D7… on those 2 cables there is always 24V, so with resistor voltage divider 68k and 10k i reduced to 3,3v, to not break the input pin… so when the doorlock is triggering, it drops to 0V for 1 sec (relay time) … so ath that moment D7 triggers
so the + 3.3v cable hooked up to pin D7 and the GND cable i hooked up to the same GND pin on the breadboard i used for the doorbell …
- platform: gpio
pin:
number: D7
mode: INPUT_PULLUP
inverted: True
name: Deurlock
So a quite basic/easy setup, now since yesterday , when i started with D7 , 2 times also D6 was triggered for some unknown reason? how is that possible? i am using the same GND for D6 and D7 on the breadbord… could that be the reason? Is there maybe some interference on that powered doorlock? Should i use for the D7 another GND pin on the ESP board? i dont know if they are shared gnd’s?