I use a rpi with a arduino. All works fine. Now I want to connect my doorbell to the rpi. The idea is to sent a signal to my mobile (pushover) so I hear the doorbell, even if I’m in the garden.
So. I wanted to connect the wires of the button to the rpi. I use GND and GPIO 18. In the config.json I actived the plugin GPIO.
In the section Devices I added the following lines:
{
“id”: “contact-sensor”,
“class”: “GpioContact”,
“name”: “contact detector”,
“gpio”: 18
},
Unfortunalty this will not work. I’ve connect it with the GPIO of the rpi. Then I connected the wires to the Arduino, and used the configuration below:
{
“id”: “omeduino-contact-sensor”,
“name”: “ContactSensor”,
“class”: “HomeduinoContactSensor”,
“pin”: 9,
“interval”: 1000,
“inverted”: true
}
Can anyone help me?
Gr.
Frank