How can we help?


Use current weather station data

Gathering Feedback

Comments

9 comments

  • Avatar
    RainMachine Nicholas

    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.

    0
    Comment actions Permalink
  • Avatar
    Mike

    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

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Some badly setup/restored Time Zone or Location in Settings ?

    0
    Comment actions Permalink
  • Avatar
    Mike

    Nicholas,

    I downloaded the file from github and get an error trying to upload it.  Just says error uploading with the filename.  I even tried to change the extension to .py and got the same result. 

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    What browser do you use ? Seems to work fine with Chrome/Firefox. Please look at Settings > About > View LOGS  in Web UI after trying to upload to see what the problem might be.

     

    0
    Comment actions Permalink
  • Avatar
    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 syntax


    Very 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
    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Looks like when you download it something gets wrong. Maybe try saving it with Chrome/Firefox ?

    0
    Comment actions Permalink
  • Avatar
    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.
    0
    Comment actions Permalink

Please sign in to leave a comment.