Domoticz API and Log lines
Posted: Tuesday 06 May 2025 18:25
I'm using the Domoticz API by means of curl "https://<address>:<port>/json.htm?type=command&... etc.
Works just fine, but I would like to surpress the messages that come with that in the Log (Status).
Funny things is, I only see messages posted there when param=switchlight. Any other param sofar (udevice, updateuservariable and others)? No log line (which is what I want).
Examples that don't produce a status line in the log:
type=command¶m=udevice&idx=4514&nvalue=0&svalue=51.0
type=command¶m=updateuservariable&vname=locatiei&vtype=String&vvalue=53.1327383,6.1459101
Example that does produce a status line in the log:
type=command¶m=switchlight&idx=214&switchcmd=On
Can anybody explain why it doesn't work for this particular type of parameter or better: is there (another) way to surpress these log messages?
I read something about adding the phrase &loglevel=0 to surpress, but that doesn't seem to do anything.
Works just fine, but I would like to surpress the messages that come with that in the Log (Status).
Funny things is, I only see messages posted there when param=switchlight. Any other param sofar (udevice, updateuservariable and others)? No log line (which is what I want).
Examples that don't produce a status line in the log:
type=command¶m=udevice&idx=4514&nvalue=0&svalue=51.0
type=command¶m=updateuservariable&vname=locatiei&vtype=String&vvalue=53.1327383,6.1459101
Example that does produce a status line in the log:
type=command¶m=switchlight&idx=214&switchcmd=On
Can anybody explain why it doesn't work for this particular type of parameter or better: is there (another) way to surpress these log messages?
I read something about adding the phrase &loglevel=0 to surpress, but that doesn't seem to do anything.