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.

How to read Node Server Values

Featured Replies

Posted

I posted a specific question in the Vue forum but have just a general question on node values.

Im able to write condition statements that test the value in of a node in a program and then act upon that value.  For the life of me Im unable to figure out how to use that value in a pushover message or to have it update a variable. My specific case is that I can see the value in polyglot and have tried the following but it just returns a blank value.

${sys.node.n001.141766_11.CPW} 

Pushover response is: node[n001]

Thoughts?

Screenshot 2022-11-21 105513.png

Screenshot 2022-11-21 105808.png

Solved by bpwwer

Go to solution

It appears you added n001. when you shouldn't have.  Try just ${sys.node.141766_11.CPW} 

I think the node server author should have included n001_ in the node name but didn't, meaning two different node servers could possibly generate this same node name.

  • Author

Still no go,  Now returns: node[141766_11]

 

what does the admin console show as the node address at the top?

image.png.68bd39a9e8bd64aa48588bfe00ed633a.png

Does that match?

  • Solution

I think you almost had it right.  Try ${sys.node.n001_141766_11.CPW} 

The address created by the node server has the "n<slot>_" pre-pended to it when added to the ISY

  • Author

That fixed it!!  Thanks again!

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.