Smart meter in logfile
Moderator: leecollings
-
- Posts: 30
- Joined: Wednesday 09 January 2019 17:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Nederland
- Contact:
Smart meter in logfile
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
=====
Frans
Re: Smart meter in logfile
Yes, every 10 seconds there is an update
- FireWizard
- Posts: 1888
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Smart meter in logfile
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.
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.
Last edited by FireWizard on Friday 09 August 2019 13:14, edited 1 time in total.
-
- Posts: 30
- Joined: Wednesday 09 January 2019 17:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Nederland
- Contact:
Re: Smart meter in logfile
What can be a reasonable amount of updates?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter in logfile
1 update per 10 seconds.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- FireWizard
- Posts: 1888
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Smart meter in logfile
Personally I use 1 update per 10 seconds as well. That is fine for me.
-
- Posts: 30
- Joined: Wednesday 09 January 2019 17:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Nederland
- Contact:
Re: Smart meter in logfile
Thanks!
More than enough
More than enough

-
- Posts: 30
- Joined: Monday 20 February 2017 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Smart meter in logfile
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.
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.
-
- Posts: 14
- Joined: Monday 07 January 2019 6:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Smart meter in logfile
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!
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!
-
- Posts: 11
- Joined: Monday 18 July 2016 11:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Eindhoven
- Contact:
Re: Smart meter in logfile
Hi does anybody have an update on this ? Is it possible to disable this meaningless logging ?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter in logfile
'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"
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -loglevel error"
then
Code: Select all
sudo systemctl daemon-reload
sudo service domoticz stop
sudo service domoticz start
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest