Use current weather station data
Gathering FeedbackSo, Rainmachine uses the prior day information from WU stations for actual rain. What we need is for it to use the latest data as we could have received a substantial amount of rain in the early morning prior to or even while watering that was not predicted by the forecast.
It is sure not unusual here in CO to have a 15% chance of rain and end up with over an inch or have a 70% chance of rain and get zilch. The forecasts don't necessarily update due to the isolated nature of the storms. That (qpf) may change if you use a late in the day watering program if the rain was expected early but most people here use an early am program to offset high temps and evaporation that occur during the day. (95+ and RH <10% and often windy)
It already pulls the weather data a few minutes before running the program, why not factor in what ACTUALLY happened up to that point. That just seems to make sense and it is more accurate than just adding a rain sensor, which I don't understand why I should add a dumb sensor to a $400 weather station.
Thanks
Mike
-
If you are willing to beta test the version that will be in the next update here it is: https://github.com/sprinkler/rainmachine-developer-resources/files/4850192/wunderground-parser.txt
Just use ADD NEW from Web UI to install it and configure it and then disable the original WUnderground Weather Service.
This will record today rain and uses the fact that RainMachine will refresh weather before starting a program, if rain report is available from WUnderground for current observation then it should have an impact on program run. Only if the rain or WUnderground report comes between weather refresh and program start won't have any impact but it's a low chance.
Let us know how it works for you.
-
Nicholas,
Thanks for the information and quick response. I will give it a try and see how that goes.
Oddball unrelated question: I had to reset the controller after changing my router; It didn't respond to the reset button and show the A, it eventually just completely reset. I restored it from the web and everything is fine, but for some reason, it shows the schedule running at 27 minutes after sunrise but that start time is 4:59am. The web and the app both show the correct time zone. That start time would be like Alaska, lol. Any ideas?
Thanks again,
Mike
-
Interesting.. In MS Edge, the following error is in the log:
2020-07-05 09:02:28,266 - ERROR - rmParserManager:419 - * Error installing/loading parser user-wunderground-parser.txt from file '/rainmachine-app/RMParserFramework/parsers/user-wunderground-parser.txt' 2020-07-05 09:02:28,284 - ERROR - rmParserManager:420 - Non-ASCII character '\x82' in file /rainmachine-app/RMParserFramework/parsers/user-wunderground-parser.txt on line 321, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (user-wunderground-parser.txt, line 320)
In Firefox:
2020-07-05 09:29:28,709 - ERROR - rmParserManager:419 - * Error installing/loading parser user-wunderground-parser.txt from file '/rainmachine-app/RMParserFramework/parsers/user-wunderground-parser.txt' 2020-07-05 09:29:28,720 - ERROR - rmParserManager:420 - Non-ASCII character '\xb8' in file /rainmachine-app/RMParserFramework/parsers/user-wunderground-parser.txt on line 323, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (user-wunderground-parser.txt, line 322)
I added the encoding header for UTF-8 to the source, which got further but this became the error:Traceback (most recent call last): File "./RMParserFramework/rmParserManager.py", line 382, in installParser File "/rainmachine-app/RMParserFramework/parsers/user-wunderground-parser.txt", line 321 return RMParser.conditionType.FunnelClo] threshold=30\n2020-06-27 14:50:04,560 - INFO - noaa-pa0g�����J���B ;�~/���mv> �%i�G��S�a-\���2�V@ ��U���67�9�D�߰�K���^�p��߭�=���~ d�mG�v#:ZLe2�����镱��53�!�y�����[o�����siN��! ^ SyntaxError: invalid syntaxVery similar but different. I don't have a python editor and dion't know how python interprets line numbering. The two languages I usually work in use actual lines but I know some don't consider blank lines in the count. I retyped in the FunnelCloud line and it gets past that to line 383, creating a different error:
self.addValue(RMParser.dataType.QPF, timeStamp, qpf, False)31 sec[0.178129727153 mm] threshold=30\n2020-06-27 14:50:04,560
Though I'm a programmer, I'm not a python one, so trying to hack my way through it isn't a good use of time. For all I know, the encoding may be wrong.
I used UTF-8.
Hope this helps,
Thanks
Mike -
Same type error as the first go. Are you installing in the US? Maybe the local save setting for the encoding is different.
2020-07-05 12:33:21,167 - ERROR - rmParserManager:419 - * Error installing/loading parser user-wunderground-parser(1).txt from file '/rainmachine-app/RMParserFramework/parsers/user-wunderground-parser(1).txt' 2020-07-05 12:33:21,178 - ERROR - rmParserManager:420 - Non-ASCII character '\x82' in file /rainmachine-app/RMParserFramework/parsers/user-wunderground-parser(1).txt on line 323, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (user-wunderground-parser(1).txt, line 322) Traceback (most recent call last): File "./RMParserFramework/rmParserManager.py", line 382, in installParser File "/rainmachine-app/RMParserFramework/parsers/user-wunderground-parser(1).txt", line 322 SyntaxError: Non-ASCII character '\x82' in file /rainmachine-app/RMParserFramework/parsers/user-wunderground-parser(1).txt on line 323, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details 2020-07-05 12:33:21,236 - INFO - rmHTTPResourceApi4Dev:117 - API:ParserUpload: Error installing parser, wrong format/compile error.
Please sign in to leave a comment.
Comments
9 comments