Add Up/Down to OnChange DI pin watching

When watching pins, f.ex. for a motion detector, it may be useful to only send rising or falling edges.