Log Interval
Moderator: leecollings
-
- Posts: 6
- Joined: Wednesday 23 July 2014 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Log Interval
Is there any way to change the logging interval, my domoticz seems to miss some events i.e a kettle boiling which can sometimes take only 2 minutes?
Cheers
Rob
Cheers
Rob
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Log Interval
If you mean you're measuring your kettle water with a thermometer and Domoticz misses it, the problem lies with your sensor. Domoticz processes values/signals when they come in, not every x seconds. When a device transmits to Domoticz it is stored in the system, Domoticz doesn't "ask" for data. The log shows what is going on in real time, so when you see the temperature not coming in often enough either your device doesn't send very often or you have some RF interference blocking the signal.
-
- Posts: 6
- Joined: Wednesday 23 July 2014 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Log Interval
Hmm, well i turned the kettle on for ~5 seconds, Domoticz sees it in the value of the power meter, but the log doesn't show the spike of 2.5kw.
is that right?
is that right?
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Log Interval
Oh you mean the graph. The graph short log has a resolution of 5 minutes so small events will probably not show up. It's not good for database writes to log faster and its not really needed either.
-
- Posts: 6
- Joined: Wednesday 23 July 2014 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Log Interval
sorry, should have made that more clear to begin with, so could a short burst of power be missed or will it show up in the days usage (or somewhere else)?
-
- Posts: 3
- Joined: Wednesday 06 May 2015 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Log Interval
Thought I might bump this post. For me, logging (graphing) of data is quite an important requirement. I find the current implementation of the logging a little limited.
The main reason to log data, of course, is to see what is happening in the monitored environment and to be able to view it from a historical perspective. A number of items I log have a fairly fast response time. The Domoticz log system only logs every 5 minutes, so many of the temp fluctuations are missed and the graphs are very "course"
Is there any way to change the log interval to log data on either a shorter interval, or perhaps a better option, when the data changes, log that change (which would then capture all the variations).
Is there any way to do this or suggestions?
Many thanks
The main reason to log data, of course, is to see what is happening in the monitored environment and to be able to view it from a historical perspective. A number of items I log have a fairly fast response time. The Domoticz log system only logs every 5 minutes, so many of the temp fluctuations are missed and the graphs are very "course"
Is there any way to change the log interval to log data on either a shorter interval, or perhaps a better option, when the data changes, log that change (which would then capture all the variations).
Is there any way to do this or suggestions?
Many thanks
-
- Posts: 2
- Joined: Wednesday 14 October 2015 8:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Log Interval
Same problem for me...
@sultanhq: Do you found how to do reduce log interval ?
@sultanhq: Do you found how to do reduce log interval ?
-
- Posts: 6
- Joined: Wednesday 23 July 2014 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Log Interval
Hi Fafa,
I resigned myself to just have the log miss it, sorry.
I resigned myself to just have the log miss it, sorry.
-
- Posts: 11
- Joined: Sunday 24 January 2016 17:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Log Interval
Just in case someone is interested
I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp
And then rebuilding/re-making the code
viewtopic.php?f=4&t=10183&p=73855#p73855
I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp
And then rebuilding/re-making the code
viewtopic.php?f=4&t=10183&p=73855#p73855
Who is online
Users browsing this forum: No registered users and 0 guests