changed wifi callback to query all sensors