Search found 3 matches

by Gerwazy
Saturday 07 September 2019 11:37
Forum: dzVents
Topic: Removing a value from an array [Solved]
Replies: 2
Views: 1224

Re: Removing a value from an array [Solved]

Corrected according to your advice and works as expected. Thank you waaren! local lights = domoticz.devices().filter({ 'LedRelaxSides', 'LedRelaxMiddle', 'LightRelaxLibrary', 'LightRelaxWall'}) domoticz.utils._.pull(lights, domoticz.devices('LedRelaxSides')) lights.forEach(function(light) domoticz ...
by Gerwazy
Saturday 07 September 2019 10:41
Forum: dzVents
Topic: Removing a value from an array [Solved]
Replies: 2
Views: 1224

Removing a value from an array [Solved]

Hi, I going to create a script handling with lights downstairs. I created an array with devices and want to add or remove a device depending on its state. As far I understood, to add or remove a value from an array I have to use LUA (?) My script (especially 2nd line) local lights = domoticz.devices ...
by Gerwazy
Sunday 05 May 2019 13:51
Forum: Python
Topic: [RELEASE] Paradox alarm PRT3 serial interface plugin
Replies: 3
Views: 1819

Re: [RELEASE] Paradox alarm PRT3 serial interface plugin

Hi,
it looks like my dreams come true :)
Will it work with Digiplex EVO 48 firmware 2.16? As far I understood iParadox should be connected directly do RPi via serial?
Many thanks anyway.