Remove duplicate constants: DEFAULT_INTERVAL & DEFAULT_HYSTERESIS_PERIOD
Move interval and buffer_size to input plugin