Fixed reed sensors.
Refactored light LED CoAP resources for code efficiency.