Hi all,
I have an old style alarm system in my house with several motion sensors which are already cabled and powered via the alarm circuit board.
My goal is to add motion sensor capability to HA using an ESP32, and was wondering if I can just run a cable from a free GPIO pin on the ESP32 to the terminal of the motion sensor on the alarm circuit board, and then simply create a sensor on ESPhome as follows:
binary_sensor:
- platform: gpio
pin: <PIN_PIR_SENSOR_IS_CONNECTED_TO>
name: "PIR Sensor"
device_class: motion
Let me know and thanks all,
first post here, so please be kind