OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Problems after update–can’t use web or mobile app
- This topic is empty.
-
AuthorPosts
-
May 7, 2014 at 8:23 pm #22884
daverMemberI 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.
May 7, 2014 at 8:49 pm #26781
daverMemberUPDATE: 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?
May 7, 2014 at 9:22 pm #26782
Dan in CAParticipantThere 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
May 7, 2014 at 9:45 pm #26780
SamerKeymasterI 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!
May 8, 2014 at 8:38 pm #26783
daverMemberThanks 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 onI 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.
May 8, 2014 at 10:03 pm #26784
SamerKeymasterDelete 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?
May 9, 2014 at 9:01 pm #26785
daverMemberNeither 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.
May 9, 2014 at 10:05 pm #26786
SamerKeymasterCan 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.
May 10, 2014 at 10:00 pm #26787
daverMemberWhere 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.
May 10, 2014 at 10:14 pm #26788
SamerKeymasterIt 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.
May 13, 2014 at 1:50 am #26789
daverMemberSo 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?
May 13, 2014 at 2:08 am #26790
SamerKeymasterSame 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.
May 18, 2014 at 4:12 pm #26791
TobiParticipant4) 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 onI 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
ThomasMay 26, 2014 at 10:22 pm #26792
packman1969MemberSame 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.
May 28, 2014 at 9:54 pm #26793
awesome-oMemberSame 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/30Edit the config.php file and change the password there:
#Set OpenSprinkler password
$os_pw = “opendoor”;Alternative: Change your password back to “opendoor”
May 29, 2014 at 12:04 am #26794
SamerKeymasterTo 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.
-
AuthorPosts
- 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