variable value lost sometimes - 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: variable value lost sometimes (/showthread.php?tid=5165) |
variable value lost sometimes - Osvaldas - 20.12.2023 Hello, I have encountered an issue where the script section responsible for heat pump cooling sometimes runs unexpectedly, even though the conditions for its execution are not met. By using the log function, I identified that the variable `holas = '3/0/1'` activated this script, despite no conditions being met to proceed with the script. Upon checking the log, I noticed that the variable `thermostat_Heating_Cooling` was holding the value 1, indicating that it shouldn't proceed with the script execution. Is it possible for variables to lose their value at times? The addresses listed have assigned tags that can trigger the script holas = '3/0/1' svetainė = '3/0/3' kambario = '3/0/4' miegamojo = '3/0/5' vonia = '3/0/6' thermostat_Heating_Cooling = '3/6/20' sildymas_siurb_arba_centrin = '6/1/13' sil_siurb_heat_seatpoint = '11/1/16' sil_siurb_cool_seatpoint = '11/1/15' Code: trieigio_PID_enabled_disabled = '3/5/20' RE: variable value lost sometimes - admin - 20.12.2023 Which firmware version do you have? RE: variable value lost sometimes - Osvaldas - 21.12.2023 (20.12.2023, 16:16)admin Wrote: Which firmware version do you have?Firmware version is 2022/12/05 RE: variable value lost sometimes - admin - 22.12.2023 Install 2023 firmware. RE: variable value lost sometimes - Osvaldas - 22.12.2023 (22.12.2023, 08:50)admin Wrote: Install 2023 firmware.Thank you for your suggestion. I've never noticed such a thing before. Just out of curiosity, is it a known bug or something?" RE: variable value lost sometimes - admin - 22.12.2023 It's a rare bug that was fixed in 2023 RC2: https://forum.logicmachine.net/showthread.php?tid=4572&pid=29578#pid29578 RE: variable value lost sometimes - Osvaldas - 22.12.2023 (22.12.2023, 09:01)admin Wrote: It's a rare bug that was fixed in 2023 RC2: https://forum.logicmachine.net/showthread.php?tid=4572&pid=29578#pid29578 Thank you |