Sensor functions

Mostly examples that can be copypasted as real things when I know what
we are sensing.