D1 Mini + 12V PIR from old alarm system

Using that one pin, pin 25, I’m getting nothing at all reported that I can see. I went into the logs in settings but I couldn’t see anythign relating to ESPHome bar the compiler stuff.

Well that is not what you said:

Have you actually checked this is the actual wiring, GND (or 5V), and is it common?

Could it perhaps be 12V, which the ESP will not like at all?

That’s not so bad. It was worst when you saw something you shouldn’t see.
Just find your log… You don’t have screen like I posted #31?
Maybe @tom_l knows better your setup and can give instructions to get there…

Nope. I am confused as all heck by conflicting statements. :thinking:

You could be right.

A lot of what I knew about these things are long forgotten, I looked back and using the Arduino dates back over eight years, using a connection to HV Pro to 2011. I was going from memory and it does look as if they are using 12V as an old amp one I had on there was, for sure, 12V.

Which is a right pain.

And my apologies for dodgy info.

Now I dunno what to do as I looked at the Konnected board but it seems expensive and also doesn’t seem to be 100% solid from the reviews.

Sorry, I’m working from memory on this as there’s no info on a lot of it. :frowning:

Can you change the 12V common that goes to the PIR contacts from 12V to 3.3V from the ESP?

If not, you will have to use some resistive dividers to drop the 12V to an acceptable level for each input.

I can’t follow you anymore. So your Com wasn’t Esp GND like you confirmed ?

The common, if what I’m seeing is correct, will be from the 12V supply which I don’t think I can change.

I know that resistors can be used to pull the signal down but my knowledge of electronics is, err, limited. But it’s an option if I can find instructions on what to do and, I’d rather use the wired PIRs as they are rock solid and amazingly robust, there’s nothing to really go wrong with them hardware wise IME. It’s what you connect them to that can be an issue.

I could, I guess convert them all to Z-Wave, I have a bunch of Fibaro universal binary sensors knocking about somewhere I could use but, I’m not so sure that’s a reliable long-term solution.

No problem and thank you for the help and assistance, it is much apprciated.

Is it 12V or ground from that supply though?

If it is ground then that is ok. You just need to connect it to the ESP ground as well.

If it is 12V then resistors are required.

No problem, it explains my question in the first place for impossible trigger.

I’ll need to meter it and, naturally, my meter battery is dead and I don’t have another to hand. And I’m going away tomorrow for a few days, all just typical really. :roll_eyes:

I was hoping that this’d be a quick simple thing, clearly I was wrong. About a few things.

But the more I look, the more I am convinced it’s all 12V all the way through as there’s nothing I can see that’d suggest it was anything but that.

Questoin.

Given I am not experienced with this sort of thing, would using the like of this work to enable using the ESP32: