OpenSprinkler Forums OpenSprinkler Unified Firmware SD card instructions

  • This topic is empty.
Viewing 25 posts - 1 through 25 (of 37 total)
  • Author
    Posts
  • #23156

    Oasiz37
    Participant

    Hi Ray,

    Could you please point me to the step-by-step instructions on how to use SD card? I’ve searched everywhere, but all I could find were statements like “you have to change OS urls to use with SD card”, or “copy scripts to SD card” but nothing specific.

    Here’s what I need:

    1. I have OS firmware 2.0.7 and no plans to upgrade it ever – due to UI changes in newer versions
    2. My concern is that the old UI will not be supported forever, so I need a local copy.
    3. What are the steps to start using an SD card? I guess it’s something like
    3a. Format card (that I can do)
    3b. Insert the card (I have hardware 2.0 beta – I guess it’s under USB port)
    3c. Copy some files to SD card (which files? What the directory structure on SD should be?)
    3d. Configure (how?) the OS so it switches its UI pages from using scripts/files located on your server to the local SD files.

    The manual completely misses 3c & 3d. It would be really helpful to provide detailed SD card usage instructions.

    Thank you!

    #28213

    Samer
    Keymaster

    I wrote a guide for this regarding firmware 2.0.9 and based on your feedback I will update it to detail firmware 2.0.7 and below.

    #28214

    Oasiz37
    Participant

    Salbahra,

    Could you please point me to that guide (2.0.9-only version is ok)?

    Thank you!

    #28215

    Samer
    Keymaster

    This is the current one: https://opensprinkler.freshdesk.com/support/solutions/articles/5000011026-using-the-sd-card-for-ui

    I will update that specific link for older firmwares later tonight.

    #28216

    TechFan
    Participant

    Thx for the updated version. Will the download always be the current ui version?

    Sent from my iPhone using Tapatalk

    #28217

    Samer
    Keymaster

    Yes it will be. I can add the version to the suffix but I would have to update the guide each time (or use -latest).

    #28218

    TechFan
    Participant

    Maybe you can at least note in the guide that it will point to the latest.

    Sent from my iPhone using Tapatalk

    #28219

    Samer
    Keymaster

    @TechFan wrote:

    Maybe you can at least note in the guide that it will point to the latest.

    Good idea and the guide has been updated to support 2.0.7 and below.

    #28220

    TechFan
    Participant

    Where in the files do we look to figure out what version we just downloaded?

    #28221

    Samer
    Keymaster

    The about screen of my UI will tell you the version (which means you can find the about page contents in main.js if you want to dig in code).

    The old UI won’t but it is for version 2.0.7. It should work with previous versions as well.

    #28222

    Oasiz37
    Participant

    Salbahra,

    Thank you so much!

    Cheers,
    Oasiz37

    #28223

    Oasiz37
    Participant

    I’ve just noticed that all scripts still refer to remote images (as in http://rayshobby.net/images/icons/svc_*) and not the local files. I assumed the local distribution should contain the entire fileset and should not have any dependency on Internet-located files. It’s not a big deal, but are there plans to have _all_ files, including icons, in the local package?

    Thank you!

    #28224

    Samer
    Keymaster

    @Oasiz37 wrote:

    I’ve just noticed that all scripts still refer to remote images (as in http://rayshobby.net/images/icons/svc_*) and not the local files. I assumed the local distribution should contain the entire fileset and should not have any dependency on Internet-located files. It’s not a big deal, but are there plans to have _all_ files, including icons, in the local package?

    Thank you!

    Well, this is the old UI so their are no plans but I will fix this for you and update the ZIP soon.

    #28226

    Samer
    Keymaster

    I have updated UI-old.zip to use local images instead of the one’s on rayshobby.net.

    If you have any other issues, please let me know.

    #28225

    Oasiz37
    Participant

    @salbahra wrote:

    I have updated UI-old.zip to use local images instead of the one’s on rayshobby.net.

    If you have any other issues, please let me know.

    Perfect!

    Salbahra, thank you! Everything works now in local mode.

    Oasiz37

    #28227

    cpaine
    Member

    Well, I’m missing something here. I went to the “Using the SD card for UI assets” page, then downloaded the UI_old.zip and opened it in the uSD card, moved the uSD to the OS slot.
    Next instruction is “Navigate to the following URL, replacing os_addr with the OpenSprinkler IP address: http://os_addr/su”. The graphic shows URL 10.0.3.8/su, but trying to open that in a browser gets nothing. The “http://os_addr/su” also gets nothing. Opening the device address on my home network just gets the OS user interface; but there is no option there to change the Javascript URL (or if there is, I haven’t found it).
    I’m running S/W version 2.0, if that matters. Thanks for any advice.

    #28228

    Samer
    Keymaster

    @cpaine The IP in the screenshot is random and not meant to be used as is. Neither is “os_ip” and the document does say to replace these with your OpenSprinkler IP.

    Basically, you need to add “/su” after the device IP.

    Opening the device address on my home network just gets the OS user interface; but there is no option there to change the Javascript URL (or if there is, I haven’t found it).

    Just add, /su, after the address in the browser to get to the page described.

    Update: If you are using 2.0.0 than the SD card is not supported. This method is only supported on firmware 2.0.3+.

    Update 2: The guide has been updated to reflect this.

    #28229

    cpaine
    Member

    I do have S/W version 2.0.0, so that is part of the problem. Now I’m trying to update to a newer version, but it isn’t happening.
    I have installed the USBtiny driver; I know that Windows is finding the device because USBtiny only shows when the OS is plugged in.
    I downloaded the Firmware Updater 2.0 and extracted the files, and plugged the OS into USB. But when I plug in the OS, nothing happens: the updater does not run. If I run the updater.exe, again nothing happens. Suggestions? Thanks.

    #28230

    Ray
    Keymaster

    You said ‘the updater does not run’. What operating system do you use? Do you have Java installed? If not, please go to http://www.java.com, download and install Java. Thanks.

    #28231

    TechFan
    Participant

    My guess from the description is that nothing happens once they click the update button in the GUI (because OS has booted completely instead of into the boot loader mode). Does it already display a message if it finds no device connected? I guess it could also be related to the issue I ran into on windows with it not being able to find the avr tools. . .

    #28232

    cpaine
    Member

    I’m running Vista Home Premium, Java 1.7 update 40, have the USBtinyisp installed and know it is there because it shows in Device Manager only when the OS is connected. The OpenSprinkler is v2.0 (May 2013), s/w version 2.0.0. Because hosting the js files on the SD card is not supported before 2.0.3 (according to salbahra), I am trying to upgrade the s/w version. I downloaded and extracted the Firmware Updater 2.0.zip. In folder osFirmwareUpdater/windows I see file osFirmwareUpdater.exe.
    But when I plug in the OS to USB, the updater does not run. The screen immediately illuminates with no characters; after about 1 second, it shows the date with “Connecting…”, which then changes to “MC:__________________” after several seconds. If I hold down B2 when plugging in the USB (which is the instruction for 2.1, not for 2.0), the screen reads “Reset all?” after about 1 second, and that remains until I power off the unit. But the Updater never runs. If I try to run the osFirmwareUpdater.exe file, with or without OS plugged in, the User Account Control pops up, so I know something is happening, but the Updater just closes immediately.

    #28233

    TechFan
    Participant

    So, the updater GUI never shows up?

    I have seen this before as well, but it was when the firmware_info file was missing/corrupt.

    #28234

    cpaine
    Member

    That is correct: no Updater GUI ever appears.
    I removed all the downloaded files and re-downloaded the Updater 2.0: no change in behavior. Still no GUI.

    #28235

    TechFan
    Participant

    What is the complete path of the folder you are running the updater from?

    #28236

    cpaine
    Member

    From “http://rayshobby.net/blog/?page_id=732” I use the link to “OpenSprinkler Firmware Updater 2.0 (for OpenSprinkler Hardware 2.x only)” to download the file “osFirmwareUpdater.zip” to a subfoler in a folder on my desktop:
    Desktop folder “Equipment, manuals, etc”, subfolder “OpenSprinkler”. When the download has finished, the file is 39,248 KB.
    The .zip file contains two folders, “_MACOSX” and “osFirmwareUpdater”, and two zero-size files with the same names.
    The “osFirmwareUpdater” folder contains several folders, of which one is “windows”; the “windows” folder contains two folders and five files, of which one is “osFirmwareUpdater.exe”, 388 KB, which is what I have been calling “the Updater”.

    Lot of information, probably much more than you asked for. Thanks for the help.

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

OpenSprinkler Forums OpenSprinkler Unified Firmware SD card instructions