Announcement

Collapse
No announcement yet.

Building HS Touch List boxes dynamically from Plugin

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building HS Touch List boxes dynamically from Plugin

    Hello,

    I would like to know how to build Drop List / List box labels/values dynamically from a plugin.

    I tried using [$SCRIPT=&nhs.PluginFunction(...)] in List Labels / List Values, but no luck.

    Thanks,
    Mike

  • #2
    You can't build them dynamically due to a bug that has existed since HS2 in 2011 (http://bugzilla.homeseer.com/bugzill..._bug.cgi?id=31), you can change them but they will not change until you reload HSTouch. In HS3 the list boxes can be populated by VSPairs but as a test you can have a device with five VSPairs then launch HSTouch, your list box will have these five in them. Add another VSPair and you will see that the list box does not change, then if you reload HSTouch then the sixth will appear.

    You can add your comments to the bug but I unfortunately do not hold much hope considering how long it has been left for.
    My Plugins:

    Pushover 3P | DoorBird 3P | Current Cost 3P | Velleman K8055 3P | LAMetric 3P | Garadget 3P | Hive 3P |
    Yeelight 3P | Nanoleaf 3P

    Comment

    Working...
    X