Domoticz REST API with LUA OpenURL
Posted: Wednesday 10 May 2023 21:19
Hi,
I don't succeed in figuring out my problem... I want to enable/disable a timer from a LUA script...
If I use on the command line curl "http://username:[email protected]:8 ... r&idx=xxxx", I got an OK back.
However when in the LUA script I use commandArray['OpenURL'] = 'http://username:[email protected]:8 ... r&idx=xxxx', I receive always an error Error opening url: "http://username:[email protected]:8 ... r&idx=xxxx".
Any help?
I don't succeed in figuring out my problem... I want to enable/disable a timer from a LUA script...
If I use on the command line curl "http://username:[email protected]:8 ... r&idx=xxxx", I got an OK back.
However when in the LUA script I use commandArray['OpenURL'] = 'http://username:[email protected]:8 ... r&idx=xxxx', I receive always an error Error opening url: "http://username:[email protected]:8 ... r&idx=xxxx".
Any help?