control damper and get data

control damper takes control value and nodeID as input and controls the
damper to specified value
getData takes choice and nodeID as input and gets the value of the
specific sensor.