2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) An error occurred when calling event handler test
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:21: attempt to concatenate a table value (local 'cmd')
Varazir wrote: Thursday 01 October 2020 13:27
i'm getting
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) An error occurred when calling event handler test
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:21: attempt to concatenate a table value (local 'cmd')
That is because you send two parms to the function osCommand (the domoticz object and the cmd) but this function only expect one; therefore the second one is ignored. The domoticz object (here dz) is a table so the Error message is appropriate.
Varazir wrote: Thursday 01 October 2020 13:27
i'm getting
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) An error occurred when calling event handler test
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:21: attempt to concatenate a table value (local 'cmd')
That is because you send two parms to the function osCommand (the domoticz object and the cmd) but this function only expect one; therefore the second one is ignored. The domoticz object (here dz) is a table so the Error message is appropriate.
Varazir wrote: Thursday 01 October 2020 13:27
i'm getting
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) An error occurred when calling event handler test
2020-10-01 13:14:21.710 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:21: attempt to concatenate a table value (local 'cmd')
That is because you send two parms to the function osCommand (the domoticz object and the cmd) but this function only expect one; therefore the second one is ignored. The domoticz object (here dz) is a table so the Error message is appropriate.
2020-10-01 16:34:19.262 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:57: attempt to call a nil value (field 'openurl')
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
2020-10-01 16:34:19.262 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:57: attempt to call a nil value (field 'openurl')
Please check the dzVents wiki for spelling (pay extra attention to case) and syntax before asking here.
2020-10-01 16:34:19.262 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:57: attempt to call a nil value (field 'openurl')
Please check the dzVents wiki for spelling (pay extra attention to case) and syntax before asking here.
Damit sorry, I just read this and didn't think of the upper case.
2020-10-01 16:34:19.262 Error: dzVents: Error: (3.0.12) ...moticz/scripts/dzVents/generated_scripts/global_data.lua:57: attempt to call a nil value (field 'openurl')
Please check the dzVents wiki for spelling (pay extra attention to case) and syntax before asking here.
Thank you, now it's up and running
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices