send MQTT message to Domoticz log with log level?
Posted: Saturday 11 January 2025 15:02
Hi Forum,
To send a message to the Domotic log originating from mqtt, a mqtt message to the 'domoticz/in' topic like
does the job as mentioned in https://wiki.domoticz.com/MQTT#Log_message.
Is it also possible to spoecify the log level when doing this? I tried variants like:
but that does not give the result hoped for.
To send a message to the Domotic log originating from mqtt, a mqtt message to the 'domoticz/in' topic like
Code: Select all
{"command": "addlogmessage", "message": "A message to the log (ends up by default in status-log)"}
Is it also possible to spoecify the log level when doing this? I tried variants like:
Code: Select all
{"command": "addlogmessage", "message": "A message to the log (does not end up in error-log)", "level": "LOG_ERROR" }