I have a RPi2 with an interface card plugged over the GPIO pins with several 1wire buses on it (http://www.sheepwalkelectronics.co.uk/p ... ucts_id=67). I've used one for temperature sensors.
I would like to be able to be able to detect when the door to the computer room this thing is in is opened and shut. I have 15 years of Linux sysadmining but rather limited electronics experience so am a bit out of my depth here.
A good old Googling shows lots of temp and environmental sensors for 1wire but I can't find something for door sensors. All howtos I've found for door sensors involve GPIO fiddling and breadboards (mainly for garages and rather a lot of them appear to be copies of an original, probably for the ad views *sigh*.)
If I'm out of luck for some reason trying to use 1wire for this then if I ran about 7 metres of Cat5e (I've got lots of it but could probably find some lighter or heavier gauge cable with various cores if needed) between the Pi and the door what do I put at each end? I just need some hints here at what technology to use.
Cheers
Jon