How to connect a 3 way switch along with a spark controlled SPDT relay?

There is no need for interupts, no need for WIFY (except maybe to program the chip). The chip drives a relay that turns the light on (and off). Use D1 and D2 to check the two switches. If either switch changes state, then change (toggle) the light relay.
EDITED: use a solid state AC relay.