We have moved at community.getvera.com

Author Topic: IrrigationCaddy  (Read 18357 times)

Offline SOlivas

  • Sr. Member
  • ****
  • Posts: 282
  • Karma: +1/-1
Re: IrrigationCaddy
« Reply #15 on: July 13, 2013, 04:41:03 pm »
IrrigationCaddy - good unit with a good web page that allows the unit to be set up easily.
The API returns information as json, which is great but unfortunately Vera does not have a json parser (when will this happen?). This is perhaps OK if you only want to extract one or two variables - they could be extracted using Lua's gmatch or similar. Doing any more, becomes a total hack very quickly.


I had the same problem with my Twine Interface returning the data as JSON.  I figured out a way to break it down into something I could use.  Take a look at my Twine Interface plugin that I just posted since it may help (http://forum.micasaverde.com/index.php/topic,15617.0.html)
Vera 3 (1.5.622) / 9x GE/Jasco 45609 / 2x GE/Jasco 45612 / 2x GE/Jasco 45614 / 1x MIMO Lite
1x Twine (http://forum.micasaverde.com/index.php/topic,15617.0.html), DSC Security System, Honeywell  YTH8320ZW1007 Thermostat, 1x Fortrezz WWA-01, 1x CA9000 Wireless PIR Sensor

Offline pacificdune

  • Jr. Member
  • **
  • Posts: 81
  • Karma: +1/-1
Re: IrrigationCaddy
« Reply #16 on: October 27, 2013, 11:48:33 am »
I guess there has been no more work on this?  Seems like the basic plugin is just about there...

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 872
  • Karma: +66/-8
Re: IrrigationCaddy
« Reply #17 on: October 27, 2013, 04:52:32 pm »
Yep - basic sums it up - here it is:

http://forum.micasaverde.com/index.php/topic,15324.0.html

It's been downloaded a few times but I have no idea how it's working out for people.

Offline pacificdune

  • Jr. Member
  • **
  • Posts: 81
  • Karma: +1/-1
Re: IrrigationCaddy
« Reply #18 on: October 28, 2013, 11:32:45 pm »
Yes, I did download and try it out.  I think even this functionality would be useful, but the plugin only turned the IC on if it was in an off state.  It would not turn it off or run any of the sequences.

IC does have a nice web interface and I like it as it is, but there is something nice about having everything linking to the same system...

Anyway, thanks for the reply.

Cheers!

PD

Offline PJJP

  • Full Member
  • ***
  • Posts: 149
  • Karma: +2/-0
Re: IrrigationCaddy
« Reply #19 on: July 01, 2014, 08:53:58 pm »
I know this is old, but I thought I'd post what worked for me. In order to get both ON and OFF to work, I had to use curl:

os.execute("curl -d 'stop=off' http://10.0.1.27/stopSprinklers.htm ") --Turn System OFF
os.execute("curl -d 'run=run' http://10.0.1.27/runSprinklers.htm ") --Turn System ON

The other methods listed on the forum would only turn it ON, but I could not get OFF to work.

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 872
  • Karma: +66/-8
Re: IrrigationCaddy
« Reply #20 on: July 01, 2014, 10:53:31 pm »
That's exactly what the plugin is set up to do - here:

http://forum.micasaverde.com/index.php/topic,15324.msg116444.html#msg116444

If people are having trouble with the plugin, then debug information is required to solve any problems. Without it, it's any one's guess.
« Last Edit: August 19, 2014, 01:54:47 am by a-lurker »