Dynamic <List> values in Device <ConfigUI>?

Posted on
Wed Nov 27, 2019 12:27 pm
bap offline
Posts: 33
Joined: Sep 25, 2012

Dynamic <List> values in Device <ConfigUI>?

Is it possible to dynamically generate a list of menu items & values in a Device config UI? I've seen how device states can be dynamically modified via getDeviceStateList but haven't had any luck finding if modifying fields in the config UI is possible. The plugin I'm working on takes a global station ID that I'm having set in the PluginConfig dialog. That station ID is then queried and can return a list of device names & unique id's. When a new device is created in my plugin I want to be able to provide a list of those device names to choose from.

Posted on
Wed Nov 27, 2019 2:07 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Dynamic <List> values in Device <ConfigUI>?

Sure, see Dynamic Lists here then search on "custom dynamic lists".

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests