6 inch riser flow switch went off due to water surges. I adjusted it to take a longer surge in order to set the alarm off if this does not fix the problem next step would be to add a check valve underneath the flow switch.