October 13, 2014 at 4:08 pm #33861
I have opensprinkler 2.1
I followed your guide here to install the UI on SD card.
I failed to make it work with firmware 2.0.5, so I put the last firmware
I tried again, but I get only a grey blank page.
I can access some files on the sd card like : http://192.168.1.22/img/logo.png or I can read the js script, but it fails to operate. The chrome tab shows “loading…”
Could you help me ?
It seems I’m close to succeed….
Thank you very much.October 13, 2014 at 6:35 pm #33863
If you don’t mind, can you open the console in the developer tools on your browser and paste the error, if any.
In Chrome, you can right click on the page and push “Inspect Element”. There you can find a tab called “console” which should show any error messages in red.October 14, 2014 at 12:32 pm #33901
This is what the console tells us :
“Uncaught SyntaxError: Unexpected token ILLEGAL”
and at the extreme right of the console screen : “app.jgz:1”
Thank you for your helpOctober 14, 2014 at 3:09 pm #33911
It seems you are using UI.zip even though the document says if you are using firmware 2.0.5 you should use UI-old.zip.
Please try with the other zip and let me know if you continue to have issues.
ThanksOctober 15, 2014 at 2:17 am #33963
Perhaps I wasn’t so clear in my last email (I’m not native english speaker)
I first tried the procedure with firmware 2.0.5 ans Ui-old.zip, and didn’t succeed (I couldn’t even access to any file on the sd card).
Then I installed the last firmware (I think it’s 2.0.9) and tried with UI.zip. As I explained before I can access some files on the sd card (images, scriptfiles), but the page remains grey and blank.
Thank you.October 17, 2014 at 4:20 pm #34030
All of my testing has shown this works fine. I am not sure why you are experiencing issues.
For now, if it’s still not working, please just use the default location for the files.
I will continue looking into this however until I am able to recreate it, I likely won’t be able to fix it.November 7, 2014 at 6:49 am #34474
I currently am experiencing the same problem and trying to investigate the cause. Out of interest, are you a PC or Mac user?
OpenSprinkler South AfricaNovember 7, 2014 at 3:24 pm #34496
I’m on PC. But I could try on a mac next week.
I’m not sure the problem can come from mac or PC as it is a webinterface that should be crossplatform.
So, do you have only a grey blank page in place of the UI when connecting to the opensprinkler IP ?
Interesting that I’m not the only !
But, about mac and pc, I could not update the opensprinkler on pc where it wasnt recognized (windows and ubuntu) and I had to use a Mac to do it.
RegardsNovember 12, 2014 at 1:14 pm #34633
At one point I thought it could be related to how the files were being transferred to the card but I don’t think it is that after doing much testing.
I do have a ticket open (#41) and I’ve submitted detailed console errors via email. I’m hoping to hear back from Samer soon.
Yes, just the grey lank page with “loading” in the title.
Don’t worry, we’ll get to the bottom of this 😉
Take a look at details.png (Summary of my testing)
OpenSprinkler South Africa
Attachments:November 12, 2014 at 1:16 pm #34635
It’s also worth mentioning that the documentation is conflicting.
On the website it indicates that the path for local files should be “./js” but when I visit http://192.168.1.100/su the page recommends “/”November 12, 2014 at 1:28 pm #34636
So reviewing the screenshot attached I can comment on what I suspect is going on.
For firmware 2.0.8, folders are not supported from the SD card and therefore the UI-old.zip should be used. I’ll double check this and update the guide if that’s the case but based on your errors that’s what I am seeing.
For firmware 2.1.0, the issue might be an invalid line return character. This makes sense since its intermittent and most browsers and environments handle it fine. I will scan through my code and look if I can find the aberrant character, if I can.
In the meantime, could you try betaui.opensprinkler.com instead of ui.open….
If I find anything, I will push it to betaui and ask you to test again, if you don’t mind.
Thank you for the continued testing and feedback!November 13, 2014 at 12:52 am #34646
Will switch to betaui.opensprinkler.com
If you need any further assistance with testing or remote access to a demo unit please let me know.
HNovember 13, 2014 at 1:49 pm #34653
You will find as an attached png file the consoles of firefox, internet explorer and Chrome on windows 7 and in an .odt, the console of firefox on ubuntu. Excuse, the console are sometimes in french, but in the .odt doc I translated a few sentences in the notes.
Thank you for your help.
Attachments:November 13, 2014 at 1:52 pm #34656
By the wy, I tried http://betaui.opensprinkler.com and I have a white blank page…
ThanxNovember 13, 2014 at 6:39 pm #34661
Okay, can you try this: goto http://ui.opensprinkler.com (using the URL directly in a browser). Add your device either by scanning or manually by typing the IP and password. In the meantime, I think your screenshot will help me understand what is going on. Thanks!November 13, 2014 at 9:25 pm #34668
Okay, I have identified the issue and have sent both of you an email with a beta firmware to try. Once we confirm the issue is fixed we will be releasing the fix with the upcoming 2.1.1 firmware release.November 14, 2014 at 1:26 pm #34674
I misunderstood, I tought I had to add the http://betaui.opensprinkler.com adress in the 192.168.x.x /su menu.
In a web browser both betaui.opensprinkler.com and ui.opensprinkler.com recognize my sprinkler. It works.November 20, 2014 at 4:46 am #34756
Is it possible to get a copy of the source for this fix or a diff so that I can apply it to my copy of the sources?
IanNovember 20, 2014 at 4:11 pm #34761
The code changes are published on Github. The specific commit you are requesting is available here: https://github.com/OpenSprinkler/OpenSprinklerGen2/commit/b4b6430bbb9d0c976aee3b0c5a3873a36f8159c5November 21, 2014 at 12:24 am #34768
- You must be logged in to reply to this topic.