OpenSprinkler › Forums › OpenSprinkler Unified Firmware › SD card instructions
- This topic is empty.
-
AuthorPosts
-
September 8, 2014 at 4:59 pm #23156
Oasiz37ParticipantHi 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!
September 8, 2014 at 5:18 pm #28213
SamerKeymasterI 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.
September 8, 2014 at 5:34 pm #28214
Oasiz37ParticipantSalbahra,
Could you please point me to that guide (2.0.9-only version is ok)?
Thank you!
September 8, 2014 at 6:13 pm #28215
SamerKeymasterThis 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.
September 8, 2014 at 7:27 pm #28216
TechFanParticipantThx for the updated version. Will the download always be the current ui version?
Sent from my iPhone using Tapatalk
September 8, 2014 at 7:30 pm #28217
SamerKeymasterYes it will be. I can add the version to the suffix but I would have to update the guide each time (or use -latest).
September 8, 2014 at 9:11 pm #28218
TechFanParticipantMaybe you can at least note in the guide that it will point to the latest.
Sent from my iPhone using Tapatalk
September 8, 2014 at 9:19 pm #28219
SamerKeymaster@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.
September 8, 2014 at 10:10 pm #28220
TechFanParticipantWhere in the files do we look to figure out what version we just downloaded?
September 8, 2014 at 10:44 pm #28221
SamerKeymasterThe 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.
September 8, 2014 at 10:46 pm #28222
Oasiz37ParticipantSalbahra,
Thank you so much!
Cheers,
Oasiz37September 8, 2014 at 11:00 pm #28223
Oasiz37ParticipantI’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!
September 8, 2014 at 11:06 pm #28224
SamerKeymaster@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.
September 9, 2014 at 12:25 am #28226
SamerKeymasterI 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.
September 9, 2014 at 5:55 am #28225
Oasiz37Participant@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
September 14, 2014 at 2:25 am #28227
cpaineMemberWell, 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.September 14, 2014 at 3:18 am #28228
SamerKeymaster@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.
September 15, 2014 at 12:26 am #28229
cpaineMemberI 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.September 16, 2014 at 6:06 pm #28230
RayKeymasterYou 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.
September 16, 2014 at 6:54 pm #28231
TechFanParticipantMy 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. . .
September 17, 2014 at 12:29 am #28232
cpaineMemberI’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.September 17, 2014 at 12:52 am #28233
TechFanParticipantSo, the updater GUI never shows up?
I have seen this before as well, but it was when the firmware_info file was missing/corrupt.
September 17, 2014 at 2:43 am #28234
cpaineMemberThat 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.September 17, 2014 at 6:36 am #28235
TechFanParticipantWhat is the complete path of the folder you are running the updater from?
September 17, 2014 at 2:42 pm #28236
cpaineMemberFrom “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.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › SD card instructions