Hi everyone,
i would like to know if there is any way to recover a data as "otherdevices['Bedroom']" but with the idx instead to the name of the device (here Bedroom) to make easier the evolution of the code.
I search on the forum but i did not find anything
Idx instead of name for otherdevices, uservariables, ... Topic is solved
Moderator: leecollings
- jvdz
- Posts: 2335
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Idx instead of name for otherdevices, uservariables, ...
I gave an answer to a similar question here: http://domoticz.com/forum/viewtopic.php ... 330#p82593
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 65
- Joined: Tuesday 12 May 2015 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Last
- Location: Belgium
- Contact:
Re: Idx instead of name for otherdevices, uservariables, ...
Perfect, TY.
Moreover, it is quick < 1 ms
Moreover, it is quick < 1 ms
-
- Posts: 1
- Joined: Saturday 11 July 2020 17:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Idx instead of name for otherdevices, uservariables, ...
Hi everyone,
Very good solution for otherdevices.
For uservariable, how we can do to use IDX instead of the name.
Thank's
Very good solution for otherdevices.
For uservariable, how we can do to use IDX instead of the name.
Thank's
Who is online
Users browsing this forum: No registered users and 1 guest