Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: unified firmware update – Valves do not open anymore #39250

    clivep
    Participant

    +1 to this. This is what I get…

    Downloaded and installed the latest (Aug 2014) osbo image. System works OK, valves open etc.

    Now I install the new firmware as follows:
    ubuntu@arm:~$ ls
    bin demos OSPi
    ubuntu@arm:~$ git clone https://github.com/OpenSprinkler/OpenSprinklerGen2.git
    Cloning into ‘OpenSprinklerGen2’…
    remote: Counting objects: 777, done.
    remote: Total 777 (delta 0), reused 0 (delta 0), pack-reused 777
    Receiving objects: 100% (777/777), 394.81 KiB | 142.00 KiB/s, done.
    Resolving deltas: 100% (522/522), done.
    Checking connectivity… done.
    ubuntu@arm:~$ cd OpenSprinklerGen2/
    ubuntu@arm:~/OpenSprinklerGen2$ sudo ./build.sh osbo
    [sudo] password for ubuntu:
    Building OpenSprinkler…
    Do you want to start OpenSprinkler on startup? y
    Adding OpenSprinkler launch script…
    Adding system startup for /etc/init.d/OpenSprinkler.sh …
    /etc/rc0.d/K20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    /etc/rc1.d/K20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    /etc/rc6.d/K20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    /etc/rc2.d/S20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    /etc/rc3.d/S20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    /etc/rc4.d/S20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    /etc/rc5.d/S20OpenSprinkler.sh -> ../init.d/OpenSprinkler.sh
    Done!
    ubuntu@arm:~/OpenSprinklerGen2$

    No errors, all looks OK. Reboot.

    System appears to function correctly but the valves do not open. Firmware version reported is 2.1.5(1).

    Happy to assist further.

    in reply to: Setting up BBB from Scratch #26586

    clivep
    Participant

    OK, got it working. For completeness here is what I did…

    So it is communicating with the Interval Program on port 8080- it is NOT using the Mobile App on port 80.

    All documentation states the Interval program needs to be installed – it needs to be installed and be running
    (Sorry, this may have been a bit obvious but I didn’t get from the docco that the Interval program had to be running).

    Running the interval program manually by “sudo python ospi.py” generated a few errors, one of which was
    “No GPIO module was loaded”

    — For this error you need to install the Adafruit Beaglebone IO library to access to the GPIO, from website
    https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation-on-ubuntu
    sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus
    sudo pip install Adafruit_BBIO
    Test your installation using the commands on the website and follow the ‘Starting the program automatically’ instructions
    when all is well.

    Now, running the Interval Program manually I get the following warnings:
    ubuntu@arm:~/OSPi$ sudo python ospi.py
    Ignoring exception while loading the monthly_adj plug-in.
    name ‘Scheduler’ is not defined
    plugins loaded:

    Starting timing loop

    http://0.0.0.0:8080/

    I’m not sure about those couple of warnings But all appears to work OK.

    Thank you for your assistance Ray, I’m certain that you have this information somewhere on the OpenSprinkler website
    but the information is a bit ‘dispersed’. Hopefully this post will help any BBB newbs (& Pi newbs as well) out there
    trying to get this going.

    I want to reiterate what is regularly stated by posters, this is a great project with a great front end by Samer.

    Thanks again and Cheers

    in reply to: Setting up BBB from Scratch #26584

    clivep
    Participant

    I wasn’t aware the web app is no longer supported. I was trying to reproduce the functionality of the preconfigured image. In any case, no issues with using the native app.

    However, using the OSBo setup described previously and the Android version of OpenSprinkler Sprinklers app (updated tonight 28/4) scanning for device I get ‘No new devices detected on your network’. Manually entering a New Device I enter Name=Home, IP=local ip address, Password=pw . I get ‘Check IP/Port and try again’. What am I doing wrong?

    Happy to provide more information as required.

Viewing 3 posts - 1 through 3 (of 3 total)