Edgent_ESP8266

The Wemos D1 Mini plus relay shield stacked on top, or alongside in a dual base is my preferred solution. It’s probably more compact than the ESP-01 plus relay once you’ve dealt with the difficult form factor of the ESP-01, and production costs are zero, except for some sort of housing and power supply. More info here…

Pete.