Every second 2 text lines from P1 smart meter in domoticz.log
Moderators: leecollings, remb0
-
- Posts: 229
- Joined: Wednesday 30 April 2014 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Every second 2 text lines from P1 smart meter in domoticz.log
It's not a big problem, but it reduces readability.
Thanks in advance!
Is it possible to avoid logging of the normal activity of the smart meter? If yes, how?Thanks in advance!
-
- Posts: 28
- Joined: Thursday 14 January 2016 20:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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,
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,
- McMelloW
- Posts: 427
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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
-
- Posts: 28
- Joined: Thursday 14 January 2016 20:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
I didn't report is as a problem. It's just annoying
-
- Posts: 111
- 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
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).
-
- Posts: 28
- Joined: Thursday 14 January 2016 20:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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.
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.
-
- Posts: 30
- Joined: Monday 20 February 2017 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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.
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
Hi
@reneklomp.
You wrote:
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:
By increasing the Rate Limit you will also limit the number of log entries.
Regards
@reneklomp.
You wrote:
andThis is crazy.
This is a forum, where people support voluntary other people with their problems and questions.This must be configurable!!!
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:
By increasing the Rate Limit you will also limit the number of log entries.
Regards
-
- Posts: 30
- Joined: Monday 20 February 2017 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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.
-
- Posts: 708
- Joined: Saturday 27 February 2016 12:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
As said above, this is an open source project. You have three options: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.
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.
Hans
-
- Posts: 6
- Joined: Saturday 11 January 2020 10:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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?
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?
-
- Posts: 15
- Joined: Saturday 18 April 2020 22:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Every second 2 text lines from P1 smart meter in domoticz.log
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"
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"
Raspberry Pi 4
domoticzVersion: 2020.2
dzVentsVersion: 3.0.2
OpenZWave USB: 1.6-1033-g3661f170
RFXCOM - RFXtrx433 USB: Pro XL1/1043, Noise: 109 dB
Homebridge - Siri integration
domoticzVersion: 2020.2
dzVentsVersion: 3.0.2
OpenZWave USB: 1.6-1033-g3661f170
RFXCOM - RFXtrx433 USB: Pro XL1/1043, Noise: 109 dB
Homebridge - Siri integration
Who is online
Users browsing this forum: No registered users and 1 guest