Handman Senior Member
Joined: February 02 2009 Location: United States
Online Status: Offline Posts: 229
|
Posted: October 12 2014 at 13:20 | IP Logged
|
|
|
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
|