OpenSprinkler Forums Hardware Questions OpenSprinkler Beagle (OSBo) OpenSprinkler process dying

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36675

    mnmsrt8
    Participant

    Hey all.

    This is a brand new build that I am working on before spring hits.  I recently installed the unit and originally had the older firmware on their.  Yesterday, I upgraded to the unified firmware and am experiencing a strange issue.

    The OpenSprinkler process just flat out dies on me.  Yesterday, after the update, I was walking around my yard making sure that all the valves opened and closed as they should (which they did).  I then played with some of the programming and labeling of the zones.  Today, I was going to go in there and try to fix a different issue (some silly routing issue I think).  When I went to log in, I was getting an error on the display.  I log into the BBB to do some diagnostics

    [email protected]:/home/ubuntu# ps aux | grep -i open

    root      6057  0.0  0.1   3296   696 pts/1    S+   09:28   0:00 grep –color=auto -i open

     

    [email protected]:/home/ubuntu# cat /var/run/OpenSprinkler.pid

    3267

     

     

    [email protected]:/home/ubuntu# ps aux | grep 3267

    root      6126  0.0  0.1   3296   688 pts/1    S+   09:30   0:00 grep –color=auto 3267

     

    [email protected]:/home/ubuntu# /etc/init.d/OpenSprinkler.sh status

    * OpenSprinkler is not running

     

    [email protected]:/home/ubuntu# ls -lh /var/run/OpenSprinkler.pid

    -rw-r–r– 1 root root 5 Apr 13 17:30 /var/run/OpenSprinkler.pid

     

    [email protected]:/home/ubuntu# /etc/init.d/OpenSprinkler.sh start

    [email protected]:/home/ubuntu# cat /var/run/OpenSprinkler.pid

    7297

    [email protected]:/home/ubuntu# /etc/init.d/OpenSprinkler.sh status

    * OpenSprinkler is running

     

    We can see that the process was started yesterday at 5:30cst, and is not running.  The PID file still exists, so it had to have died unexpectedly.  I cna then restart it and it starts as it should and I can log in.

    If there are more commands/logs I can look at please let me know.

    Other than that, and ideas?

    • This topic was modified 4 years, 7 months ago by mnmsrt8.
    • This topic was modified 4 years, 7 months ago by mnmsrt8.
    #36737

    Ray
    Keymaster

    Sorry to hear that. The unified firmware hasn’t been thoroughly tested on OSBo, and I will try to see if we can reproduce the issue. Just to make sure, is your code up to date (i.e. have you performed git pull to grab the latest version)?

    #36755

    mnmsrt8
    Participant

    I have.  I did the install just two days ago.

    As an update it seems that it has been running fine for a couple of days, which is totally okay with me.  I wish I knew what cause that a few times, but as of right now it has been up and stable.

    Different issue though that I may start a new thread on.  If I use the OpenSprinkler App on my iPhone and manually start a zone.  Then close the app (double tap home and swipe the app away) the zone that I started will not shut off.  If I go back into the app after the time has expired for the zone, the zone will shut down immediately.

    Ray, if there is any testing, or code or anything you wnat to have me try, let me know.  I would be more than happy to help.

    #36757

    Samer
    Keymaster

    Ray identified the bug causing this yesterday night and if you update your copy the issue should be gone.

    This was due to a change that modified how the non blocking socket was established.

    Let us know if the update fixes it. Thanks.

    #37284

    mnmsrt8
    Participant

    THe OS processes has stayed running, but I have encountered another issue.  I will start a new thread.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Beagle (OSBo) OpenSprinkler process dying