OpenSprinkler Forums OpenSprinkler Unified Firmware Problem with UI on SD card

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #33861

    raphael
    Participant

    Hi,
    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.

    #33863

    Samer
    Keymaster

    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.

    #33901

    raphael
    Participant

    Hi,
    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 help

    #33911

    Samer
    Keymaster

    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.

    Thanks

    #33963

    raphael
    Participant

    Hi,
    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.

    #34030

    Samer
    Keymaster

    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.

    #34474

    hamishmcarthur
    Participant

    Hi Raphael,

    I currently am experiencing the same problem and trying to investigate the cause. Out of interest, are you a PC or Mac user?

    Regards,

    Hamish
    OpenSprinkler South Africa

    #34496

    raphael
    Participant

    Hi,
    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.

    Regards

    #34633

    hamishmcarthur
    Participant

    Hi Raphael,

    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)

    Regards,
    Hamish
    OpenSprinkler South Africa

    Attachments:
    #34635

    hamishmcarthur
    Participant

    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 “/”

    #34636

    Samer
    Keymaster

    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!

    #34646

    hamishmcarthur
    Participant

    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.

    Regards,

    H

    #34653

    raphael
    Participant

    Hi,

    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.

    #34656

    raphael
    Participant

    Hi,

    By the wy, I tried http://betaui.opensprinkler.com and I have a white blank page…

    Thanx

    #34661

    Samer
    Keymaster

    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!

    #34668

    Samer
    Keymaster

    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.

    #34674

    raphael
    Participant

    Hi,

    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.

    #34756

    ianf
    Participant

    Samer,

    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?

    Ian

    #34761

    Samer
    Keymaster

    The code changes are published on Github. The specific commit you are requesting is available here: https://github.com/OpenSprinkler/OpenSprinklerGen2/commit/b4b6430bbb9d0c976aee3b0c5a3873a36f8159c5

    #34768

    ianf
    Participant

    Thanks.

    I had the wrong repository checked out (https://github.com/rayshobby/opensprinkler.git).

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

OpenSprinkler Forums OpenSprinkler Unified Firmware Problem with UI on SD card