Only the errors in the scripts are shown in the "Error" tab.
These are my log settings in "Setup → Settings → Other: This is a very simply test script, which should write "Testmessage" in my log, but that does not happen (the script is executed, since the value of the device IdxEnergyMeter changes frequently, and other parts of the script work fine).
Code: Select all
return {
on = {
devices = {IdxEnergyMeter}
},
logging = {
level = domoticz.LOG_INFO, -- Can be domoticz.LOG_INFO, domoticz.LOG_MODULE_EXEC_INFO, domoticz.LOG_DEBUG or domoticz.LOG_ERROR
marker = 'Randapparatuur',
},
execute = function(domoticz, device)
domoticz.log('Testmessage')
end
}
level = domoticz.LOG_INFO
by
level = domoticz.LOG_DEBUG
But that didn't change anything either. My status tab stays empty: I'm out of options
How can I write messages and values from dzVents to the log "Status" such that I can debug my scripts?
