underfloor - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: underfloor (/showthread.php?tid=5825) |
underfloor - mariosp - 08.01.2025 Hello guys i want your help with a script. we have underfloor heating and pwm valves and i need the LM to send a value (3%) to the heating if the value of the valve Is < 3% every 30 minutes. can anyone help me with the script ? RE: underfloor - Daniel - 08.01.2025 Do you need this to happen instantly or a script which runs every 30 min is fine to check the status and update? RE: underfloor - mariosp - 08.01.2025 (08.01.2025, 10:08)Daniel Wrote: Do you need this to happen instantly or a script which runs every 30 min is fine to check the status and update? i want to happend instantly.. i made a event base script base on the valve group address if (0) then value = 6 sleep(40) grp.write('4/1/1', value) end but lm send many times the value with result to overload the tp RE: underfloor - admin - 08.01.2025 Use this: Code: value = event.getvalue() RE: underfloor - mariosp - 08.01.2025 (08.01.2025, 11:07)admin Wrote: Use this: Thank you it works perfectly !!! Is there a way to do it if only the pump is on? |