add name getter to Sensor class
build a rough xml string... not done