Read Analog value and post on/off for garage switches