How can we help?


Comments

99 comments

  • Avatar
    Gregory Feiner

    This would get more attention if posted in the developer subforum.

    1
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Thanks for the contribution, we will also test it on our side and if ok, with your permission, we'll add it to our parsers repository.

    1
    Comment actions Permalink
  • Avatar
    Seth

    Sure, if you want to make it official that's OK by me.

    I think I used the wrong value for rain though since the RainMachine didn't match what the PWS console showed, so I've changed my local copy and it might rain again next week.

    1
    Comment actions Permalink
  • Avatar
    htims05

    So is Ambient still having an issue?  I noticed that my logs say they aren't retrieving any data, but if I put the API URL in my browser or Postman it returns the correct data...why would the RM not retrieve anything if it's pulling data via the URL?

    1
    Comment actions Permalink
  • Avatar
    Seth

    I uploaded a new version, please download it and try again.

    Also, what model are you using?

    1
    Comment actions Permalink
  • Avatar
    Seth

    Every 6 hours.

    You can just change the line:

    parserInterval = 60 * 60 * 6 # every 6 hours

    If you want it to be different.

    1
    Comment actions Permalink
  • Avatar
    Seth

    I don't think it'll hurt anything. If you look at earlier versions, the interval was shorter. But I didn't see any benefit to it on my system so I changed the default to match other parsers.

    1
    Comment actions Permalink
  • Avatar
    Seth

    parserInterval is just a value in seconds, so either change 6 to 1 or change the whole thing to "parserInterval = 3600" (60 * 60 = 3600). Whatever reads easier for you.

    1
    Comment actions Permalink
  • Avatar
    Will Rosenberry (Edited )

    I am also interested in your solution.  I have Just purchased an Ambient 2000 to supply data to my new Rainmachine pro.  I am about to give up on Weather underground.  Can't  get them to work but my packet captures show I am sending valid data.  The excuse of buying the Ambient is create data for my Rainmachine which waters my yard (besides weather has been a hobby of mine all my life :) )

    Oh, and sorry I am not a programmer.  I have been in the Information Security side for 30 years but not programming :(.

    so once you get the code to what I should use, update the Github site please.

     

    Oh, line 17, is that converting F to C and In to MM?  if yes I could just comment out that line if I want F and In?

    0
    Comment actions Permalink
  • Avatar
    Seth

    RM wants Celsius and millimeters on the back end.

    The issue with rain values was I used the incorrect source data from the Ambient Weather API. It rained last night and I was able to observe the correct value being reported on my HD-16, so I've uploaded the fixed version.

    0
    Comment actions Permalink
  • Avatar
    Seth

    Just to clarify the units, RM always wants metric when dealing with the API. It will convert the values for display based on the Units setting under Settings -> System Settings

    0
    Comment actions Permalink
  • Avatar
    Gregory Feiner

    Thanks for the update.

    0
    Comment actions Permalink
  • Avatar
    Morgan

    I'm trying to upload the python script from your github repo and I'm getting:

    Error uploading ambientweather-parser.py

    Details:

    • Windows 10 
    • Chrome Version 73.0.3683.103 (Official Build) (64-bit)
    • RainMachine-12 ver 4.0.974

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    This is a known problem, uploading custom parsers from Windows doesn't work. Next update (and current beta) fixes this issue.

    0
    Comment actions Permalink
  • Avatar
    Seth

    I develop on a Mac so I didn't see that problem. I'll make a note in the GitHub readme about Windows.

    0
    Comment actions Permalink
  • Avatar
    Morgan

    Thanks for developing this.

    Any chance you can snag a Chrome dev tools network screenshot of the POST request from your Mac? Then we can see what the headers look like so we can do this from the command line with curl.  I'm sure there's an authentication token (cookie) that is sent over along with a particular URL endpoint and the various upload parameters.

    0
    Comment actions Permalink
  • Avatar
    Robby

    looking forward to the updated parser as well since wunderground stopped working.

    0
    Comment actions Permalink
  • Avatar
    Seth

    Looks like firmware v.4.0.1115 just came out that fixes the upload from Windows issue.

    0
    Comment actions Permalink
  • Avatar
    Robby

    I am on firmware 4.0.989 and still have the issue. i am on rainmachine 8.  hopefully 4.0.1115 becomes available soon on mine to try this out.  

    0
    Comment actions Permalink
  • Avatar
    Seth

    Hmm, it says fixed for v.4.0.989 and v.4.0.1115:

    https://support.rainmachine.com/hc/en-us/articles/230344008-Device-Firmware-2nd-gen-2015-and-up-

    0
    Comment actions Permalink
  • Avatar
    Robby

    still getting an error when trying to upload this user created parser.

    0
    Comment actions Permalink
  • Avatar
    Robby

    I rebooted the device, still same issue. I am using win10, chrome.

    0
    Comment actions Permalink
  • Avatar
    Seth

    I don't see the Mini 8 in stock to buy one and test, so I only have my Touch HD to test with for now.

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Robby, please try to use the local web itnerface by going directly to your RainMachine IP with a web browser.

     

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    I tested this parser on RainMachine HD, Mini-8 and Pro-16 (beta) and it works great. I added this parser to our developer-resources repository.

    0
    Comment actions Permalink
  • Avatar
    Robby (Edited )

    NIcholas, i am logging in the web interface, i am going to 'weather', then weather services, under 'user uploaded', i am uploading the .py parser, and i get 'error uploading'.  i have tried every web browser (firefox, ie, edge, chrome), and it doesn't succesfully upload.  what now ?  I am on windows 10 v1809.

    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Are you going to http://my.rainmachine.com or directly to device web interface?  If you are using my.rainmachine.com try going directly to the device IP.

    If still doesn't work go to Settings > About > View Logs and send me the recent output.

    0
    Comment actions Permalink
  • Avatar
    Robby

    Yes, i am going directly to the web interface.....  here is the recent output:

    i just tried to upload the file a little while ago, so should show something today.

    thanks.

     

    019-05-13 00:18:30,256 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-13 00:18:31,077 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-13 00:41:32,114 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-13 00:41:34,547 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-13 00:41:50,867 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=1.78764140686 waterNeeded=0.148135884582 minRuntime=30
    2019-05-13 06:41:57,240 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-13 06:41:59,432 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-13 11:18:29,960 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-13 11:18:30,758 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-13 12:42:32,345 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-13 12:42:34,374 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-13 18:42:54,544 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-13 18:42:56,843 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-13 22:18:29,136 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-13 22:18:29,897 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-14 00:43:32,010 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-14 00:43:34,128 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-14 00:43:50,076 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=0.430363832386 waterNeeded=0.0356628162437 minRuntime=30
    2019-05-14 06:43:56,273 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-14 06:43:58,194 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-14 06:44:12,806 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=11.2421028426 waterNeeded=0.931595588889 minRuntime=30
    2019-05-14 09:18:29,144 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-14 09:18:29,906 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-14 11:35:42,736 - INFO  - rmMainManager:225 - Upgrade checked.
    2019-05-14 12:44:44,180 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-14 12:44:46,269 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-14 12:45:00,794 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=14.6410743759 waterNeeded=1.21325702995 minRuntime=30
    2019-05-14 18:45:06,380 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-14 18:45:08,544 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-14 20:18:28,946 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-14 20:18:29,730 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-15 00:45:32,888 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-15 00:45:35,288 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-15 06:45:57,609 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-15 06:45:59,876 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-15 06:46:15,126 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=10.5543062321 waterNeeded=0.874600176431 minRuntime=30
    2019-05-15 07:18:28,840 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-15 07:18:29,699 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-15 12:34:02,334 - INFO  - rmProgramSchedulerWatering:472 - Rain Sensor: rain no longer detected !
    2019-05-15 12:34:09,362 - INFO  - rmProgramSchedulerWatering:464 - Rain Sensor: detected rain !
    2019-05-15 12:34:20,920 - INFO  - rmProgramSchedulerWatering:472 - Rain Sensor: rain no longer detected !
    2019-05-15 12:34:27,949 - INFO  - rmProgramSchedulerWatering:464 - Rain Sensor: detected rain !
    2019-05-15 12:34:34,521 - INFO  - rmProgramSchedulerWatering:472 - Rain Sensor: rain no longer detected !
    2019-05-15 12:34:40,560 - INFO  - rmProgramSchedulerWatering:464 - Rain Sensor: detected rain !
    2019-05-15 12:34:52,117 - INFO  - rmProgramSchedulerWatering:472 - Rain Sensor: rain no longer detected !
    2019-05-15 12:34:59,147 - INFO  - rmProgramSchedulerWatering:464 - Rain Sensor: detected rain !
    2019-05-15 12:35:05,752 - INFO  - rmProgramSchedulerWatering:472 - Rain Sensor: rain no longer detected !
    2019-05-15 12:46:33,391 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-15 12:46:35,585 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-15 12:46:47,695 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=11.5184011929 waterNeeded=0.954491512184 minRuntime=30
    2019-05-15 18:18:29,326 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-15 18:18:30,071 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-15 18:47:31,173 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-15 18:47:33,403 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-15 18:47:45,586 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=17.6638458624 waterNeeded=1.46374402713 minRuntime=30
    2019-05-16 00:47:43,400 - INFO  - main:50 - RainMachine v2 Copyright (c) 2015 Green Electronics LLC
    2019-05-16 00:47:43,426 - INFO  - main:51 - Running on platform OpenWrt OS
    2019-05-16 00:47:43,619 - INFO  - main:66 - Waiting for IP address (0/40) Current: None
    2019-05-16 00:47:44,698 - INFO  - main:66 - Waiting for IP address (1/40) Current: None
    2019-05-16 00:47:45,764 - INFO  - main:66 - Waiting for IP address (2/40) Current: None
    2019-05-16 00:47:46,828 - INFO  - main:66 - Waiting for IP address (3/40) Current: None
    2019-05-16 00:47:47,895 - INFO  - main:66 - Waiting for IP address (4/40) Current: None
    2019-05-16 00:47:48,960 - INFO  - main:66 - Waiting for IP address (5/40) Current: None
    2019-05-16 00:47:50,025 - INFO  - main:66 - Waiting for IP address (6/40) Current: None
    2019-05-16 00:47:51,092 - INFO  - main:66 - Waiting for IP address (7/40) Current: None
    2019-05-16 00:47:52,156 - INFO  - main:66 - Waiting for IP address (8/40) Current: None
    2019-05-16 00:47:53,226 - INFO  - main:66 - Waiting for IP address (9/40) Current: None
    2019-05-16 00:47:54,362 - INFO  - main:66 - Waiting for IP address (10/40) Current: None
    2019-05-16 00:47:55,427 - INFO  - main:66 - Waiting for IP address (11/40) Current: None
    2019-05-16 00:47:56,494 - INFO  - main:66 - Waiting for IP address (12/40) Current: None
    2019-05-16 00:47:57,559 - INFO  - main:66 - Waiting for IP address (13/40) Current: None
    2019-05-16 00:47:58,632 - INFO  - main:66 - Waiting for IP address (14/40) Current: None
    2019-05-16 00:47:59,699 - INFO  - main:66 - Waiting for IP address (15/40) Current: None
    2019-05-16 00:48:00,771 - INFO  - main:66 - Waiting for IP address (16/40) Current: None
    2019-05-16 00:48:01,839 - INFO  - main:66 - Waiting for IP address (17/40) Current: None
    2019-05-16 00:48:02,911 - INFO  - main:66 - Waiting for IP address (18/40) Current: None
    2019-05-16 00:48:03,977 - INFO  - main:66 - Waiting for IP address (19/40) Current: None
    2019-05-16 00:48:05,057 - INFO  - main:66 - Waiting for IP address (20/40) Current: None
    2019-05-16 00:48:06,130 - INFO  - main:66 - Waiting for IP address (21/40) Current: None
    2019-05-16 00:48:07,206 - INFO  - main:66 - Waiting for IP address (22/40) Current: None
    2019-05-16 00:48:08,274 - INFO  - main:66 - Waiting for IP address (23/40) Current: None
    2019-05-16 00:48:09,345 - INFO  - main:66 - Waiting for IP address (24/40) Current: None
    2019-05-16 00:48:10,415 - INFO  - main:66 - Waiting for IP address (25/40) Current: None
    2019-05-16 00:48:11,488 - INFO  - main:66 - Waiting for IP address (26/40) Current: None
    2019-05-16 00:48:12,562 - INFO  - main:66 - Waiting for IP address (27/40) Current: None
    2019-05-16 00:48:13,633 - INFO  - main:66 - Waiting for IP address (28/40) Current: None
    2019-05-16 00:48:14,705 - INFO  - main:66 - Waiting for IP address (29/40) Current: None
    2019-05-16 00:48:15,775 - INFO  - main:66 - Waiting for IP address (30/40) Current: None
    2019-05-16 00:48:16,844 - INFO  - main:66 - Waiting for IP address (31/40) Current: None
    2019-05-16 00:48:17,912 - INFO  - main:66 - Waiting for IP address (32/40) Current: None
    2019-05-16 00:48:18,981 - INFO  - main:66 - Waiting for IP address (33/40) Current: None
    2019-05-16 00:48:20,052 - INFO  - main:66 - Waiting for IP address (34/40) Current: None
    2019-05-16 00:48:21,119 - INFO  - main:66 - Waiting for IP address (35/40) Current: None
    2019-05-16 00:48:22,196 - INFO  - main:66 - Waiting for IP address (36/40) Current: None
    2019-05-16 00:48:23,291 - INFO  - main:66 - Waiting for IP address (37/40) Current: None
    2019-05-16 00:48:24,370 - INFO  - main:66 - Waiting for IP address (38/40) Current: None
    2019-05-16 00:48:25,459 - INFO  - main:66 - Waiting for IP address (39/40) Current: None
    2019-05-16 00:48:26,541 - INFO  - main:73 - WIRELESS Interface wlan0, Mode: managed, IP: None, MAC: a8:80:38:24:d8:8c, hasClientLink: 1, Mode: managed
    2019-05-16 00:48:27,248 - INFO  - rmRestrictions:394 - *** Populating week weather data from database.
    2019-05-16 00:48:27,439 - INFO  - rmTimeZoneOpenWRT:46 - Setting timezone to: America/New_York Olson: EST5EDT,M3.2.0,M11.1.0
    2019-05-16 00:48:27,539 - INFO  - rmStationDownloader:27 - Downloading station info: http://54.186.186.3/api/et_stats/nearby_stations?latitude=39.8654483&longitude=-74.9790275&elevation=24.793432235700005
    2019-05-16 00:48:27,609 - ERROR - rmStationDownloader:53 - 
    2019-05-16 00:48:27,626 - INFO  - rmMainManager:604 - No station info could be downloaded, not downloading DOY ET0 database, will use previously downloaded values
    2019-05-16 00:48:28,225 - INFO  - rmUserSettings:139 - ---------------------------------------------------------------------------------------------
    2019-05-16 00:48:28,424 - INFO  - rmUserSettings:161 - Version ('4.0.989') Running for:
    - name: '1911 Country Club Dr, Cherry Hill, NJ 08003, USA'
    - timezone: 'America/New_York'
    - latitude: 39.8654483
    - longitude: -74.9790275
    - elevation: 24.793432235700005
    - et0Average: 6.215
    - krs: 0.16
    - rainSensitivity: 0.4
    - windSensitivity: 0.5
    - wsDays: 2
    - database path: '/rainmachine-app/DB/Default'
    - httpsServerPort: 8080 (ssl)
    - httpServerPort: 18080
    - wizardHasRun: 1
    2019-05-16 00:48:28,466 - INFO  - rmUserSettings:162 - ---------------------------------------------------------------------------------------------
    2019-05-16 00:48:28,494 - INFO  - rmThreadWatcher:136 - ThreadWatcher running True
    2019-05-16 00:48:28,620 - INFO  - rmLocalNetworkAdvertise:111 - Local Network Advertiser starting
    2019-05-16 00:48:28,767 - INFO  - rmParserManager:228 - *** BEGIN Loading parsers from './RMParserFramework/parsers'
    2019-05-16 00:48:28,834 - INFO  - rmParser:69 - *** Registering parser OpenWeatherMap Parser with interval 21600
    2019-05-16 00:48:29,018 - INFO  - rmParser:69 - *** Registering parser Netatmo Parser with interval 21600
    2019-05-16 00:48:29,254 - INFO  - rmParser:69 - *** Registering parser WUnderground Parser with interval 21600
    2019-05-16 00:48:29,485 - INFO  - rmParser:69 - *** Registering parser CIMIS Parser with interval 21600
    2019-05-16 00:48:29,916 - INFO  - rmParser:69 - *** Registering parser ForecastIO Parser with interval 21600
    2019-05-16 00:48:30,236 - INFO  - rmParser:69 - *** Registering parser Weather Rules Parser with interval 3600
    2019-05-16 00:48:30,558 - INFO  - rmParser:69 - *** Registering parser NOAA Parser with interval 21600
    2019-05-16 00:48:30,708 - INFO  - rmParser:69 - *** Registering parser FAWN Parser with interval 21600
    2019-05-16 00:48:30,924 - INFO  - rmParser:69 - *** Registering parser WeatherDisplay Parser with interval 21600
    2019-05-16 00:48:31,092 - INFO  - rmParser:69 - *** Registering parser METNO Parser with interval 21600
    2019-05-16 00:48:31,147 - INFO  - rmParserManager:313 - *** END Loading parsers
    2019-05-16 00:48:31,244 - INFO  - rmSimulator:1077 - Loading last weather simulation data for today programs
    2019-05-16 00:48:36,343 - INFO  - rmTouchManager:544 - Closing boot animation
    2019-05-16 00:48:36,386 - INFO  - rmTouchManager:260 - Touch Manager is starting up ...
    2019-05-16 00:48:36,402 - INFO  - rmMainManager:136 - Starting bonjour service
    2019-05-16 00:48:36,976 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 00:48:37,008 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=39.8654483&lon=-74.9790275&product=time-series&begin=2019-05-16&Unit=e&maxt=maxt&mint=mint&temp=temp&qpf=qpf&dew=dew&pop12=pop12&wspd=wspd&rh=rh&maxrh=maxrh&minrh=minrh, error: 
    2019-05-16 00:48:37,020 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 00:48:37,081 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php?lat=39.8654483&lon=-74.9790275&startDate=2019-05-16&format=24+hourly&numDays=6&Unit=e, error: 
    2019-05-16 00:48:37,093 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 00:48:37,144 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=39.8654483&lon=-74.9790275&product=time-series&begin=2019-05-16&Unit=e&maxt=maxt&mint=mint&temp=temp&qpf=qpf&dew=dew&pop12=pop12&wspd=wspd&rh=rh&maxrh=maxrh&minrh=minrh, error: 
    2019-05-16 00:48:37,171 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 00:48:37,783 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php?lat=39.8654483&lon=-74.9790275&startDate=2019-05-16&format=24+hourly&numDays=6&Unit=e, error: 
    2019-05-16 00:48:37,844 - INFO  - noaa-parser:107 - Fetching Hourly data from https://forecast.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 00:48:37,890 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://forecast.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=39.8654483&lon=-74.9790275&product=time-series&begin=2019-05-16&Unit=e&maxt=maxt&mint=mint&temp=temp&qpf=qpf&dew=dew&pop12=pop12&wspd=wspd&rh=rh&maxrh=maxrh&minrh=minrh&token=px808345forc, error: 
    2019-05-16 00:48:37,922 - INFO  - noaa-parser:111 - Fetching Daily data from https://forecast.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 00:48:37,954 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://forecast.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php?lat=39.8654483&lon=-74.9790275&startDate=2019-05-16&format=24+hourly&numDays=6&Unit=e&token=px808345forc, error: 
    2019-05-16 00:48:38,130 - INFO  - noaa-parser:107 - Fetching Hourly data from https://graphical.weather.gov/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 00:48:38,208 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://graphical.weather.gov/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=39.8654483&lon=-74.9790275&product=time-series&begin=2019-05-16&Unit=e&maxt=maxt&mint=mint&temp=temp&qpf=qpf&dew=dew&pop12=pop12&wspd=wspd&rh=rh&maxrh=maxrh&minrh=minrh, error: 
    2019-05-16 00:48:38,219 - INFO  - noaa-parser:111 - Fetching Daily data from https://graphical.weather.gov/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 00:48:38,296 - ERROR - rmParser:133 - *** Error in parser 'NOAA Parser' while downloading data from https://graphical.weather.gov/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php?lat=39.8654483&lon=-74.9790275&startDate=2019-05-16&format=24+hourly&numDays=6&Unit=e, error: 
    2019-05-16 00:48:38,320 - WARNING - rmParserManager:181 -   * Parser NOAA Parser returned no values
    2019-05-16 00:49:30,426 - INFO  - rmWirelessOpenWRT:109 - OpenWRT WIFI/Network reload/restart successful!
    2019-05-16 00:49:35,527 - INFO  - rmWirelessOpenWRT:114 - OpenWRT WIFI detect done!
    2019-05-16 00:49:35,537 - WARNING - rmThreadWatcher:316 - Refreshed WIFI Information - WIFI quick reloaded because no IP detected. New IP is None
    2019-05-16 00:50:07,094 - INFO  - rmThreadWatcher:301 - Refreshed WIFI Information. (old: None new ip: '192.168.49.16')
    2019-05-16 00:50:38,453 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 00:50:40,754 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 00:50:53,825 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=17.6638458624 waterNeeded=1.46374402713 minRuntime=30
    2019-05-16 06:51:04,054 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 06:51:06,112 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 06:51:18,808 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=22.7428420363 waterNeeded=1.88462351008 minRuntime=30
    2019-05-16 12:51:26,658 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 12:51:29,080 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 12:51:40,304 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=23.8121705016 waterNeeded=1.97323519557 minRuntime=30
    2019-05-16 15:43:42,619 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-16 15:43:43,556 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-16 18:51:45,288 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-16 18:51:47,444 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-16 18:51:58,087 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=26.4364959833 waterNeeded=2.19070430048 minRuntime=30
    2019-05-17 00:52:07,086 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-17 00:52:09,139 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-17 00:52:19,655 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=26.4364959833 waterNeeded=2.19070430048 minRuntime=30
    2019-05-17 02:43:43,045 - INFO  - rmThreadWatcher:408 - **  Automatic Update: Starting update check as interval to next watering program is bigger than 3600
    2019-05-17 02:43:43,817 - INFO  - rmMainManager:442 - ** Automatic Update: No updates available
    2019-05-17 06:42:23,904 - INFO  - rmMainManager:225 - Upgrade checked.
    2019-05-17 06:42:53,455 - ERROR - rmParserManager:419 -   * Error installing/loading parser user-ambientweather-parser2.py from file '/rainmachine-app/RMParserFramework/parsers/user-ambientweather-parser2.py'
    2019-05-17 06:42:53,467 - ERROR - rmParserManager:420 - invalid syntax (user-ambientweather-parser2.py, line 7)
    Traceback (most recent call last):
      File "./RMParserFramework/rmParserManager.py", line 382, in installParser
      File "/rainmachine-app/RMParserFramework/parsers/user-ambientweather-parser2.py", line 7
        
        ^
    SyntaxError: invalid syntax
    2019-05-17 06:42:53,492 - INFO  - rmHTTPResourceApi4Dev:117 - API:ParserUpload: Error installing parser, wrong format/compile error.
    2019-05-17 06:52:24,106 - INFO  - noaa-parser:107 - Fetching Hourly data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdXMLclient.php
    2019-05-17 06:52:26,112 - INFO  - noaa-parser:111 - Fetching Daily data from https://noaa.rainmachine.com/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php 
    2019-05-17 06:52:36,564 - INFO  - rmSimulator:648 -      minRuntime Restriction pid=1, zid=2: AW to next day tmachine=29.9080368024 waterNeeded=2.47837931636 minRuntime=30
    2019-05-17 08:50:31,239 - INFO  - rmMainManager:225 - Upgrade checked.
    ---------------------------- PROGRAM SIMULATION LOG -----------------------------
    2019-05-17 06:52:32,639 - INFO  - rmSimulator:386 - Correction for the past enabled. Program 1 will try to use AW from main db first.
    2019-05-17 06:52:33,037 - INFO  - rmSimulator:536 - 
    * Program Coefficients (pid=1, fake=True, ignoreInternetWeather=0, day=2019-05-17 00:00:00)
    	- pastStart=2019-05-16 00:00:00, futureEnd=2019-05-18 00:00:00, pastMultiplier=1, futureMultiplier=1
    	- qpfReal=0.00, qpfUsed=None, qpfEst=0.00, historyQpf=0.00, et0Real=4.46, et0Used=None, et0Est=4.67, historyEt0=4.67
    	- et0Avg=6.22 detailsReal=[et0(m)=4.46, qpf(m)=0.00], detailsHistory=[et0(m)=4.67, qpf(i)=None]
    	 zone  lastAW  newAW  chEt0  waterFF  corrPast  water%  waterNeeded  fielCap  cropCoef  zoneType  userDuration
    	    2    8.68   4.95   4.67     3.73     0.00    0.00     -4.95       26.80      0.80       2         60.00
    
    2019-05-17 06:52:34,235 - INFO  - rmSimulator:386 - Correction for the past enabled. Program 1 will try to use AW from main db first.
    2019-05-17 06:52:34,719 - INFO  - rmSimulator:536 - 
    * Program Coefficients (pid=1, fake=True, ignoreInternetWeather=0, day=2019-05-18 00:00:00)
    	- pastStart=2019-05-17 00:00:00, futureEnd=2019-05-19 00:00:00, pastMultiplier=1, futureMultiplier=1
    	- qpfReal=0.00, qpfUsed=None, qpfEst=0.00, historyQpf=0.00, et0Real=4.67, et0Used=None, et0Est=4.48, historyEt0=4.48
    	- et0Avg=6.22 detailsReal=[et0(m)=4.67, qpf(m)=0.00], detailsHistory=[et0(m)=4.48, qpf(i)=None]
    	 zone  lastAW  newAW  chEt0  waterFF  corrPast  water%  waterNeeded  fielCap  cropCoef  zoneType  userDuration
    	    2    4.95   1.37   4.48     3.58     0.00    0.00     -1.37       26.80      0.80       2         60.00
    
    2019-05-17 06:52:36,073 - INFO  - rmSimulator:386 - Correction for the past enabled. Program 1 will try to use AW from main db first.
    2019-05-17 06:52:36,582 - INFO  - rmSimulator:536 - 
    * Program Coefficients (pid=1, fake=True, ignoreInternetWeather=0, day=2019-05-19 00:00:00)
    	- pastStart=2019-05-18 00:00:00, futureEnd=2019-05-20 00:00:00, pastMultiplier=1, futureMultiplier=1
    	- qpfReal=0.00, qpfUsed=None, qpfEst=0.25, historyQpf=0.25, et0Real=4.48, et0Used=None, et0Est=4.93, historyEt0=4.93
    	- et0Avg=6.22 detailsReal=[et0(m)=4.48, qpf(m)=0.00], detailsHistory=[et0(m)=4.93, qpf(m)=0.25]
    	 zone  lastAW  newAW  chEt0  waterFF  corrPast  water%  waterNeeded  fielCap  cropCoef  zoneType  userDuration
    	    2    1.37  -2.48   4.93     3.85     0.00    0.00      2.48       26.80      0.80       2         60.00
    
    2019-05-17 06:52:37,594 - INFO  - rmSimulator:386 - Correction for the past enabled. Program 1 will try to use AW from main db first.
    2019-05-17 06:52:38,306 - INFO  - rmSimulator:536 - 
    * Program Coefficients (pid=1, fake=True, ignoreInternetWeather=0, day=2019-05-20 00:00:00)
    	- pastStart=2019-05-19 00:00:00, futureEnd=2019-05-21 00:00:00, pastMultiplier=1, futureMultiplier=1
    	- qpfReal=0.25, qpfUsed=None, qpfEst=0.00, historyQpf=0.00, et0Real=4.93, et0Used=None, et0Est=4.51, historyEt0=4.51
    	- et0Avg=6.22 detailsReal=[et0(m)=4.93, qpf(m)=0.25], detailsHistory=[et0(m)=4.51, qpf(i)=None]
    	 zone  lastAW  newAW  chEt0  waterFF  corrPast  water%  waterNeeded  fielCap  cropCoef  zoneType  userDuration
    	    2   -2.48   0.00   4.51     3.61     0.00  102.00      6.09       26.80      0.80       2         60.00
    
    2019-05-17 06:52:39,306 - INFO  - rmSimulator:386 - Correction for the past enabled. Program 1 will try to use AW from main db first.
    2019-05-17 06:52:40,087 - INFO  - rmSimulator:536 - 
    * Program Coefficients (pid=1, fake=True, ignoreInternetWeather=0, day=2019-05-21 00:00:00)
    	- pastStart=2019-05-20 00:00:00, futureEnd=2019-05-22 00:00:00, pastMultiplier=1, futureMultiplier=1
    	- qpfReal=0.00, qpfUsed=None, qpfEst=0.00, historyQpf=0.00, et0Real=4.51, et0Used=None, et0Est=4.28, historyEt0=4.28
    	- et0Avg=6.22 detailsReal=[et0(m)=4.51, qpf(i)=None], detailsHistory=[et0(m)=4.28, qpf(i)=None]
    	 zone  lastAW  newAW  chEt0  waterFF  corrPast  water%  waterNeeded  fielCap  cropCoef  zoneType  userDuration
    	    2    0.00   0.00   4.28     3.42     0.00   68.86      3.42       26.80      0.80       2         60.00
    
    2019-05-17 06:52:41,448 - INFO  - rmSimulator:386 - Correction for the past enabled. Program 1 will try to use AW from main db first.
    2019-05-17 06:52:41,898 - INFO  - rmSimulator:536 - 
    * Program Coefficients (pid=1, fake=True, ignoreInternetWeather=0, day=2019-05-22 00:00:00)
    	- pastStart=2019-05-21 00:00:00, futureEnd=2019-05-23 00:00:00, pastMultiplier=1, futureMultiplier=1
    	- qpfReal=0.00, qpfUsed=None, qpfEst=0.00, historyQpf=0.00, et0Real=4.28, et0Used=None, et0Est=4.52, historyEt0=4.52
    	- et0Avg=6.22 detailsReal=[et0(m)=4.28, qpf(i)=None], detailsHistory=[et0(m)=4.52, qpf(i)=None]
    	 zone  lastAW  newAW  chEt0  waterFF  corrPast  water%  waterNeeded  fielCap  cropCoef  zoneType  userDuration
    	    2    0.00   0.00   4.52     3.61     0.00   72.70      3.61       26.80      0.80       2         60.00
    0
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    Looks like your file might be corrupted or Windows did some text conversion that doesn't work. Can you try to download the file again using chrome ?

    Click on this url: https://raw.githubusercontent.com/sprinkler/rainmachine-developer-resources/master/sdk-parsers/RMParserFramework/parsers/ambientweather-parser.py

    and right click > Save As

    Then try to upload again.

    0
    Comment actions Permalink
  • Avatar
    Robby

    That worked thank you !!!!!

    it installed successfully, now i can fiddle with it. Thanks.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.