Forum Replies Created
-
AuthorPosts
-
SamerKeymaster@TechFan wrote:
Each, I noticed the copy bug last night as well, wouldn’t allow save, but so many things were strange, I didn’t report it yet.
Ya pretty rookie mistake 😛 Live and learn I guess…
It’s fixed now and 1.2.0 will come out to address it tonight. I also am fixing a bug with the tap and hold mechanism of the duration popup inputs. I added it in 1.1.9 but realized Android has a bug in the touch events. Regardless, it’ll be fixed ASAP.
Thanks!
SamerKeymaster@TechFan wrote:
@salbahra wrote:
I think you are exactly right (the backup was bad). I want to add file support but making it work across all platforms is impossible. How about this: for devices supporting files use that instead of email but fallback to email when device unsupported. Also, I will add an import file button next to the import config button (like export) when files are supported. I will try to get around to this very soon as I understand having a file is much better, when possible.
Is there a reason your app is so far behind (1.1.6 beta)?
Thanks!
Update: Also for the logging, I just checked and mine work fine and also show previous logs. I think I know the issue and it’s related to your station count. I assume your logs have 24 stations and currently your controller was only reporting 8. Basically, the program only gets station IDs from the controller and it uses your current station names to re-map them. If you decrease your station count, then all stations above the current count won’t be shown.
Makes sense. . .or allow for pasting copied email config backup. . .then you could use that across all platforms. . .? I installed 1.1.6beta back when you were first testing some issues with manual control. I just don’t get to updating my apps constantly. . .if I don’t notice any problems, why upgrade. Also, the problems that appeared in 1.1.7 and 1.1.8 in connection with 2.0.8 kept me from wanting to upgrade as well.
I think you are correct about the logs. . .all my active stations are above 8, so that would be why I only saw a couple stations I had tested on and the rain sensor (which i don’t have).
The copy-paste isn’t a bad idea either and I will look into it, thanks!
The app didn’t have any real issues at 1.1.7 or 1.1.8 (however 1.1.9 has a copy program bug that I am about to push a fix for). Anyways, wanted to make sure it wasn’t anything specific. Thanks!
SamerKeymaster@TechFan wrote:
@salbahra wrote:
@TechFan wrote:
Sent. Any reason why I might have had trouble trying to restore the config backup last night on 2.0.9 or have my logs missing? Went back to 2.0.8 at the end of the night since I needed my sprinklers to run during the day.
Any specific error when importing your config? If not, what didn’t import?
Are the logs actually corrupt on the SD card or they are simply not showing in the log page? Did the logs show up again on 2.0.8?
Thanks!
Logs are back on 2.0.8.
I got timeout errors and password errors on restore. . .only showed 8 stations instead of 24. . .none of them named. . .no programs restored. . .very slow processing restore command. I can try again tonight. I am wondering if the config file in my local browser got removed potentially? Would be great to actually save out to a file on a PC, then load back in (I would feel more confident I really had it). Ended up restoring from backup on my phone (app v1.1.6beta still).
I think you are exactly right (the backup was bad). I want to add file support but making it work across all platforms is impossible. How about this: for devices supporting files use that instead of email but fallback to email when device unsupported. Also, I will add an import file button next to the import config button (like export) when files are supported. I will try to get around to this very soon as I understand having a file is much better, when possible.
Is there a reason your app is so far behind (1.1.6 beta)?
Thanks!
Update: Also for the logging, I just checked and mine work fine and also show previous logs. I think I know the issue and it’s related to your station count. I assume your logs have 24 stations and currently your controller was only reporting 8. Basically, the program only gets station IDs from the controller and it uses your current station names to re-map them. If you decrease your station count, then all stations above the current count won’t be shown.
Update 2: If you are curious, you can see the backup in the browser by doing: localStorage.getItem(“backup”) in the console when you are on the app. This is the same data that is sent via email export.
SamerKeymaster@Oasiz37 I have plans on making the UI more applicable for the desktop and allow quicker access to certain elements. Of course, part one was getting it integrated and we will improve from there. If you have any specific things you would like to see changed please don’t hesitate to let me know.
Thanks!
SamerKeymaster@kevin_s wrote:
I’ve also tried running the installer on a headless Linux VM but it complained that there was an X_11 variable not set so I’m assuming the linux version cannot run without a GUI.
If you are comfortable with this setup, you can install avrdude (for example: apt-get install avrdude) and update the firmware from the command line without a GUI.
For hardware version 2.1:
Remember you still need to enter bootloading mode, instructions here:
To enter bootloading mode: turn off the controller; press and hold pushbutton B2 while plugging in a USB cable; then release B2 within 2 seconds after inserting the USB cable. The screen should remain off.
The following command would work (assuming the file, firmware2.0.9.hex, is in the current working directory):
avrdude -c usbasp -p m644 -F -U flash:w:firmware2.0.9.hex
SamerKeymaster@TechFan wrote:
Sent. Any reason why I might have had trouble trying to restore the config backup last night on 2.0.9 or have my logs missing? Went back to 2.0.8 at the end of the night since I needed my sprinklers to run during the day.
Any specific error when importing your config? If not, what didn’t import?
Are the logs actually corrupt on the SD card or they are simply not showing in the log page? Did the logs show up again on 2.0.8?
Thanks!
SamerKeymaster@Oasiz37 wrote:
Is there any way (SD card?) to keep the old UI around?
2.0.8 still supports the previous UI and even has a downgrade button in the settings page. If you need assistance with this please let me know.
SamerKeymasterOkay for now I believe this has been fixed. Please let me know if it works now.
Thanks!
Update: I looked into this and turns out even though the script is running from the document body it’s possible for document.body to not be available yet. This has been fixed now. Sorry for the inconvenience.
SamerKeymasterOkay that helps a lot actually. Let me get this fixed and I’ll get back to you.
Thank you!
SamerKeymasterBoth Safari and Firefox under OS X work fine for me. Can you identify an error from the console?
The program saving issue is only if you push the copy program button as I am able to reproduce it. I am looking into this but that seems to be the only reason the program won’t submit. It isn’t firmware related and I should have a fix today.
Update: The copy program button should be fixed.
SamerKeymasterThis has been fixed in the app and will be reflected in the next update.
Thanks!
SamerKeymasterWell, I will first say you are right the program preview is not accounting for ignore rain delay on stations. I will fix this today but this is a purely visual issue and does not affect what the firmware does. Also, my program preview is only marking red for rain delay not sensor. I will also get this fixed today.
In regard to the actual station not running due to rain delay being set on an ignore rain station is a firmware issue. I will test this today and try to identify the cause.
Thanks for the feedback!
Update: If your stations have a space in them then no changes may be saved. This is a bug in 2.0.8 and might be preventing the ignore station setting from being saved properly.
SamerKeymasterBy the way, I added this and it will show up in the next version.
SamerKeymaster@iDoug, the space issue will be fixed in 2.0.9 (was NOT intentional) and that will fix the import/export as well as all the other issues. I understand your point and respect it but just so you know I document everything I do on Github. Every small change gets pushed by itself with a comment describing what I changed. The documention contains over 1000 individual changes published here: https://github.com/salbahra/Sprinklers/commits/master.
In regard to the testing, it is impossible to test every aspect however I do understand how important this is and have started adding automated testing which will get checked after every commit. These are still being built out but in the future it should lower the bug frequency dramatically.
SamerKeymasterPerfect glad it’s working now!
SamerKeymasterCan you please update your OSPi software? 2.0.3 is the latest.
SamerKeymasterI identified a possible fix for it not working without index.htm. I will get this resolved today.
SamerKeymasterRoot directory only and using index.htm exposes parts of the app that should be hidden since they won’t work well (mainly multi site support).
SamerKeymaster@TechFan wrote:
Ok. Didn’t see that the first time I pulled it up.
Is there a way to pull up internet link and fall back to locally hosted SD content?
This isn’t needed. After the first successful internet connection, your browser will cache the required files allowing it to work offline.
SamerKeymasterI updated the guide for the SD card. Had a small issue. It works now but you have to refresh a few times. My plan is to add a cache manifest to cache the files because right now the Arduino HTTP server is a lightweight one and not sending cache headers etc.
Try out the SD solution so you see what I mean.
SamerKeymaster@TechFan wrote:
@salbahra wrote:
@TechFan wrote:
I’ll look into how I can put them on SD. My internet was really slow and up and down last night.
Not to ruin your plans but there are limitations. The new UI introduced in 2.0.8 cannot run off the SD card due to network issues. The controller has a hard time serving 10-12 simultaneously requested files (css, js, images, etc). As a result, you will have to use the older UI and 2.0.8 will be the last firmware capable of supporting it.
I am confused at what was intended by this earlier remark? It seems like you are saying the UI can only be hosted on SD through 2.0.8?
Well, I might have rushed with the guide for SD because honestly it won’t be a smooth experience. What I am trying to say and what you keep missing is this feature will not go away and the limitations that exist now will be worked on and resolved. Can we please agree on that? Right now, if you want to run off the SD card you may use Ray’s interface which is supported on the latest firmware, 2.0.8.
SamerKeymaster@TechFan wrote:
Thank you! So hosting these files off the OS SD card is the part not supported after 2.0.8?
I already said, and maintain, SD card support moving forward. In order to clarify that point I just wrote a solution for using the SD card available here: https://opensprinkler.freshdesk.com/support/solutions/articles/5000011026. Please notice the caveat.
SamerKeymasterOkay, I found the bug and will get this fixed in the next update (assuming Apple ever approves the current one).
Thanks and hopefully see it soon. If not, I will post a DMG here.
SamerKeymasterAs promised earlier, here is a guide to hosting the files on your local network.
Guide: http://support.opensprinkler.com/support/solutions/articles/5000010887-changing-the-ui-asset
SamerKeymasterI’ll have to investigate this and get back to you then. Thanks for the report!
-
AuthorPosts