June 24, 2016 at 12:12 am #43145
I have created and tested a firmware version that can take advantage of ET without the need to manually adjust programs.
The firmware maintains current functionality of OS and adds ET as a weather option. The updated ui can be accessed at ui.veuphoria.com if you choose to use the new firmware.
I have been running everything for about a month now without issue. If you notice something odd please let me know and I will do my best to get it corrected. Thanks.
The new firmware can be found at https://github.com/ShawnHarte/OpenSprinkler-ET
Compiling the firmware is the same as compiling 2.1.6 for 2.1 HW. All changes should be self explanatory in the ui. You will need to use the new ui to access the new features. Please write down any current programs you may have as they will not be able to be imported. The run times for each station will need to be set as the time to apply 1mm of water to the coverage area. Google sprinkler precipitation rate for tips on how to measure those times.June 28, 2016 at 12:36 am #43219
That’s very exciting to hear! Thank you for making such a great contribution. I’ve been following your ET thread, and was thinking when we will be able to integrate your changes to the official firmware. And you just did it. Thanks again. Will be checking it out soon and hopefully integrate it to the master branch quickly.June 28, 2016 at 7:37 am #43227
Thank you for the consideration, this has been a personal project for me for quite a bit now, I finally decided I’d learned enough to move forward and put something into the wild. A few extra eyeballs on this project would be fantastic. A little sprucing up of the code should help make it something everyone could use.
I tell everyone I know about OS, and they all think it’s a pretty incredible product. Keep up the hard work and know that I, at the very least, appreciate your efforts and dedication.
If there is anything you require from me, I will do my best to help out, just please realize summer is incredibly busy for me in the landscaping and irrigation business.July 4, 2016 at 8:27 am #43314
Thanks for sharing…really excited to try it out. I tried to do the build and get the following:
main.cpp: In function âvoid do_loop()â:
main.cpp:416:78: error: âminâ was not declared in this scope
main.cpp:450:79: error: âminâ was not declared in this scope
I did a git clone and tried from the downloaded zip and get the same error. As you can tell…I’m no coder :).
RichJuly 5, 2016 at 1:33 am #43322
Okay you must be doing a build for ospi, I had no idea the basic math (min and max) functions were not available to the pi?! Let me do a bit of research and I’ll get back to you later today or tomorrow. Probably just need to do something simple like add an include for some math library, or change min() to math.min()…
If anyone has ospi experience your help here would be appreciated.July 5, 2016 at 2:05 am #43323
Well alright, I changed it to a ternary operator, name isn’t really all that important. The important part is it should work for you now, sorry it took me so long to respond initially.
Let me know if something doesn’t work for you, I’ll do my best to help…I don’t have a OSPi so please be patient. I don’t forsee other issues, but then again I didn’t know that would be a problem.July 6, 2016 at 1:58 pm #43339
Thanks for the quick response…it compiled nicely and I’m able to get on it. Pretty impressive…I see the ET info when I log in with the updated UI. My Current ETs are 0…but I assume because I just installed and configured it. I’ll let it run for a few cycles…thanks. 🙂
RichJuly 6, 2016 at 3:23 pm #43341
You should see the et update after the first weather check. It will also force update at midnight. If something doesn’t update let me know.July 7, 2016 at 5:48 am #43352
Still have 0 under my current ET. When I do weather diagnistic I get last weather call Thur,07 July 2016 06:17:00 but under successful call I get a -. The rest of the fields are populated, humidity, temp…
My wunderground key is working, the field is green so I assum it has connected.
RichJuly 7, 2016 at 6:46 am #43353
Have you tried resetting the pi, or at least the sprinkler portion of it? If you have…you may need to run a manual program today if you need water. I think I forgot to point the pi version to the right script for weather :(. I’ll get it fixed, but I can’t do it while at work.
Sorry for making a tester out of you, but I don’t have a pi. First, try emailing me your location. Just so I can make sure everything is behaving properly with the script. Or go to WU, put in the location you want to use, and then copy the GPS coordinates to the location on the OS. You should see a change with the first weather call.
Second is checking to see if the program has ET checked, as well as use weather. Both are needed.
My address is Shawn +at+ veuphoria $dot$ com.
Do you use the CA restriction? Make sure you have evapotranspiration, selected as you weather option, no others will work, unless you change the script option /su back to weather.open sprinkler.com.
You can try making a manual call to weather.veuphoria.com/Weather3.py?key=yourWUkey&loc=yourlocation it will send a string back to your browser. It looks like code but is just the results for et0 and et1 and a couple other things all mashed together.April 13, 2017 at 12:23 am #45878
Did ET ever get included? sounds greatApril 13, 2017 at 6:55 am #45883
I don’t think the guys have implemented ShawnHarte’s code into the main opensprinkler build. I’ve been running ShawnHarte’s version on the raspberry pi since July 2016 and it’s been running fine. Actually been running like a champ. I found one little bug, when selecting ‘flowers and shrubs’ the program won’t save the setting. The benefits of ET outweighs this little flowers and shrubs bug. ShawnHarte did an awesome job, and hopefully Ray and Samer add it some day.
RichApril 13, 2017 at 8:49 pm #45899
it wont even build for me now. bummer sounded really coolApril 18, 2017 at 3:16 pm #45927
I had started working on updating to include some of the newest features and I managed to update my main branch. If you discover build issues just go back a version on github and build from that. It still works fine, but as mentioned isn’t perfect and has a few minor issues.
I will probably revert my recent changes and create a test branch to mess with. Sorry I haven’t had time to work in it, I had planned to be done with it weeks ago. If you want to wait just check the dates, if not just go one version back in the history.April 18, 2017 at 4:27 pm #45930April 18, 2017 at 7:24 pm #45931
Tried to compile got a bunch of error messages. Let me know if you want me to be your guinea pig on the raspberry pi.
RichApril 18, 2017 at 7:25 pm #45932
Same hereMay 4, 2017 at 5:44 pm #46116
It’s definitely in my plan to integrate Shawn’s excellent work to the official firmware, it’s just that at the moment I am slammed with other obligations (also we just released OpenSprinkler 3.0 and have been struggling to fulfill orders). The good thing is that summer is coming (I teach at a university and the semester isn’t completely over yet), and I will have a lot more free time once the semester is done.May 8, 2017 at 2:59 pm #46171
Love summer break University as well 🙂
cant wait to test it out. let me know if you need any help/testingOctober 6, 2017 at 1:49 am #47922
ET will manage your water use in a near perfect world, but not by itself as an effective metering tool for irrigation. Decisions that calculate evapotranspiration (ET) to run irrigation, sure, that’s all fine and well and I’m all for it, but without actual water flow being monitored and recorded, any smart controller is dumb as a rock if one of your irrigation valves is stuck on and is running 24-7 and you’re not there to notice it. Or you accidentally cut an irrigation wire when planting a shrub, and your irrigation doesn’t run anymore. Then your lawn dries up and starts to die, but your irrigation controller is still functioning.
Again, all can appear to be fine and well in the ET world and the online controller. Except for one small detail: Nothing is putting water on your lawn/garden. Or you just loss 10k gallons from a main line break.
The flow sensor option in OS 3.0 should definitely address that issue, but there’s no automatic SMS or email alerts in the system so you basically have to catch a ‘no flow’ or ‘high flow’ as soon as you can see it online. Or you’ll see a dead area of lawn/garden, a washout or a pool of running water somewhere it doesn’t belong. A master valve will prevent the high flow but you definitely should monitor ‘no flow’ situations, too.October 6, 2017 at 2:48 am #47923
If you are running a sprinkler controller without a flow meter then it doesn’t matter how you set up the timers it can over or under water. ET calculations just determine how much one should water, not whether or not your system is damaged. To be completely fair does your toilet have a flow meter, because that could run for days as well, and it has nothing to do with the low flow tank.
Not sure what you believe ET calculations do, but it isn’t there to determine whether or not your system is functioning in proper mechanical fashion. That’s like blaming the oven timer for burning your food because the thermostat doesn’t work.
Buy hey thanks for dragging up this thread to blame it for a problem it wasn’t meant to address. You’re more than welcome to spend your time adding a flow meter, just as I have and the system will do its best to manage your water times for you. But at the end of the day you’ll still be responsible for maintenance, and that has nothing to do with “ET world.”
Side note: Flow sensors can be added to all of the controllers that will run the ET firmware. Since hardware version 2.1 current sensing was included and can be used to determine whether or not a valve is functioning. And in both cases the logging functions would reveal the fault, for which a simple script could be used to send a warning email, as it’s unlikely the software could fix mechanical issues.October 27, 2017 at 3:04 pm #48155
This sounds really awesome and I would like to use it. I am trying with a Pi and like other have said the build fails. You mention going to a previous verison and that will work. Anyone know how to do this?November 2, 2017 at 8:15 am #48194
same screenshot?November 7, 2017 at 1:50 pm #48226
I’ve been in and out of the hospital, sorry for not getting back to this sooner. I’ll update the master branch of the fork when I get a chance but for now I have created a new branch at the last point that everything compiled.
It’ll probably be a few weeks but I should have the master caught up with some of the newer features. I know this is the complete backwards way to do it, but, I’ve literally lost my spot on what the heck I was doing. So until I figure out what was going on in my head, I’ll leave the master as it was and you should be able to clone and build the CompilesProperly branch.
Thanks for being patient with me,
ShawnNovember 7, 2017 at 8:01 pm #48229
Sorry to hear about the hospitalization Shawn. Hope everything is well!
Sent from my iPhone using Tapatalk
- You must be logged in to reply to this topic.