Page 1 of 1

Smart meter in logfile

Posted: Saturday 23 February 2019 21:45
by Franzie
I just installed a smart meter cable. Now, when I look into my logfile I see every second a notification from this meter. Is this normal? That often?

=====
Frans

Re: Smart meter in logfile

Posted: Sunday 24 February 2019 9:39
by renerene
Yes, every 10 seconds there is an update

Re: Smart meter in logfile

Posted: Sunday 24 February 2019 12:05
by FireWizard
Hi Franzie,

That may be correct. It depends on the protocol of the smart meter. Older Smart Meters, with protocol DSMR 4.2 or earlier, emit a telegram every 10 seconds. The newer smart meters, with protocol DSMR 5.0 or newer, emit a telegram every second.
That fills the log file quite fast. However you can limit the number of updates by setting the "Rate Limit" in the hardware for the smart meter to the number of desired seconds.

Re: Smart meter in logfile

Posted: Sunday 24 February 2019 16:55
by Franzie
What can be a reasonable amount of updates?

Re: Smart meter in logfile

Posted: Sunday 24 February 2019 17:42
by waaren
Franzie wrote: Sunday 24 February 2019 16:55 What can be a reasonable amount of updates?
1 update per 10 seconds.

Re: Smart meter in logfile

Posted: Sunday 24 February 2019 18:15
by FireWizard
Personally I use 1 update per 10 seconds as well. That is fine for me.

Re: Smart meter in logfile

Posted: Sunday 24 February 2019 22:01
by Franzie
Thanks!
More than enough :)

Re: Smart meter in logfile

Posted: Thursday 08 August 2019 6:23
by reneklomp
Same 'problem'... instead of increasing the rate limit can't we configure the amount of logging (e.g. turn it off) it does somewhere?
When it is working It is just generating too much log information if you ask me.
Every second (or even 10 seconds) I get this which is not really meaningful:

2019-08-08 06:21:27.250 (Smart Meter) General/Voltage (Voltage L1)
2019-08-08 06:21:27.257 (Smart Meter) General/Voltage (Voltage L2)
2019-08-08 06:21:27.266 (Smart Meter) General/Voltage (Voltage L3)
2019-08-08 06:21:27.274 (Smart Meter) Usage (Usage L1)
2019-08-08 06:21:27.282 (Smart Meter) Usage (Usage L2)
2019-08-08 06:21:27.290 (Smart Meter) Usage (Usage L3)
2019-08-08 06:21:27.292 (Smart Meter) Usage (Delivery L1)
2019-08-08 06:21:27.294 (Smart Meter) Usage (Delivery L2)
2019-08-08 06:21:27.297 (Smart Meter) Usage (Delivery L3)
2019-08-08 06:21:27.307 (Smart Meter) P1 Smart Meter (Gas)
2019-08-08 06:21:37.249 (Smart Meter) P1 Smart Meter (Power)

Rene.

Re: Smart meter in logfile

Posted: Thursday 12 September 2019 6:31
by Steef
I am curious about this too!

A fresh smart meter was installed here friday, and last night I saw that my used hdd space went from 17% to 48% within a week! On a 32gb card...

I have set the interval to 30 seconds now, also because my Raspberry was quite Hot because of all the updates..

But if someone knows a way how to free some hdd space, it is more than welcome!

Re: Smart meter in logfile

Posted: Tuesday 21 July 2020 18:10
by MrRikkie
Hi does anybody have an update on this ? Is it possible to disable this meaningless logging ?

Re: Smart meter in logfile

Posted: Tuesday 21 July 2020 18:39
by waaren
MrRikkie wrote: Tuesday 21 July 2020 18:10 Hi does anybody have an update on this ? Is it possible to disable this meaningless logging ?
'Meaningless" is kind of a subjective remark here but yes it is possible to disable the logging for this and all other logging in this class.

edit the file /etc/init.d/domoticz.sh and change the line with

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -loglevel  normal,status,error"
to

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -loglevel  error"
save the changed file and exit the editor
then

Code: Select all

sudo systemctl daemon-reload
sudo service domoticz stop
sudo service domoticz start
and you won't get these loglines in the GUI and / or in the OS logfile