HOWTO get the value of the Domoticz URL?
Posted: Friday 08 May 2020 12:05
Hi
If I follow the DzVent manual I should use the following
This code produce the error below
The dump of the table domoticz.settings:
How to get the value of Domoticz url?
If I follow the DzVent manual I should use the following
Code: Select all
print('Domoticz url '..domoticz.settings.url)
Code: Select all
dzVents: Error: (3.0.2) Test: An error occurred when calling event handler Test
dzVents: Error: (3.0.2) Test: ...e/pi/domoticz/scripts/dzVents/generated_scripts/Test.lua:20: attempt to concatenate a nil value (field 'url')
Code: Select all
serverPort: 8080
dzVentsVersion: 3.0.2
Log level: 2
location:
name: Blagnac France
longitude: 1.387347
latitude: 43.630555
Domoticz url: http://127.0.0.1:8080
domoticzVersion: 2020.2