Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: EZFlora Commands Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Anthony
Newbie
Newbie


Joined: January 01 2010
Location: United States
Online Status: Offline
Posts: 8
Posted: April 21 2011 at 23:13 | IP Logged Quote Anthony

I am struggling with the EZFlora commands. I have vb script that turns on zone, runs a delay, then turns it off.
ph.insteon("EZ_FLORA_SPRINKLER",64,cInt(intEZFValveNumber))
PH.Delay(cLng(intDelayTime))
ph.insteon("EZ_FLORA_SPRINKLER",65,cInt(intEZFValveNumber))

What I want to know if a command exists to turn on a zone for 10 minutes. Without running a ph.delay(). I have created a web page to turn on and off zones manually when I need to. I have read in the forum that there is a max time default of 30 minutes. However, I would like to be able to set the length of time on my web page when I click the zone-on button. Any ideas?
Back to Top View Anthony's Profile Search for other posts by Anthony
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 21 2011 at 23:21 | IP Logged Quote BeachBum

Look into Timed Events They are in minutes and execute later. Also there is WAIT which is in minutes.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 22 2011 at 10:38 | IP Logged Quote grif091

Anthony

The maximum zone run time is 255 minutes. The 30 minute value is the default maximum. Each zone can be set to unique maximum time. The EZFlora Command document on the Simplehomenet web site shows the memory locations for the zone timers. They can be set with Set MSB/Peek/Poke commands before the zone is turned On. There is free download software, Simplehomenet Utility Suite, that can be used to set the EZFlora timer values if the default 30 minute value needs to be changed in a more static way.

There is no EZFlora command that says run zone for x amount of time.

These are the commands to set one Zone valve max time

ph_insteon("EZFLORA II",40,00)
ph_insteon("EZFLORA II",43,03) 03=Zone4; values 00-07
ph_insteon("EZFLORA II",41,10) 10=timer minutes



Edited by grif091 - April 22 2011 at 17:16


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
judetf
Senior Member
Senior Member


Joined: January 23 2008
Online Status: Offline
Posts: 234
Posted: April 26 2011 at 22:23 | IP Logged Quote judetf

There is a way to do this using a complex macro and then calling the macro using ph_macroparm.

I created my master ezrain macro from code copied from this board. It now has three separate sub-routines, one of which is to open a specified valve and then (using the macro 'wait' command) leave it running for the amount of time passed in the macroparm variable.

So, in my system, I can turn on zone 3 for 20 minutes by running the following:

ph_macroparm("EZRAIN","VALVECTL",3,20,0,0)

It's not direct control, but it gets the result it sounds like you are looking for.
Back to Top View judetf's Profile Search for other posts by judetf
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum