March 17, 2015 at 11:44 pm #36073
The OpenSprinkler UI just got updated to 1.4.0 bringing some major changes outlined below.
Homepage redesign - Now provides a more informative home screen, which blends the previous current status and edit stations page with extended functionality such as manual station queuing. New menu button - Now available on all pages is the menu button, which provides the navigation that was the previous home screen. No need to revert back to home for each page change. For desktop users, a hot key has been added to this menu by pushing "M" (for menu). New notification system - Added right side panel, which shows new notifications and allows clearing of all notifications at once. Updated site manager – Now allows editing of basic authentication and SSL settings when behind a proxy. Also moved connect button to the title so connection requires one less tap. The same connect but also indicates whether the site is up (green) or down (red). Add Icelandic and Farsi languages Add warning when a importing configuration that will change network settings Add error message when logs fail to be retrieved Fix duration input allowing negative values when it shouldn't Fix preview bug causing stations to render twice when program starts at midnight Fix sorting of timeline on preview and logs page Fix log timeline incorrectly using end time as start time Removed graph representation of log data due to many inconsistencies in favor of timeline view Many minor bug fixes
Currently, the UI is only updated when navigating directly to your device by IP (eg. http://192.168.1.22). This allows us to react quickly to any bugs before pushing to the app stores which invariably take longer to publish fixes/updates.
If you are not seeing the new home page and wish to do so, just refresh your browser or empty your browser cache. If you encounter any issues please let us know so we can address them.
Thank you.March 18, 2015 at 4:42 am #36076
Gave me quite a shock when I just loaded my OpenSprinkler page! Anyway, I do like the new look, couple of questions:
– afer jumping to a few pages using the new menu, how do I get back to the new “home” screen? Couldn’t figure out how to do this.
– I understand the graph caused issues, but I did like to see the graph of % watering (I’m using the automatic option). Any chance of just getting this graphed?
– the mobile page on my Galaxy S5 shows a notification icon (woth a note for me to update firmware). I don’t see this on my desktop version (WIndows 7, Chrome).
Basically minor issues…..March 18, 2015 at 7:14 am #36077
The footer/status bar acts as a link back to home for the most part. Taping it returns you to home.
The graphing of water level data will come back in one form or another but it wasn’t fair leaving a broken implementation in the code. Once I identify a better library the support will likely return.
The notification icon only shows up if you have a notification. Is the desktop connecting to the same OpenSprinkler that needs a firmware update? If so, I would try refreshing a few times sounds like a cache issue, maybe.March 18, 2015 at 7:49 am #36079
Thank you Samer!
One minor blip. I have a daily garden program and an every third day lawn program. On the preview screen for today it predicts no watering.
this may be an artifact of the update. I’ll check tomorrow and see if it was a one time glitch.
SeanMarch 18, 2015 at 10:45 am #36081
@craftgeek, some fixes where made to the preview algorithm to fix some reported bugs. I’m wondering if those changes adversely affected you.
Do you mind providing an export of your config? Be sure to remove any API key or other sensitive data and you can privately attach it here if you wish or email at [email protected].
Thanks!March 18, 2015 at 2:12 pm #36084
I see the revised ui when accessing it via a browser.
How to you get the new ui within the android app?March 18, 2015 at 3:43 pm #36085
@gary, I will be releasing it very soon but wanted to release the browser update first since I can fix bugs instantly whereas the apps have a few hours to days delay. By Friday the apps should be released to the stores assuming no bugs prevent release.
So far, I think the update is being received well and don’t foresee any delays with the Android, iOS, etc being updated.March 18, 2015 at 9:37 pm #36097
Here ya go Samer:
Looking at the logs, it appears that the daily watering did not take place today.
it is predicted for tomorrow, though.
Is there a url to input a past date and location to check the Zimmerman calculation?March 18, 2015 at 9:57 pm #36099
I have imported your configuration and begun examining the issue. Just for reference, the previous app also reported no watering for today so this isn’t a new issue.
In regard to previous days, you can goto the table log data and see the average watering level for that day (an average of each reply for that day).
Update: By the way, is your water level 0%? Because the current day takes into account the current watering level and if it’s 0% the preview will show no runs whereas any other day will show the set durations. Based on your current export, it looks like the water level is in fact 0%.March 20, 2015 at 7:07 am #36134
When I can view it in the early morning, the weather diag always says Current % Watering = 0%. I assumed that was because i can only look at it before sunup most days.
In the Log/Table view, there is no entry for 3/18 or 3/19. in the Timeline view, the last two days show no watering.
I have disabled weather check on the daily program to see if that allows it to run.
BTW, it has not rained or snowed here in over 3 weeks.March 20, 2015 at 6:19 pm #36144
Got home early today so I could check it out while the sun is still up , if that makes a difference.
The daily program that I disabled Weather Adjustment watered for the first time since the update rolled out. I think the problem is the Zimmerman weather adjustment.
the sun is up, it is 70 degrees and it has not rained since 3/4/15. On that day we got 0.1 in. I jus ran the weather diagnostic and it tells me that Current % watering = 0%. does this mean that it still thinks zero water is needed? Is that why watering stopped for weather enabled programs?March 20, 2015 at 8:31 pm #36149
Just made the following changes:
- Wiped and reloaded the 2.1.3 firmware.
- ran apt-get update and apt-get upgrade.
- re-enabled Weather Adjustment on the daily program.
- Changed the local weather station setting from the personal weather station where it was pointing to the local airport.
Weather diagnostic still says “Current % watering = 0%”
We’ll see if it waters tomorrow.March 20, 2015 at 10:48 pm #36150
Samer: I have a flow sensor on the OS logging data. I’d like to add it to the existing log file so one entry would have the last run program, last run station, last run duration, and average GPM for that station. When I have it add the 4th field, the GUI and web access ignores the entire line. Could you please consider either displaying the 4th field as GPM (floating point) or at least make it so that it doesn’t ignore the logfile if a 4th field is in there? Or would you prefer the gallons per minute be logged in a different manner?March 20, 2015 at 10:51 pm #36151
FYI allowing the logfile to have a couple more fields and display those in the GUI would make custom logging/mods easier for others also in case someone wants to log other items rather than just GPM for each station run (along with the standard data).March 20, 2015 at 11:26 pm #36152
I am very open to allow GPM data within the app. Another user suggested a station specific popup showing its detail. I think for backwards compatibility we can put this data in another file on the SD and pull it when available like the watering level log is handled. This way they can be polled separately.
I ripped out the old graphing library as it gave me many issues and made the timeline default. I am looking for a new graphing library and plan to have a candidate soon to replace it and reincorporate graphs that are responsive. Once that is completed we can easily plot flow data as well.
Thanks!March 20, 2015 at 11:44 pm #36154
I thought the GUI/App would not like the additional data but it ends up I was putting the data in the wrong order (epoch time spot instead of after it). So now that I placed it after it here is what it looks like, and seems to work on the HTTP GET for the log as well as the GUI/API seems to work and just ignore the extra GPM data. With the HTTP GET it passes all the data including the additional GPM info (see below partial data from the HTTP GET):
The 8.23 is the GPM measured.
If you think this will interfere in the future we can move it outside of this standard logfile. I tried creating a new logfile but then had to create utilities to get the data, etc and then moved it back to the existing logfile . So ideally if we can keep it in the same logfile to avoid duplication of data/functions I’d probably prefer that.March 21, 2015 at 12:57 am #36156
It does make sense to keep the flow data with each run since that’s what we would be associating it with: duration and frequency.
And as you discovered it shouldn’t interfere with the current methods (extra data). We can absolutely continue this path assuming Ray can implement your methods regarding the flow data.March 21, 2015 at 10:10 pm #36169
@Robert, glad to see that you are making use of the current system to log flow rate. Here is how the log data is formatted: each entry records the [program_index, station_index, duration, time_stamp]. When program_index is non-zero, this is a normal log record storing a standard sprinkler event. When program_index is 0, this is a special log record, and the station_index becomes the name of the event. The currently supported events are defined here:
there are rain sensor, rain delay, and water level events. In the future we can add an additional event such as “fl” (flow), and duration would become the numerical value of the flow measurement.March 24, 2015 at 11:01 pm #36244
The good news is that sunday I was able to generate a report using HTTP GET and show how many GPM each station is and how many total gallons, from the existing logfile. However when I ran the script again today to get the logfile from this morning’s run, it only displayed about 1/2 and only sometimes, other times it never returned anything. Perhaps the added field is causing some instability?
Attached is log 16516 which is sunday, and looks good along with my perl script report called “sunday report ok.txt” that just takes the logfile and formats it. In 16516 you can see the last field which is GPM.
Log file 16518.txt and “tuesday report cut off.txt”. You can see 16518.txt has all the data in there, but the HTTP GET at the top of the tuesday report stops early so my formatted script output also stops early.
The modification to add flow sensor data is pretty easy, just the ISR and of course adding the one additional field when it writes the data to the logfile. I can provide the code for that if you like.
The Min GPM is out of the entire report for that valve (over up to however many days the report was generated for) what the min value was, and the MAX GPM is the maximum GPM observed over the entire report run time for that valve. Last GPM is the last GPM measured on that valve, helpful to see if the underflow/overflow condition still exists. Might add a low threshold and upper threshold for the script to flag zones that are too wide – where last GPM is outside a set range. Also plan on calculating cost per month based on # of days in the report and scaling it with the tot gallons for each zone.
The actual #.txt logfiles I took out the SDHC card and read it on the computer which showed they look right even though the OS isn’t returning all the data.March 27, 2015 at 1:51 am #36295
- You must be logged in to reply to this topic.