Creating a Sensor

Is there anything in this thread?