Laying out the node boards in Kicad.
The idea is one board. Be able to control it directly from the esp8266, or give it control of the 3v or 5v, use an npn or a pnp. WIth an additional header to program it with a jumper. Most of these boards are for motion sensors, window / door sensors, water sensors and etc. (2 sensors only for this layout).
really it's jumper select madness. But should work for relays also etc. Still need to add some protection diode to the board