Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Changing analog device status Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Handman
Senior Member
Senior Member


Joined: February 02 2009
Location: United States
Online Status: Offline
Posts: 229
Posted: October 12 2014 at 13:20 | IP Logged Quote Handman

The trigger which updates my EZ FLORA status stopped working in July 2014. I assume this is because of the software upgrades to PH. The following command given to me by Dave now returns a *SYNTAX ERROR*. The command looks OK and used to work, so I can only assume that TEMP3 no longer exists, but I don't really know.

The following command in the trigger is supposed to change the analog input to show if a sprinkler valve is open or not in the Status column of the DEVICE STATUS tab.

ph_setotheranalogout("VIRTUAL",0,2,1,(ph_and([TEMP3],7) + 1) * (ph_and([TEMP3],128) / 128))

My PH virtual controller is named "VIRTUAL." I have created an analog Input device (Unit 2 Point 1) (EZ Flora) which is called "SPRINKLER" and is controlled by the PH Virtual controller. I am not sure how the formula works, but the EZFlora is queried and returns a value between 0 and 7 indicating that output (valve) 1-8 is energized open which should then show on the Device Status page.

Any ideas how to fix it or what could be wrong?

Edited by Handman - October 12 2014 at 13:22
Back to Top View Handman's Profile Search for other posts by Handman
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 13 2014 at 21:09 | IP Logged Quote dhoward

Handman,

See my post in the EZRain/EZFlora thread for a simpler way of supporting the EZFlora device.

However, I'd like to understand and correct what I may have done to change the functioning. Which trigger type are you using for the above ph_setotheranalogout formula?

Let me know and I'll try to see what may have changed.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
Handman
Senior Member
Senior Member


Joined: February 02 2009
Location: United States
Online Status: Offline
Posts: 229
Posted: October 14 2014 at 00:55 | IP Logged Quote Handman

trigger type is Insteon ACK.
Back to Top View Handman's Profile Search for other posts by Handman
 

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