Fine tune the rain tipper input with a state machine :)