Hey Andy, no problem at all.
I’ve certainly done things that are equally as stupid, but it’s all part of the learning process - provided we don’t have a Homer Simpson moment and have to forget something equally as useful to make room for this new bit of knowledge!
The main thing is that your confidence with the device grows the more you mess around with it and it starts to become a little less scary.
As I said before, you’ll need to add some sort of switches to detect when the doors are opened or closed.
These will be connected to physical pins on the Wemos, and you’ll probably use an LED widget to show when the door is open or closed.
When it comes to adding these switches, take care which pins you choose. This is a very handy reference, and as you can see there are some pins that will prevent the Wemos booting-up and running normally (GPIO0 and 15 [D3 and D8] for example)…
Give us a shout when you get to that stage, even if it’s just a sanity check before you go any further.
I’d recommend ordering a couple more D1 Mini Pros from China, along with a couple more of the relay boards that you’re using. The’ll take a while to arrive on a slow boat, but the you’ll have some spares that you can test code and additional hardware setups on in an off-line environment and also as spares to swap-out if you need to do some troubleshooting.
You might also find this topic of interest:
I have a project where I’ve also stolen some power from a door entry system and that is described a little in that topic. I put my voltage regulator on a Wemos prototyping board and used a triple base to mount it, but a double base and the external relay board would well for you.
I’ll mark this as “Solved”, but the topic is still open and you can still post here if you wish.
Cheers,
Pete.