15 hours ago15 hr Just got my first Polyglot plugin running to get data from my WS-5000 console. I can figure out how to trigger a program when a sensor reaches a particular temperature. What I would like to do is to trigger a program (which opens a window and turns on a fan) when the temperature on the main sensor (outside temperature) is lower than an inside sensor's temperature, and close the window when the opposite is true. I would want to build in a few degrees of hysteresis to prevent too much cycling between open/close.Is this possible with EISY and Polyglot?
7 minutes ago7 min Calc Delta (enabled)IF. . . .temp1 < 9999. . .OR. . . .temp2 < 9999THEN. . . .$intVar = temp1. . . .$intVar -= temp2. . . .$sdeltaTemp = $intVar do NOT calculate in variable that continuously triggers CloseWindow or OpenWindowELSE. . . .--CloseWindow (enabled)IF . . . . $sdeltaTemp > 2.0THEN. . . . do close window processELSE. . . .--OpenWindow (enabled)IF. . . . $deltaTemp < -2.0THEN. . . . do open window processELSE. . . . --ANYTHING IS POSSIBLE with polisy or eisy. Edited 4 minutes ago4 min by larryllix
Create an account or sign in to comment