Topics log show in line format

Moderator: leecollings

Post Reply
Creo2005
Posts: 25
Joined: Wednesday 26 February 2020 13:39
Target OS: Linux
Domoticz version:
Contact:

Topics log show in line format

Post by Creo2005 »

Hi.
For a while I noticed that in the log is:

Code: Select all

2022-01-17 09:25:17.986 CC2652P: 30 84 01 00 1e 7a 69 67 62 65 65 32 6d 71 74 74 2f 30 78 30 0Į..zigbee2mqtt/0x0
2022-01-17 09:25:17.986 CC2652P: 30 31 35 38 64 30 30 30 31 61 34 62 35 65 35 7b 22 62 61 74 0158d0001a4b5e5{"bat
2022-01-17 09:25:17.986 CC2652P: 74 65 72 79 22 3a 31 30 30 2c 22 68 75 6d 69 64 69 74 79 22 tery":100,"humidity"
2022-01-17 09:25:17.986 CC2652P: 3a 33 34 2e 30 32 2c 22 6c 69 6e 6b 71 75 61 6c 69 74 79 22 :34.02,"linkquality"
2022-01-17 09:25:17.986 CC2652P: 3a 31 30 32 2c 22 70 72 65 73 73 75 72 65 22 3a 39 38 37 2c :102,"pressure":987,
2022-01-17 09:25:17.986 CC2652P: 22 74 65 6d 70 65 72 61 74 75 72 65 22 3a 32 31 2e 39 34 2c "temperature":21.94,
2022-01-17 09:25:17.986 CC2652P: 22 76 6f 6c 74 61 67 65 22 3a 33 30 34 35 7d .. .. .. .. .. "voltage":3045}
When it was like that:

Code: Select all

zigbee2mqtt/0x00158d0001a4b5e5{"battery":100,"humidity":34.02,"linkquality":102,"pressure":987,"temperature":21.94,"voltage":3045}
How to return the old view?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Topics log show in line format

Post by EddyG »

With what are you viewing the log file? And what program/adaptor are you using?
It is strange that the data it self is exactly the same?
Creo2005
Posts: 25
Joined: Wednesday 26 February 2020 13:39
Target OS: Linux
Domoticz version:
Contact:

Re: Topics log show in line format

Post by Creo2005 »

EddyG wrote: Monday 17 January 2022 10:18 With what are you viewing the log file? And what program/adaptor are you using?
It is strange that the data it self is exactly the same?
This log in Domoticz web gui.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Topics log show in line format

Post by EddyG »

Did you change loglevel and/or debuglevel on the commandline?
Creo2005
Posts: 25
Joined: Wednesday 26 February 2020 13:39
Target OS: Linux
Domoticz version:
Contact:

Re: Topics log show in line format

Post by Creo2005 »

EddyG wrote: Monday 17 January 2022 11:13 Did you change loglevel and/or debuglevel on the commandline?
Yes of cose, in MQTT device, but i can't get the result
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Topics log show in line format

Post by EddyG »

You were writing about the Domoticz logging, so did you change the logging level of Domoticz on the command line of Domoticz?
Or else where did you change anything in regard to logging?
Creo2005
Posts: 25
Joined: Wednesday 26 February 2020 13:39
Target OS: Linux
Domoticz version:
Contact:

Re: Topics log show in line format

Post by Creo2005 »

EddyG wrote: Monday 17 January 2022 13:04 You were writing about the Domoticz logging, so did you change the logging level of Domoticz on the command line of Domoticz?
Or else where did you change anything in regard to logging?
How to do it through command line of Domoticz?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Topics log show in line format

Post by EddyG »

Just do a 'domoticz -help' and you see all the command line options.
Those can be changed in the startup script.
As you know nothing about the command line option, it is logical that you did not change those.
What did you mean by "Yes of cose, in MQTT device, but i can't get the result"
Creo2005
Posts: 25
Joined: Wednesday 26 February 2020 13:39
Target OS: Linux
Domoticz version:
Contact:

Re: Topics log show in line format

Post by Creo2005 »

EddyG wrote: Monday 17 January 2022 13:31 Just do a 'domoticz -help' and you see all the command line options.
Those can be changed in the startup script.
As you know nothing about the command line option, it is logical that you did not change those.
What did you mean by "Yes of cose, in MQTT device, but i can't get the result"
In Domoticz Hardware I change the type of log (sorry, "MQTT" - i messed up):
- Coordinator - Debug: Verbose
(see in log: Zigbee2mqtt log level is debug) and take: @CC2652P: 30 84 01 00 1e 7a 69 67 62 65 65 32 6d 71 74 74 2f 30 78 30 0Į..zigbee2mqtt/0x0 ......"
if Debug: True -> Debug logging mask set to: PYTHON
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Topics log show in line format

Post by EddyG »

Make your self a little bit clearer, it looks to me that you mess up all kind of statements.
You write about Hardware, devices, coordinator, debug, zigbee2mqtt, logging mask, Python.
State clearly what you have and where you are talking about.
From an early post I made up that the Domoticz.log is 'screwed-up'
That is probably due to a changed debug setting.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest