Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Polisy - set State Variable from Program

Featured Replies

Posted

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

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. 

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.

 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.