Suggestion: current value in logfile

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Suggestion: current value in logfile

Post by Egregius »

For each event that happens there is a line in the logfile. That's great for debugging scripts etcetera.
That feature would even be more great if the current value of that device is printed.

Now I have tons of lines like

Code: Select all

2016-06-06 14:56:22.259  (ZWAVE) Temp (zolder_temp)
2016-06-06 14:56:32.384  (ZWAVE) Temp (zolder_temp)
2016-06-06 14:56:42.513  (ZWAVE) Temp (zolder_temp)
2016-06-06 14:56:52.639  (ZWAVE) Temp (zolder_temp)
2016-06-06 14:56:58.064  (ZWAVE) Temp (alex_temp)
2016-06-06 14:57:00.259  (ZWAVE) Thermostat (kamerZ)
2016-06-06 14:57:02.773  (ZWAVE) Temp (zolder_temp)
2016-06-06 14:57:55.451  (ZWAVE) Temp (tobi_temp)
2016-06-06 14:58:14.203  (ZWAVE) Thermostat (alexZ)
2016-06-06 14:59:04.922  (RFXCOM) Lighting 2 (pirlivingR)
Would be great if it could be like

Code: Select all

2016-06-06 14:56:22.259  (ZWAVE) Temp (zolder_temp) 21.2
2016-06-06 14:56:32.384  (ZWAVE) Temp (zolder_temp) 21.3
2016-06-06 14:56:42.513  (ZWAVE) Temp (zolder_temp) 21.4
2016-06-06 14:56:52.639  (ZWAVE) Temp (zolder_temp) 21.3
2016-06-06 14:56:58.064  (ZWAVE) Temp (alex_temp) 18.9
2016-06-06 14:57:00.259  (ZWAVE) Thermostat (kamerZ) 16.0
2016-06-06 14:57:02.773  (ZWAVE) Temp (zolder_temp) 21.4
2016-06-06 14:57:55.451  (ZWAVE) Temp (tobi_temp) 19.2
2016-06-06 14:58:14.203  (ZWAVE) Thermostat (alexZ) 16.0
2016-06-06 14:59:04.922  (RFXCOM) Lighting 2 (pirlivingR) On
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Suggestion: current value in logfile

Post by Bikey »

I second that.
User avatar
Mediacj
Posts: 74
Joined: Wednesday 11 February 2015 16:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Suggestion: current value in logfile

Post by Mediacj »

Yes that would be a nice feature, I use the logscreen almost dayly to check all the hardware together.
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Suggestion: current value in logfile

Post by remb0 »

you can use a lua script to put debug logs and other info or logica to an csv. and check that csv with Excel?
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Suggestion: current value in logfile

Post by pepijn »

Try the commandline parameter -verbose 1 when starting Domoticz


Verzonden vanaf mijn iPhone met Tapatalk
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Suggestion: current value in logfile

Post by Egregius »

remb0 wrote:you can use a lua script to put debug logs and other info or logica to an csv. and check that csv with Excel?
Using scripts to analyze a logfile isn't handy in real time.
When I'm scripting I mostly have a tail of the logfile on the left side of the screen and my code at the right side. That's super easy to follow what's happening.
pepijn wrote:Try the commandline parameter -verbose 1 when starting Domoticz
-verbose 1 gives a totally different logfile, I just want the current value on the same logline.

Code: Select all

 2016-06-07 07:49:00.473 (Dummy) General/Percentage (buienradar)
subtype = TEMP5 - LaCrosse TX2, TX3, TX4, TX17
Sequence nbr = 0
ID = 9217
Temperature = 24.2 C
Signal level = 12
Battery = OK
2016-06-07 07:49:00.994 (ZWAVE) Temp (badkamer_temp)
subtype = TEMP5 - LaCrosse TX2, TX3, TX4, TX17
Sequence nbr = 0
ID = 9217
Temperature = 24.2 C
Signal level = 12
Battery = OK
2016-06-07 07:49:01.679 (ZWAVE) Temp (badkamer_temp)
subtype = TEMP5 - LaCrosse TX2, TX3, TX4, TX17
Sequence nbr = 0
ID = 9217
Temperature = 24.2 C
Signal level = 12
Battery = OK
2016-06-07 07:49:01.783 (ZWAVE) Temp (badkamer_temp)
subtype = TEMP5 - LaCrosse TX2, TX3, TX4, TX17
Sequence nbr = 0
ID = 9217
Temperature = 24.2 C
Signal level = 12
Battery = OK
2016-06-07 07:49:01.965 (ZWAVE) Temp (badkamer_temp)
subtype = TEMP5 - LaCrosse TX2, TX3, TX4, TX17
Sequence nbr = 0
ID = 9217
Temperature = 24.2 C
Signal level = 12
Battery = OK
2016-06-07 07:49:02.798 (ZWAVE) Temp (badkamer_temp)
subtype = TEMP5 - LaCrosse TX2, TX3, TX4, TX17
Sequence nbr = 0
ID = 9217
Temperature = 24.2 C
Signal level = 12
Battery = OK 
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest