LUA: get uservariable index from table?

Moderator: leecollings

Post Reply
User avatar
blitzkneisser
Posts: 43
Joined: Tuesday 01 December 2015 8:39
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: Villach, Austria
Contact:

LUA: get uservariable index from table?

Post by blitzkneisser »

is there any possibility to get the index of a user variable from some table? 'uservariables' aparrently contains only name and value and I want to avoid something tedious lieka JSON call, filtering and so on.

There's 'otherdevices_idx' - I'd really like to see something like 'uservariables_idx'
Or is there any other quick way of getting the index?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests