For on-off switching my workbench light I am using Arduino modules CJMCU-0101 Touch-switch and IO25A01 Bistable relay. They are connected directly (without Arduino board) and powered by this 220V to DC 5V Transformer Power Supply Module. This combination works flawlessly until power loss. Always after power supply restore the light switches on. No matter which was relay state before power loss. The light always switches on. Same situation appears when I use Bistable-touch-switch and non-latching relay module. I understand that easiest way would be connect light to COM and NC pins of relay, but in this case the coil of relay remains be energized most of the time (when the light is switched off)
How prevent this "always switching on" situation without adding complex of electronic components (lack of space) or it is impossible ?
Current operation ___________________ ___________________ Power _____| |___| |____ _ _ _ _ _ Touch _______| |_| |_____| |______________| |__| |_________ ___ _______ _______ _____ Light _____| |___| |________| |____| |____
Figure 1. Timing diagram by @Transistor for OP to correct and copy / modify with desired operation.