Page 1 of 1
Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Tuesday 08 August 2017 13:50
by Jan Jansen
It's not a big problem, but it reduces readability.
- Knipsel.PNG (115.94 KiB) Viewed 2743 times
Is it possible to avoid logging of the normal activity of the smart meter? If yes, how?
Thanks in advance!
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Tuesday 08 May 2018 14:47
by axelbaas
Sorry for kicking such an old ticket.! But I got the same issue, and was hoping for a solution.
2018-05-08 14:34:05.692 (P1-LAN) General/Voltage (Voltage L1)
2018-05-08 14:34:06.691 (P1-LAN) P1 Smart Meter (Power)
Does anyone know a way to limit these logs, or stop them completely without stopping the device itself?
Thanks in advance,
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Tuesday 08 May 2018 14:59
by McMelloW
I have the same, don't think it is a problem
Code: Select all
2018-05-08 14:56:49.071 (Slimme Meter) P1 Smart Meter (Electra)
2018-05-08 14:56:49.074 (Slimme Meter) General/Voltage (Voltage L1)
2018-05-08 14:56:49.075 (Slimme Meter) General/Voltage (Voltage L2)
2018-05-08 14:56:49.078 (Slimme Meter) General/Voltage (Voltage L3)
2018-05-08 14:56:50.074 (Slimme Meter) P1 Smart Meter (Electra)
2018-05-08 14:56:50.078 (Slimme Meter) General/Voltage (Voltage L1)
2018-05-08 14:56:50.080 (Slimme Meter) General/Voltage (Voltage L2)
2018-05-08 14:56:50.082 (Slimme Meter) General/Voltage (Voltage L3)
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Tuesday 08 May 2018 15:04
by axelbaas
I didn't report is as a problem. It's just annoying
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Tuesday 08 May 2018 16:44
by gordonb3
Would have loved to get rid of that, even though I only have one line every 10 seconds since my last revision of that hardware class. I still think it generates too much noise in the log file, but @gizmocuz did not agree. Only option that currently exists is to change the log level to status, meaning that you'll only get the lines that are printed either greenish (status) or red (error) in the GUI. Should note though that because of the limited number of log levels and the frequency of bad P1 datagrams reported by users we deliberately chose not to assign those failures an error state, so if you change the log level you will also no longer see those failures being reported (which you might like of course).
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Friday 11 May 2018 11:01
by axelbaas
Okay, there is a solution for limiting these logs. This solution have been there all the time, but i never saw it before.
On the hardware tab, select de P1-LAN meter, and change the 'Rate Limit' to a higer value. In my case I did use 120 seconds.
For me this is more than enough, and it will keep your logs readable.
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Monday 23 December 2019 11:05
by reneklomp
This is crazy. My log file is 98% filled with only P1 Smart Meter lines. Every 10 seconds I get 10 lines added to it with little or no meaningful information. This must be configurable!!! Saying this is not a problem is just ignoring the annoyance people have with it.
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Monday 23 December 2019 11:27
by FireWizard
Hi
@reneklomp.
You wrote:
This is crazy.
and
This must be configurable!!!
This is a forum, where people support voluntary other people with their problems and questions.
To get support, I think, this is not a very nice way to start a post.
Domoticz is an open source product, you are free to use, without any payment, and you are free to contribute.
As the previous poster already mentioned, there is a solution to limit the log
See:
- Screenshot_P1_smartmeter.png (306.6 KiB) Viewed 1425 times
By increasing the Rate Limit you will also limit the number of log entries.
Regards
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Monday 23 December 2019 14:14
by reneklomp
The point is that that is not a real solution, just a workaround. People already said they find it very annoying so I am not adding anything negative here. Just asking for a proper solution that makes these messages configurable as they carry zero information to start with.
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Thursday 27 February 2020 22:57
by manjh
reneklomp wrote: ↑Monday 23 December 2019 14:14
The point is that that is not a real solution, just a workaround. People already said they find it very annoying so I am not adding anything negative here. Just asking for a proper solution that makes these messages configurable as they carry zero information to start with.
As said above, this is an open source project. You have three options:
1. buy a professional solution that matches your needs. If you find it, please report back with name and price.
2. dive into the (open) source and fork your own version, modify to your specs.
3. accept that this is completely free software, and therefor is not 100% matching your needs.
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Friday 03 April 2020 11:58
by rolfie23
Spend 3 days searching why my domoticz suddenly stopped. Log didn't help because of all the messages of the P1 meter. Finally found it came of the Buienradar plugin, used it since upgrade to 2020.1. Disabled it and now 2 days problem free.
So my question is also, how can we get them out of the log completely? Want to have realtime update of the P1 meter so increase the time doesn't work for me. Maybe changing it in the plugin, but where can I find it?
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Posted: Tuesday 12 May 2020 16:11
by robbert1977
Hi,
Maybe not the ultimate solution but I tried the above rate solution and it worked for some time for me but setting the log argument to debug in domoticz.sh is working better for me as I only see what i want to see no updates of P1 anymore especially when I try to debug something..
If really needed I can always change it back maybe it helps some of you
/etc/init.d/domoticz.sh
DAEMON_ARGS="-loglevel 2 -debug -verbose -syslog local1 -daemon" #debug
# DAEMON_ARGS="-loglevel 1 -debug -verbose -syslog local1 -daemon" #status + error
# DAEMON_ARGS="-loglevel 0 -debug -verbose -syslog local1 -daemon" #all
DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"