Every second 2 text lines from P1 smart meter in domoticz.log

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
Jan Jansen
Posts: 166
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Every second 2 text lines from P1 smart meter in domoticz.log

Post by Jan Jansen » Tuesday 08 August 2017 13:50

It's not a big problem, but it reduces readability.
Knipsel.PNG
Knipsel.PNG (115.94 KiB) Viewed 853 times
Is it possible to avoid logging of the normal activity of the smart meter? If yes, how?

Thanks in advance!

axelbaas
Posts: 28
Joined: Thursday 14 January 2016 21:22
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Every second 2 text lines from P1 smart meter in domoticz.log

Post by axelbaas » Tuesday 08 May 2018 14:47

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,

User avatar
McMelloW
Posts: 195
Joined: Monday 20 November 2017 18:01
Target OS: Raspberry Pi
Domoticz version: V3.beta
Location: Harderwijk, NL
Contact:

Re: Every second 2 text lines from P1 smart meter in domoticz.log

Post by McMelloW » Tuesday 08 May 2018 14:59

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)
Greetings McMelloW

axelbaas
Posts: 28
Joined: Thursday 14 January 2016 21:22
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Every second 2 text lines from P1 smart meter in domoticz.log

Post by axelbaas » Tuesday 08 May 2018 15:04

I didn't report is as a problem. It's just annoying :)

gordonb3
Posts: 156
Joined: Saturday 31 March 2018 22:24
Target OS: Linux
Domoticz version: Custom
Location: Delft, NL
Contact:

Re: Every second 2 text lines from P1 smart meter in domoticz.log

Post by gordonb3 » Tuesday 08 May 2018 16:44

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).

axelbaas
Posts: 28
Joined: Thursday 14 January 2016 21:22
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Every second 2 text lines from P1 smart meter in domoticz.log

Post by axelbaas » Friday 11 May 2018 11:01

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests