Page 1 of 1

Disable a specific Log Error to be notified?

Posted: Tuesday 25 May 2021 10:38
by Ricard1
Hi,

I am continuously getting "spammed" by an issue with my Weather Station WiFi-connection, it is re-connecting to my WiFi network due to some issues with this device WiFi-functionality. Because this issue does not affecting data collected from the Weather Station I will not investigate the root cause more than i already done... I tried to fix the connection issue but it seems being a hardware or firmware error.

So, I get an Error e-mail sent from Domoticz every time it disconnects from the "PWS" Hardware Plugin In Domoticz, the Error log in Domoticz looks like this:

errlog.JPG
errlog.JPG (212.53 KiB) Viewed 394 times

Is there a simple solution to disable this specific error message being sent by e-mail, it is fine if it is still being logged?

Thanks in advance! :)

Re: Disable a specific Log Error to be notified?

Posted: Tuesday 25 May 2021 11:34
by psubiaco
If you think this is not a real error, you can go on Settings -> Hardware and disable logging for that hardware plugin, then click on Update.
If it does not work, and weather station hardware plugin is made in python or other script language, maybe you can edit that plugin looking for "forcibly closed" and commenting the line that generate that error in the log, then go to Settings -> Hardware and update the plugin again to reload it.
Regards.
Paolo

Re: Disable a specific Log Error to be notified?

Posted: Tuesday 25 May 2021 13:35
by Ricard1
Thanks for your inputs psubiaco.

I already tried to disable all three log-switches PWS-plugin page but it did not help.

I suspect this Log comes from Domoticz side of the code as I've seen similar posts about "Async Read Exception" but not related to PWS-plugin, maybe someone here can tell the origin of this message and help how avoid it being emailed?

Re: Disable a specific Log Error to be notified?

Posted: Tuesday 01 June 2021 13:08
by Ricard1
For your info build 13300 includes a fix so Disabling Log level on PWS pluging page works.