03-25-2020, 05:25 AM
For those with a DarkSky API account who want to add it as a data source:
https://support.rainmachine.com/hc/en-us...orecast-io-
https://support.rainmachine.com/hc/en-us...orecast-io-
RainMachine Sprinkler Irrigation Controller Driver
|
03-25-2020, 05:25 AM
For those with a DarkSky API account who want to add it as a data source:
https://support.rainmachine.com/hc/en-us...orecast-io-
03-25-2020, 07:41 AM
(03-25-2020, 05:25 AM)kblagron Wrote: In the condo next door, in rolls 4 guys from Boston, these guys had the full Boston accent. What was so funny about it was this was when the movie Urban Cowboy was all the rage, and these Boston guys show up in Hats, boots, jeans, and western belt buckle. They were shocked that none of us Texans had boots or hats, nor did we own them. I wished I had taken a picture of them.I hear you. I live in NY/NJ and I have trouble sometimes with the thick boston accent. Hope you have a fast recovery. Kevin
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
04-29-2020, 11:12 PM
I updated the RainMachine Driver to V1.96 in the first post as follows:
05-17-2020, 06:50 AM
OK just turned on my HD touch Rain Machine. Hard to believe it was snowing 2 weeks ago.
Seems there is an issue as driver won't come online. Seems my RM Unit returns a float in the JSON item "scheduledWateringTime" for a few of my zones. Although my HD is at firmware 4.0.1129. and my PRO(dev test unit) is at 4.0.1148 I think it has something to do with the automatic "Weather-Adaptive Watering" calculation. Or something to do with just turning it on and having 1 less day of weather. Question: In your watering program do you use "Weather-Adaptive Watering" or "Fixed". I use "Weather-Adaptive Watering". Will do more investigaing later today after I fix the Bellagio fountain in my front yard created by the landscapers... -----------------------------------------------cut---------------------------- Line where it bombs out: UserDuration := m_JSON.FindCardValue(DailyStatsZoneListAnchor,"scheduledWateringTime",False,0); "programs": [ { "id": 1, "zones": [ { "id": 2, "scheduledWateringTime": 1808, "computedWateringTime": 1216, "availableWater": 0, "coefficient": 0.67, "percentage": 67.27, "wateringFlag": 0 }, { "id": 3, "scheduledWateringTime": 1762.8, "computedWateringTime": 1186, "availableWater": 0, "coefficient": 0.67, "percentage": 67.27, "wateringFlag": 0
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
05-17-2020, 07:07 AM
That's an easy one, RM returned a float value when the driver was expecting a card. I will get an update out that checks for this and adjusts back to a card.
05-17-2020, 09:05 AM
ok and one other in the 30 day history method. Then I think we are good.
UserDuration returns the same type of float. "userDuration": 1762.8, Here is the problematic line around line 1154: UserDuration := m_JSON.FindCardValue(WateringCycleListAnchor,"userDuration",False,0); "uid": 3, "flag": 0, "cycles": [ { "id": 1, "startTime": "2020-05-17 04:56:19", "startTimestamp": 1589705779, "userDuration": 1762.8, "machineDuration": 1186, "realDuration": 1186, "flowclicks": 0 } ] },
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
05-17-2020, 09:58 AM
One last small thing to fix.
at line 757 you do: WriteBoolFldByName(FldActive, ProgActive); but you never set ProgActive.. Need one of these around line 738: ProgActive := m_JSON.FindBoolValue(ProgramListAnchor,"active",False,False); Thanks again. Kevin
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
I updated the first post with an update that reads the numbers that were being sent to the driver as a float and converts it to a card so those errors won't appear. I also updated the ProgActive variable as you suggested.
Let me know if this fixes the problems - Its working fine on my Pro-16. Blake
05-18-2020, 03:42 AM
(05-18-2020, 12:59 AM)kblagron Wrote: I updated the first post with an update that reads the numbers that were being sent to the driver as a float and converts it to a card so those errors won't appear. I also updated the ProgActive variable as you suggested. Thanks! Both issues resolved and working great on my TouchHD Kevin
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
05-31-2020, 08:48 PM
Whenever I see that the RainMachine has gone offline, which seems to be everynight around 5-6 am here, I was thinking that the driver should bypass this event if it is for a short period of time. I am not sure why it does it, but maybe it's recalculating RainMachine data to determine watering amounts. It seems to always be an HTTP 503 error on the daily stats that are polled, but have seen it at times on other items.
What I was thinking about doing was not throwing a fatal error if the data was only missing for the last 30 minutes or so. This would keep the driver from restarting, and most of the data that was gathered previously would be suitable for display without having to send the driver offline and restart. Any thoughts? |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
OpenWeatherMap Weather Driver Using OneCall API | kblagron | 13 | 5,600 |
02-24-2023, 02:07 AM Last Post: kblagron |
|
Onkyo/Integra Receiver Driver | sic0048 | 6 | 551 |
01-08-2023, 10:24 PM Last Post: kblagron |
|
SmartThings API V1 driver | kfly | 5 | 1,420 |
02-22-2022, 07:55 AM Last Post: kfly |
|
Tesla Driver Driver | kfly | 14 | 6,836 |
02-21-2022, 10:11 AM Last Post: kfly |
|
Help on editing existing Driver | Spot | 5 | 1,143 |
02-03-2022, 06:50 PM Last Post: kblagron |
|
New to driver development - where to start? | jokermac | 2 | 1,016 |
09-22-2021, 04:01 PM Last Post: Spot |
|
Yamaha RX-V673 IP control Driver | jdmevo123 | 22 | 12,495 |
03-27-2021, 03:02 PM Last Post: Spot |
|
Updated SMS Driver | gReatAutomation | 0 | 954 |
01-28-2021, 12:53 PM Last Post: gReatAutomation |
|
Sage Media Server driver (beta) | Fonceur | 698 | 361,075 |
07-26-2020, 04:59 PM Last Post: sic0048 |
|
Russound MCA-66 on TCP driver | lapointe.sc@gmail.com | 5 | 3,269 |
05-24-2020, 06:23 AM Last Post: gReatAutomation |