basic voltage thresholding for smoke sensor
moved analytics logic to separate module