I am intending to build a wine storage cabinet - intention is to hold the cabinet at a constant temp range of 11-13 degrees using a peltier device. Cabinet will be made of panels that are 4mm ply on each side of 25mm polystyrene sheet and will be built around a 48 bottle metal wine rack that has been gathering dust in my garage for some time. I have built a prototype using a polystyrene chilly bin and it looks like the temp is achievable with a single peltier but I will probably use two. Now for my problem. I would like to mount some kind of sensor at each position on the rack to determine whether there is a bottle there. Looks like the cheapest way to do this is with a mechanical micro switch mounted in some way (I can 3d print a suitable mount), but I can not find a simple method of managing the disposition of 48 micro switches with Arduino or Raspberry Pi - can work with either. Also, limit switches are deemed to be 'momentary' - ie you press them and then let them go. I don't know what will happen if they are held down constantly. Can anyone point me in the right direction.
Thanks in anticipation.