adds photoresistor data to ultrasonic node and updates struct in gateway