Flash driver for 220V lamps according to the state of two switches
Perhaps the easiest solution would be to buy an Arduino relay board and then control it from outside (eg : sending a 1Hz on/off pulse).



Some of those boards can handle up to 10A. This should be far enough for what you want (10A x 220V = 2200W). Make sure you buy one with optocouplers (as on the picture above) for safety.

Sending the on/off pulse and implementing the logic you want can be done using an Arduino (or any other microcontroller) or a simpler circuit like a 555 timer in astable mode (and some AND/OR gates).

I would avoid trying to implement yourself the part that deals with 220V (eg : using a triac + transistor, as found on some schematics on the web) as it can be dangerous.