Jump to content

scotnor

Members
  • Posts

    92
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

scotnor's Achievements

New

New (2/6)

5

Reputation

  1. Hello Everyone, Been looking at this for a week and should be ready to poke holes. I have six programs, 8 integer/float variables and one state variab Variables: $Eto $Rain_Threshold $Water_Applied $Yesterdays_Water_Deficit $Rain_Yesterday $Irrigation_Requirement $Absorption_Factor_Percent $Crop_Coefficient_Percent State Variable: $sRain_Today First need to initialize some variables: NS Irrigation Reset - [ID 007F][Parent 007D][Run At Startup] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $Rain_Threshold = 37 $Rain_Threshold /= 100 $Rain_Threshold Init To $Rain_Threshold $Water_Applied = 25 $Water_Applied /= 100 $Water_Applied Init To $Water_Applied Else - No Actions - (To add one, press 'Action') Next we need to capture eto: NS Eto Wrapup - [ID 009E][Parent 007D] If Time is 11:59:58PM Then $ETo = 'MeteoBridge Weather / Illumination' Evapotranspiration Inches $ETo Init To $ETo Else - No Actions - (To add one, press 'Action') Catch 11-Midnight just in case: NS Eto Wrapup Last Chance - [ID 009F][Parent 007D] If Time is 12:02:00AM And 'MeteoBridge Weather / Illumination' Evapotranspiration > '$ETo Inches' Then $ETo = 'MeteoBridge Weather / Illumination' Evapotranspiration Inches $ETo Init To $ETo Else - No Actions - (To add one, press 'Action') Finalize Irrigation Requirement: NS Rain Wrapup - [ID 007E][Parent 007D] If Time is 12:03:00AM Then $Rain_Yesterday = 'MeteoBridge Weather / Precipitation' Rainfall Yesterday Inches $Rain_Yesterday *= $Absorption_Factor_Percent $Yesterdays_Water_Deficit = $ETo $Yesterdays_Water_Deficit *= $Crop_Coefficient_Factor_Percent $Yesterdays_Water_Deficit -= $Rain_Yesterday $Yesterdays_Water_Deficit /= 100 $Irrigation_Requirement += $Yesterdays_Water_Deficit $Irrigation_Requirement Init To $Irrigation_Requirement $Rain_Yesterday = 'MeteoBridge Weather / Precipitation' Rainfall Yesterday Inches Else - No Actions - (To add one, press 'Action') Trigger Watering if needed: NS Water If Needed - [ID 009C][Parent 007D] If Time is 6:00:00AM And $Irrigation_Requirement > $Rain_Threshold And $sRain_Today < $Rain_Threshold Then Run Program 'Irrigation Started' (Then Path) Else - No Actions - (To add one, press 'Action') Modification to Stations All Off: Stations All Off - [ID 0055][Parent 0056][Not Enabled] If 'MeteoBridge Weather / Precipitation' Daily Rainfall > '$Rain_Threshold Inches' Then $Manual_Currently_Running = 0 Stop program 'Station1 Timer' Stop program 'Station2 Timer' Stop program 'Station3 Timer' Stop program 'Station4 Timer' Stop program 'Station5 Timer' Stop program 'Station6 Timer' Stop program 'Station7 Timer' Stop program 'Station8 Timer' Set 'Back Yard / Rear Water' Off Set 'Back Yard / Tall Water' Off Set 'Back Yard / East Water' Off Set 'Front Yard / North Water' Off Set 'Front Yard / South Water' Off $Irrigation_Station = 0 Run Program 'Irrigation Finished' (Then Path) Disable Program 'Stations All Off' Else - No Actions - (To add one, press 'Action') What this does is use all local data from Davis VP2. No forecast data is used. If it starts raining, it can abort. Irrigation requirement is initialized externally and is not range restricted yet. This is my simple first attempt. Comments??? Scott
  2. Solar is also good to go. Thanks again! Sent from my iPhone using Tapatalk Pro
  3. Updated and immediately showed eto. Will check solar tomorrow. Thanks. Sent from my iPhone using Tapatalk Pro
  4. Yes. The UV sensor should be treated separately and should not invalidate solar or eto. Thanks Sent from my iPhone using Tapatalk Pro
  5. Hello everyone, Got the hair to try out the all the weather node servers. Fastastic job everyone! With my vantage pro2, I am ready to join the testing effort. Currently working with MeteobridgeAuth, I am not getting any data from the illumination branch. Looking back at my pi, don't see any populated data in ns, but I do see solar radiation value coming from meteobridge. Log file snippet: 2020-03-05 16:41:42,867 [Controller] [DEBUG] url in getstationdata: http://192.168.1.21/cgi-bin/template.cgi?template=[th0temp-act]%20[th0temp-dmax]%20[th0temp-dmin]%20[th0dew-act]%20[wind0chill-act]%20[th0hum-act]%20[th0hum-dmax]%20[th0hum-dmin]%20[thb0press-act]%20[thb0seapress-act]%20[thb0press-delta3h=barotrend]%20[sol0rad-act]%20[uv0index-act]%20[sol0evo-daysum]%20[wind0avgwind-act]%20[wind0wind-max10]%20[wind0dir-act]%20[rain0rate-act]%20[rain0total-daysum]%20[rain0total-sum24h]%20[rain0total-ydmax]%20[rain0total-monthsum]%20[rain0total-yearsum]%20[mbsystem-station]%20[mbsystem-stationnum]%20[thb0lowbat-act]%20[hh][mm][ss]%20[epoch] 2020-03-05 16:41:43,458 [Controller] [DEBUG] Returned mbrdata: 17.2 18.2 -0.9 -7.3 17.2 18.0 93.0 17.0 998.2 1021.7 0 281.0 [uv0index-act] 3.0 3.6 7.6 48.0 0.0 0.0 0.0 0.0 0.0 120.1 Vantage 5 0.0 164143 1583448103 2020-03-05 16:41:43,459 [Controller] [DEBUG] mbrarray: ['17.2', '18.2', '-0.9', '-7.3', '17.2', '18.0', '93.0', '17.0', '998.2', '1021.7', '0', '281.0', '[uv0index-act]', '3.0', '3.6', '7.6', '48.0', '0.0', '0.0', '0.0', '0.0', '0.0', '120.1', 'Vantage', '5', '0.0', '164143', '1583448103'] 2020-03-05 16:41:43,460 [Controller] [DEBUG] Timestamp: 164143 2020-03-05 16:41:43,461 [Controller] [INFO ] Updated data from Meteobridge 2020-03-05 16:41:43,462 [Controller] [INFO ] Updating Driver temperature - ST: 63.0, uom: 17 2020-03-05 16:41:43,464 [Controller] [INFO ] Updating Driver temperature - GV0: 18.9, uom: 17 2020-03-05 16:41:43,467 [Controller] [INFO ] Updating Driver temperature - GV1: 63.0, uom: 17 2020-03-05 16:41:43,470 [Controller] [INFO ] Updating Driver temperature - GV15: 64.8, uom: 17 2020-03-05 16:41:43,476 [Controller] [INFO ] Updating Driver temperature - GV16: 30.4, uom: 17 2020-03-05 16:41:43,479 [Controller] [INFO ] Updating Driver rain - ST: 0.0, uom: 24 2020-03-05 16:41:43,482 [Controller] [INFO ] Updating Driver rain - GV1: 0.0, uom: 105 2020-03-05 16:41:43,485 [Controller] [INFO ] Updating Driver rain - GV2: 0.0, uom: 105 2020-03-05 16:41:43,489 [Controller] [INFO ] Updating Driver rain - GV6: 0.0, uom: 105 2020-03-05 16:41:43,492 [Controller] [INFO ] Updating Driver rain - GV3: 0.0, uom: 105 2020-03-05 16:41:43,495 [Controller] [INFO ] Updating Driver rain - GV4: 4.73, uom: 105 2020-03-05 16:41:43,499 [Controller] [INFO ] Updating Driver wind - ST: 8.05, uom: 48 2020-03-05 16:41:43,502 [Controller] [INFO ] Updating Driver wind - GV0: 48.0, uom: 14 2020-03-05 16:41:43,504 [Controller] [INFO ] Updating Driver wind - GV1: 17.0, uom: 48 2020-03-05 16:41:43,507 [Controller] [INFO ] Updating Driver light - GV0: 0, uom: 74 2020-03-05 16:41:43,511 [Controller] [INFO ] Updating Driver light - ST: 0, uom: 71 2020-03-05 16:41:43,514 [Controller] [INFO ] Updating Driver light - GV2: 0.0, uom: 105 2020-03-05 16:41:43,517 [Controller] [INFO ] Updating Driver pressure - ST: 29.48, uom: 23 2020-03-05 16:41:43,520 [Controller] [INFO ] Updating Driver pressure - GV0: 30.17, uom: 23 2020-03-05 16:41:43,523 [Controller] [INFO ] Updating Driver pressure - GV1: 1.0, uom: 25 2020-03-05 16:41:43,526 [Controller] [INFO ] Updating Driver humidity - ST: 18.0, uom: 22 2020-03-05 16:41:43,529 [Controller] [INFO ] Updating Driver mbweather - GV1: 164143, uom: 0 2020-03-05 16:42:52,132 [Controller] [DEBUG] Received command {'value': '0', 'address': 'mbweather', 'query': {}, 'cmd': 'LOG_LEVEL', 'uom': '25'} in 'set_log_level' 2020-03-05 16:42:52,133 [Controller] [INFO ] Sending customData to Polyglot. In this example, 281.0 should be the Solar Radiation value (W/m2). I do not have uv radiation sensor. Also, wanting to get et0 directly from vantage pro2. Let me know what else I need to do to help. Again, Thanks for all the node servers!!!!!!!! Scott
×
×
  • Create New...