Hi All,
I would get the id of a device, or better I would like to find a device from its id.
How can I do ?
I tried with otherdevices_idx, but the function does not appear in my version.
I'd got this error in logs : 2016-07-26 12:56:27.707 Error: EventSystem: in Tests: Tests.lua:36: attempt to index global 'otherdevices_idx' (a nil value)
Device id In LUA Scripts
Moderator: leecollings
-
- Posts: 12
- Joined: Tuesday 26 July 2016 13:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Location: France
- Contact:
Device id In LUA Scripts
José
Domoticz raspberry pi
Version 3.4834
Domoticz raspberry pi
Version 3.4834
- jvdz
- Posts: 2269
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Device id In LUA Scripts
What version are you running? It is available in the latest stable version.
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 12
- Joined: Tuesday 26 July 2016 13:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Location: France
- Contact:
Re: Device id In LUA Scripts
Thanks everybody
My version is 2.4351 on raspberry pi
I have upgraded last month
My version is 2.4351 on raspberry pi
I have upgraded last month
José
Domoticz raspberry pi
Version 3.4834
Domoticz raspberry pi
Version 3.4834
- jvdz
- Posts: 2269
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Device id In LUA Scripts
That doesn't sound like any recent version: https://github.com/domoticz/domoticz/bl ... istory.txt
Current stable version is : Version 3.4834 (March 2nd 2016)
Jos
Current stable version is : Version 3.4834 (March 2nd 2016)
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 12
- Joined: Tuesday 26 July 2016 13:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Location: France
- Contact:
Re: Device id In LUA Scripts
Hi all,
So my upgrade method might be wrong.
Someone could tell me how to upgrade on raspberry pi II?
So my upgrade method might be wrong.
Someone could tell me how to upgrade on raspberry pi II?
José
Domoticz raspberry pi
Version 3.4834
Domoticz raspberry pi
Version 3.4834
Re: Device id In LUA Scripts
Search the forum, this has been handled many timesjjdom wrote:Someone could tell me how to upgrade on raspberry pi II?
-
- Posts: 12
- Joined: Tuesday 26 July 2016 13:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.4834
- Location: France
- Contact:
Re: Device id In LUA Scripts
hi all,
after upgrade, my version is now 3.4834 and otherdevices_idx work fine
thanks a lot all
after upgrade, my version is now 3.4834 and otherdevices_idx work fine
thanks a lot all
José
Domoticz raspberry pi
Version 3.4834
Domoticz raspberry pi
Version 3.4834
Who is online
Users browsing this forum: No registered users and 1 guest