Build simple wireless door (open/close) sensor with Arduino or Attiny84/87
To comunicate between the raspberry and arduino, there is a nice and cheap module (nRF24l01).. I already used it and I counsel to use.. there are already libraries and a lot of tutorial for them on the internet.. it's just need some search