SSamuels Posted March 20, 2022 Posted March 20, 2022 Firmware Polisy v.5.4.1 (2022-03-08) UI Polisy v.5.4.1 (2022-03-08) Product Polisy (5200) - OpenADR (21010) - Networking Module (21040) - Portal Integration – UDI (21075) - Z-Wave (21100) - A10/X10 Module (21060) I have a question about setting the value of a State Variable in a program. State Variables: $MaxAirTemp_Today Node server: Aqualink Controller (the controller is online) – Air Temperature subnode I have two enabled programs: Program1 Content for 'AdjustAirTemp' If From 8:45:00AM To 9:45:00PM AND '12l29Td / POOL/ POOL' Air Temperature >= '$MaxAirTemp_Today Fahrenheit ' Then $MaxAirTemp_Today = '12l29Td / POOL/ POOL' Air Temperature 'F Else - No Actions - (To add one, press 'Action') Program2 Content for ‘ResetAirTemp’ If Time is 10:25:00PM Then $MaxAirTemp_Today = 0 Else - No Actions - (To add one, press 'Action') Issue: Program1 does update $MaxAirTemp_Today Program2 when I select ‘Run Then’ or when the time condition is met does not update $MaxAirTemp_Today (The Summary tab indicates that Program2 did run. When I hit ‘Refresh Values’ on the State Variable tab, the value of $MaxAirTemp_Today is not 0) What am I doing wrong? (again) Thanks
brians Posted March 27, 2022 Posted March 27, 2022 Disable program1 temporarily then try run program2 and see what happens. can also try changing the variable manually to 0 and if changes back there is some other program setting it. 1
MrBill Posted March 27, 2022 Posted March 27, 2022 I agree with @brians for troubleshooting steps. It seems like this pair should be working but perhaps search for the variable in all your programs to see if something you've forgotten exists is also setting it. to use Find, right click any programs name and pick Find.
Recommended Posts