I have set up a wemos D1 mini to send a notification to IFTTT when the door bell is pressed. All works fine accept when I turn on my light switch in the down stairs bathroom the wemos sends a notification to my phone. Wemos is powered by 5v, 700ma mains mini usb adaptor. Wire from bell does crosses mains voltage lines. I cant change this. Can I filter out the noise? Is the nose even causing the problem?
Thank you for any help