Yesterday at 01:20 AM1 day 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?
Yesterday at 04:51 PM1 day 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 yesterday at 04:54 PM1 day by larryllix
4 hours ago4 hr Author Thanks. I hadn't figured out how to assign Polyglot nodes to variables - that was the missing piece.
Create an account or sign in to comment