converted garage_monitor.py into a simpler sensor with a socket server to respond to get_state() requests