Add Up/Down edge to OnChange DI pin watching

When checking pins, f.ex. a motion sensor, it may be useful to only get falling or rising edges sent to the base station.