OpenSprinkler / OpenSprinkler-Firmware

OpenSprinkler Unified Firmware for OpenSprinkler, OpenSprinkler Pi, and OpenSprinkler Beagle.
http://www.opensprinkler.com
GNU General Public License v3.0
475 stars 286 forks source link

Flow sensor phantom counts #201

Closed n3xus1 closed 2 years ago

n3xus1 commented 2 years ago

opensprinkler Pi with raspberry pi 2B version 1.1

using default install of bullseye causes the flow sensor to count with not input connected issue is not present on default install of legacy buster with same configuration

mattriney commented 2 years ago

I have this issue as well. There also seems to be an issue with the rain sensor not changing properly when triggered/cleared.

mattriney commented 2 years ago

Just confirmed rolling back to buster does not show the same phantom flow sensor counts.

mattriney commented 2 years ago

The flow sensor reading goes erratic after being triggered for the first time and never goes back to baseline as seen in this graph. Also, you can see after I moved back to buster just past 3PM and trigger the sprinklers I get a normal reading(7L/min or so) and then it drops back to basline(0 L/min) as it should. Screenshot 2022-04-01 215921 .

rayshobby commented 2 years ago

The issue with bullseye is that it no longer supports wiringPi, which is needed (specifically, the 'gpio' command that comes with wiringPi) to enable the internal pull-up resistor on the sensor pins. This will be resolved in the next firmware by changing to use 'raspi-gpio' command instead.