Smart lights in an old house

This might help: