Almost working sensors.
works, problems with concurrency