05-27-2023, 05:25 AM
(05-22-2023, 09:52 PM)admin Wrote: ok, if digital output signal, you can use any S1,S2,S3,S4 port. just S3 and S4 can use for long distance wire, support 300 meter wire. S1 and S2 is short distance.
Hello,
This is the espHome code I used.
- platform: gpio
name: "a8-s4"
device_class: motion
pin:
number: 33
inverted: true
This is how I wired the PIR.
A8 AM312
GRD to GRD
Vcc to VCC
S4 to out
It does not work. I verified that the PIR sensor did give a 3.2v on the output line when there was movement and 0v when clear.
Any ideas?
Thank you.

