OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › After Update no access via OpenSprinkler
- This topic has 27 replies, 6 voices, and was last updated 5 years, 11 months ago by Ray.
-
AuthorPosts
-
July 24, 2018 at 12:09 am #51313
TobiParticipantHello,
Yesterday an update was shown in the app.
Sadnly I did it, now I don‘t have any access to the app.Can someone support me, my not existing linux expirance are not really helpfully 🙁
Regards
Thomas
July 24, 2018 at 10:17 am #51324
RayKeymasterLikely it’s related to this:
https://opensprinkler.com/forums/topic/ospi-ui-not-coming-up-after-update/
If you have previously checked out branch 2.1.8, you can switch back to master branch by going to terminal or ssh to your RPi, and go to the firmware folder, do:
git checkout master
then
git pull
and finally
sudo ./build.sh ospi
Then reboot your RPi. That should fix it.July 24, 2018 at 11:27 am #51331
TobiParticipantThanks Ray,
but I´m to stupid
look at the screenshotAttachments:
July 24, 2018 at 11:35 am #51334
RayKeymasterI said “go to the firmware folder” — you are at the home directory. Please do:
cd OpenSprinkler-Firmware
then you will be in the firmware folderJuly 24, 2018 at 11:49 am #51336
TobiParticipantOK
Take a look onto the screenshot pleaseAttachments:
July 24, 2018 at 12:20 pm #51339
RayKeymasterYour firmware folder is named OpenSprinklerGen2, so just
cd OpenSprinklerGen2
July 24, 2018 at 2:00 pm #51346
TobiParticipantOk thats done, but the opensprinkler app can´t reach the raspi from iPad or iPhone
But I can reach the home side via Laptop as shown on the screenshot, but not on port :8080Attachments:
July 24, 2018 at 2:20 pm #51349
RayKeymasterJudging from that page you probably used the OpenSprinkler pre-configured SD card and upgraded from that. Please note that the latest firmware is no longer compatible with the Raspbian in the pre-configured SD card — that image was created several years ago and is not compatible with the latest RPi any more. You need to install the latest Raspbian and install firmware after that.
July 24, 2018 at 3:19 pm #51356
edwardhParticipantFirst, thank you for the work on this software and hardware!
I think that I am experiencing this same issue. I updated the iPhone app to version 1.7.9 recently – NO other system changes – and now the app says “Unable to connect to Home.” I can access the web UI without problem.
Again, the only thing that has changed is the app upgrade.
Edit: I am using a Pi version installed on top of Raspbian. Not able to get a shell to check version, but it was pulled from master sometime in June. Can get version info later.
July 24, 2018 at 6:38 pm #51365
RayKeymaster@edwardh: you said you can access the web UI without problem — could you check which app version the web UI is? The latest should be 1.8.0.
July 24, 2018 at 9:36 pm #51371
edwardhParticipantApp Version: 1.8.0
Firmware: 2.1.8 (1)
Hardware Version: OSPiJuly 24, 2018 at 11:39 pm #51373
TobiParticipantYou need to install the latest Raspbian and install firmware after that.
sudo apt-get update and
sudo apt-get dist-upgrade
are made
can you please help me with the firmware?July 25, 2018 at 6:49 am #51378
edwardhParticipantA bit more information: I setup my parents several years ago on OpenSprinkler. This is an early hardware version that has an Ethernet jack, though at the moment I can’t say how early it is. It was one of the kits that I assembled.
Again, I can access its web UI without a problem, but the iPhone app gives me the same “cannot connect” error. The web UI says it is running firmware version 1.8.3. Similar to my OSPi, no changes have been made on the hardware side, only an iPhone app upgrade.
July 25, 2018 at 11:54 pm #51405
TobiParticipantHi,
Yesterday in addition an update of the iPhone app was available via app store.
I did it.Can someone help me with the right ospi frirmware, I ve the Pi gen2 with Lan.
I’m struggling with the versions of the right firmware..Regards
ThomasJuly 26, 2018 at 7:40 am #51409
edwardhParticipantJuly 26, 2018 at 9:18 am #51413
RayKeymasterJust a quick note while we try to troubleshoot iOS app issues: you can always access the controller by using a web browser (Chrome etc.) and directly typing in the IP address into the browser. At least this allow you to continue using the controller while we troubleshoot the app. At the moment Samer and I neither of us can reproduce the issue: we’ve tested on iPhone 5, 6, X, iPad, and they all access the test OpenSprinkler fine without any problem. So we are still looking to reproduce the problem to begin the troubleshooting.
July 26, 2018 at 12:26 pm #51416
edwardhParticipant@Ray: I appreciate the reminder. I have bookmarked my site for quick access, as far as I’m concerned things are still working, just not quite as convenient. I’m new to the most recent firmware and I love the advanced weather-based adjustments.
@Samer: I *just now* (13:12 EDT) updated the app to v1.8.1. The only change is that I now get an “Incorrect Password” prompt instead of the original error message that indicated “Cannot connect to Home.” So, still no access with the iPhone app.Some more details about my setup, and remember that the web UI works fine for all of this. I’m not sure if any of this will be helpful: I have dynamic DNS setup on my Ubiquiti firewall. Behind that I direct all HTTP(S) traffic (ports 80/443) to an nginx reverse proxy server that allows me to easily create subdomains for the few different services I want to be able to access remotely. That nginx instance applies basic HTTP authentication to the OSPi server and also acts as an SSL endpoint with LetsEncrypt. I know the default port for the OpenSprinkler web server is 8080, which can be changed in the settings, but I have left that alone as the reverse proxy allows me to “change” it to port 80 on the WAN side.
As I mentioned previously, my father is having the same issue. Different OpenSprinkler hardware, but also behind reverse proxy with HTTP authentication, though I haven’t setup SSL at his place. Again, direct access of web UI on the WAN facing sub domain works without issue.
Not sure if any of this is useful for consideration of this bug. If this forum supports direct messaging I wouldn’t mind offering you my URL and a test user for debugging purposes.
July 26, 2018 at 9:25 pm #51424
SamerKeymasterI am preparing an app which downgrades the webview back to UIWebView. This will be available as 1.8.2 shortly. I believe the issues are all due to the webview change made in 1.7.9.
July 26, 2018 at 11:45 pm #51428
TobiParticipantHi,
because of someone take over my tread for his problem, should I open an new?
I just need the what firmware fits to my pi and how i can install it..
It sonds that my old inst. from the pre- configured SD card are obsolete and for the garbage.Thanks
Thomas
July 27, 2018 at 6:27 am #51429
edwardhParticipantI’ll keep an eye out for the new version and post results. Thanks!
July 27, 2018 at 9:55 am #51430July 27, 2018 at 1:03 pm #51438
NetworknoobieParticipantHi all,
I am having the same problem after updating my iphone’s app. I updated to 1.81 of the opensprinkler app and also the latest firmware for OpenSprinkler for my raspberry pi2. I could not connect to port http://opensprinkler:8080 after. I tried my laptop as well and port 8080 does not come up. I ssh’ed to my opensprinkler box to reboot it, but it still did not connect. I ssh’ed to the box again and ran:
sudo apt-get update and sudo apt-get dist-upgrade, selected yes and installed the latest updates for raspbian. I rebooted the box and still could get the default page, but nothing at port 8080. I ssh’ed again and did a pgrep to see if opensprinkler was running, it was. I killed it and went to the OpenSprinkler folder and did a git clone, and build to compile the newest version thinking that might be the problem. After it ran, I rebooted the box. I ssh’ed, made sure it has an ip address and opensprinkler is running, and tried port 8080. Still nothing. I am not sure what to do now. I am debating formatting a new SD card, getting the latest raspbian lite image, and starting my install from scratch. Do anyone have any ideas on what to try next?
July 27, 2018 at 1:13 pm #51439
SamerKeymasterIf the only issue is accessing the control using the iOS application, then please wait for version 1.8.2. In the meantime please use Safari (web browser) to access the device.
If your issue is the web server is also not running maybe @Ray can better assist.
July 27, 2018 at 1:58 pm #51440
NetworknoobieParticipantHi Samer, my issue was using chrome/internet explorer/safari port 8080 would not come up or do anything.
I used a spare SD card and loaded the newest raspbian, set up wifi, and downloaded and installed OpenSprinkler and its working now on port 8080. On another note, the zone expander I have does not work at all. I have plugged it into the opensprinkler and tested one sprinkler (the green cable) on it’s line 1. I tested it using the app on station 9, and station 10.. nothing happened. I unplugged it and put it into station 1 on opensprinkler and tested it, which works fine. I don’t know why the zone expander is not working and I am not sure what to try to get it working. My setup is currently being tested and I get everything working correctly I plan on cleaning it up and making it look pretty. I appreciate any advice you can give me.
According to the about page:
App Version 1.8.0
Firmware 2.1.8 (1)
Hardware Version: OSPiAttachments:
July 27, 2018 at 6:57 pm #51448
RayKeymaster@Networknoobie: judging from the picture, it seems the expander problem is either because the extension cable was not plugged in correctly, or the cable was mis-wired. Here is my evidence: all 8 wires on the extension cable should be parallel, in your picture, the orange wire on the OSPi side is on the bottom row, but on the expander side is on the top row. This can’t be right. The cable connectors are polarized so there should only be one way to plug it in. Please re-check the cable. It’s certainly possible that the cable may be mis-wired, but it’s quite rare. If you put the two connectors back to back, with the ‘notch’ facing up, all 8 wires should be parallel with no crossing.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › After Update no access via OpenSprinkler