So… i got my capacitors and my god it works.
I found an AC interference protection setup for a button and used it for my reed switch:
link:http://forum.arduino.cc/index.php?topic=295658.0
But it didn’t react to either removing or closing the magnet switch, so I experimented a bit on my own and found this setup to work EXACTLY as intended:
Using this simple code:
void setup() {
pinMode(D1, INPUT);
}
void loop() {
delay(10000);
System.sleep(D1, RISING, SLEEP_NETWORK_STANDBY);
}
It could probably use some slight changes in resistor strength, but it works as i want it.
Finally!
Thank you for your help, i really appreciate it