OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Problems after update–can’t use web or mobile app

  • This topic is empty.
Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #22884

    daver
    Member

    I did the update for May 6 by git pull under OSPi on my Pi. Made the sd.json update to 8080, according to the instructions.

    The mobile app (iOS) downloaded yesterday is not working correctly. I can control the app via web browser on the desktop OR via HTML5 on my iPhone via Safari, but not using the recently downloaded iOS app.

    #26781

    daver
    Member

    UPDATE: After updating the web app (I hadn’t cloned the git repo in ages), /sprinklers now functions.

    UPDATE2: Apparently, my browser had some cache issues. The Interval Program is FINE.

    UPDATE3: The mobile iOS app is not functioning after the update. I can’t get it to turn on my zones manually. I can use the HTML5 version that is accessible from my iPhone and that works like a champ.

    I have tried updating the connection several times, no change in behavior. Only the iOS app seems to be unable to communicate or respond to my OSpi. Ideas? Thoughts?

    #26782

    Dan in CA
    Participant

    There was a glitch with the plugin that is required for the app to run. 😳
    you can fix it by either doing another git pull or from your pi directory:

    chmod +x ./OSPi/plugins/mobile_app.py

    Dan

    #26780

    Samer
    Keymaster

    I just checked Dan’s latest update against my iOS app and everything seems to work well. If you have grabbed Dan’s latest fix and still having iOS trouble can you please tell me what specifically isn’t working? When toggling a station in manual mode do you get an error? Does it show as running on the home page or status page?

    Thanks!

    #26783

    daver
    Member

    Thanks for that Dan–I pulled the latest changes and did your execution bit fix. After reboot of my Pi, I didn’t see any change in iOS app behavior.

    Samer: Here’s what I see.

    1) Open the iOS mobile app
    2) Go to Manual Control
    3) Tap on the Manual Mode toggle button.
    4) Button flips quickly from Off to On and then immediately from On to Off
    5) No matter how many times I tap on that toggle, it NEVER stays on

    I tried some other operations, also without success:
    – Change Rain Delay and then hit submit. Just spins indefinitely.
    – Edit Program, disabled a program, tried to submit, again, spins indefinitely.

    I can do the same operations from the HTML5 application on mobile Safari AND from my desktop browser just fine. Rebooting my iPhone does not change the behavior.

    #26784

    Samer
    Keymaster

    Delete the site from the mobile app (or better yet clear the config) and try to scan and add the device. I suspect a wrong port or IP is saved?

    #26785

    daver
    Member

    Neither helped. I did both. Still acts the same.

    It definitely SEES my Pi and the settings on it. For example, last night I enabled Manual Mode via the HTML5 app. When I went in today to try your tests, I saw the Pi in Manual Mode from the iOS app before I even started.

    #26786

    Samer
    Keymaster

    Can you use my app to export configuration (side panel), delete your OSPi setup, clone a fresh copy, and import the config back from the mobile app.

    I know for a fact OSPi works with my mobile app on a clean install. I don’t know what config you might have that’s causing errors but I am hoping a clean install will fix things.

    #26787

    daver
    Member

    Where does the export save to? When I click Export, it just says that it exported, but I don’t know where it ended up.

    Another bug I found: Clicking Rain Delay and putting in 86 hours (we’re about to get a snow storm today!) got me the error: Unable to communicate with OpenSprinkler. Check the password and try again.

    Other operations on the HTML5 app work fine, just not this one.

    #26788

    Samer
    Keymaster

    It exports to your localStorage within the application. iOS doesn’t allow file based operations.

    Regarding the rain delay, I am not able to recreate this and it works fine here. Is your connection local or over the internet? I tried using both the native app and the web app.

    Also, I assume HTML5 app means webapp which I am not actively developing this anymore in favor of the native apps.

    #26789

    daver
    Member

    So I tested this in a completely different way.

    I had the app installed (native iOS) on my iPad (3rd gen). Never been connected before to my OSPi. Tried connecting it for the first time. Same behavior–with no configuration saved previously.

    It seems suspicious that I was able to run the native iOS app just fine before I updated the OSPi to the latest version, doesn’t it?

    #26790

    Samer
    Keymaster

    Same behavior being rain delay doesn’t work when you put 86 hours?

    Everything else works? Does rain delay work when you use the slider? What iOS version are you using?

    Can you just roll back to the old version of OSPi? If you want help, let me know.

    #26791

    Tobi
    Participant

    4) Button flips quickly from Off to On and then immediately from On to Off
    5) No matter how many times I tap on that toggle, it NEVER stays on

    I tried some other operations, also without success:
    – Change Rain Delay and then hit submit. Just spins indefinitely.
    – Edit Program, disabled a program, tried to submit, again, spins indefinitely.

    Hi daver,
    That sounds pretty similar to my problems, you was able to fix this??

    Regards
    Thomas

    #26792

    packman1969
    Member

    Same thing here after a fresh install from SD card image and APP on iPhone 4 and 4s.

    Solution (temporary) was to change the values from an Android device.

    Regards, Frank.

    UPDATE:

    I have to apologize, may gf really managed to put the wrong password in all three iPhones :-). So that was why only my Android worked. Sorry for the confusion.

    #26793

    awesome-o
    Member

    Same problem. HTTP client works fine, but not the webapp.

    I do see that trying to switch on manual mode in the app flashes a error message for a second: “Error communicating with open sprinkler. Please check your password is correct”.

    Update:
    Known bug, the answer is here: https://github.com/salbahra/OpenSprinkler-Controller/issues/30

    Edit the config.php file and change the password there:
    #Set OpenSprinkler password
    $os_pw = “opendoor”;

    Alternative: Change your password back to “opendoor”

    #26794

    Samer
    Keymaster

    To be quite honest, I am quite confused why there is a sudden influx of web app users. The native app has been released and offers a better experience (backgrounding, install method, etc) over the web app.

    I assume it is due to the SD card. Maybe I will ask Ray to just remove the web app from the SD card.

    The only missing feature is logging which has already been built for the OSPi and will soon support Arduino based OpenSprinkler, as well.

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

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Problems after update–can’t use web or mobile app