rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

Bug: zones fail to turn on #39

Closed twardnw closed 5 years ago

twardnw commented 9 years ago

Having a very odd issue where zones fail to turn on, no voltage across the zone terminal and common, though the interface & logs show it is turned on. Manual or scheduled does not seem to make a difference. Restarting the sprinklers_pi service makes it behave for a short while. Have verified it is not a hardware issue by running other OSPi applications, they function as expected. Running a brand-new RasPi 2. Let me know if there is more info or if any of the logs could be of help.

nhorvath commented 9 years ago

After the issue begins occurring are you able to get the pin to come on with command line gpio commands or is the pin totally unresponsive?

By gpio commands I mean wiringPi or similar command line gpio control. Test that you have the right pin # while it's still working then once it stops try again.

On Mon, May 11, 2015 at 2:43 AM, Tyler Ward notifications@github.com wrote:

Having a very odd issue where zones fail to turn on, no voltage across the zone terminal and common, though the interface & logs show it is turned on. Manual or scheduled does not seem to make a difference. Restarting the sprinklers_pi service makes it behave for a short while. Have verified it is not a hardware issue by running other OSPi applications, they function as expected. Running a brand-new RasPi 2. Let me know if there is more info or if any of the logs could be of help.

— Reply to this email directly or view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/39.

Shaker666 commented 9 years ago

I would also use a meter to verify continuity and check for shorts in the circuits going out to the valves.

bldrdash commented 9 years ago

I'm also having a problem with the RasPi 2 and sprinklers_pi, more or less the same as twardnw. Works fine with OSPI.py and there are no shorts. Turing on Zone 5 actually turns on Zone 7, and turning on Zone 7 produces no voltage across common and Z7 (or any pin).

Output is set to "OpenSprinkler"; "Direct Positive" gives me no voltage across pins when I turn on a zone. I'm using 331ec5c for sprinklers_pi and and 5edd177 for wiringPi.

Suggestions on how to troubleshoot with gpio command? I've run "gpio readall" while OSPi is running, but see no state changes. Just don't know what the state should be, for example, when Zone 2 is on or off.