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.

Create Vars from REST or Nodeserver

Featured Replies

Posted

I don't see it documented in the wiki but is there a way to create Variables either via the REST interface or from a Nodeserver via Polyglot api?

You can't modify or create individual variables, instead, you have to download the XML file containing all the variable definitions, add your variables to it, and then upload the XML file back into the ISY.

  • Author
46 minutes ago, Chris Jahn said:

You can't modify or create individual variables, instead, you have to download the XML file containing all the variable definitions, add your variables to it, and then upload the XML file back into the ISY.

Oh that easy huh?  Smells like a recipe for disaster of a single oops and that's all she wrote...

The download of the xml is it available to any local machine?  How about the upload process?  Or does that require uploading through the admin console?

I believe this is achieved via the SOAP API rather than REST....

  • Author
5 minutes ago, MWareman said:

I believe this is achieved via the SOAP API rather than REST....

Probably.  However I've been told SOAP is being replaced by the REST interface and websocket.  So why develop something new for something that's supposed to be going away.  Of course that "going away" is probably like 5 years from now.  But wanting to find out and mostly to see if it's possible from a nodeserver.  I'm thinking it's not.

You are correct.

The Java based admin console uses the SOAP interface - and UDI is reimplementing everything with REST so that a native HTML5 admin UI will become possible - and the need for Java will (finally) die.

I thing that this is one of the functions still only available over SOAP - but I’ve been wrong on this before as REST endpoints are being added with every release - and not all appear to be well documented yet.

10 hours ago, MWareman said:

<snipped>
The Java based admin console uses the SOAP interface - and UDI is reimplementing everything with REST so that a native HTML5 admin UI will become possible - and the need for Java will (finally) die.
<snipped>

...and replaced by at least four different implementations each, of javascript,  HTML5, and CSS,  by non-co-operative hostile browser companies, We may want to  return to a single sourced java by the time it is done. :( 

Edited by larryllix

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.