Enable copying log from webinterface Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
zwartje
Posts: 15
Joined: Thursday 09 May 2019 16:07
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Enable copying log from webinterface

Post by zwartje »

Since the januari 22 update I can no longer select and copy the text from the log interface.

This is quite annoying while troubleshooting and programming, also because the log is not indefinitely displayed in this interface.

And screenshots seem overkill for this purpose.
Ubuntu + Docker, RFXtrx433e, P1, KlikaanKlikuit, Xiaomi, Somfy, ESP(easy), Tasmota, Zigbee2MQTT/MQTT-Auto, Unifi
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Enable copying log from webinterface

Post by waltervl »

Solved in latest beta's (14277 and 14281) so will be in the next stable when released.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
zwartje
Posts: 15
Joined: Thursday 09 May 2019 16:07
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Enable copying log from webinterface

Post by zwartje »

Unfortunately the default is still that you cannot select logs to copy-paste them.

Found how to solve it: (make a backup (of at least that file) first! I am not to be held responsible if you mess up)

find your www folder for domoticz (default for rpi: ~/domoticz/www)

open your index.html, find 'noselect' with your favorite editor (nano: ctrl-W, noselect, enter) and change the 'no' to 'force'.
So it will read 'forceselect'.

Save the file and refresh your browser. My HomeAutomation life just became a lot easier again :)
Ubuntu + Docker, RFXtrx433e, P1, KlikaanKlikuit, Xiaomi, Somfy, ESP(easy), Tasmota, Zigbee2MQTT/MQTT-Auto, Unifi
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Enable copying log from webinterface

Post by waltervl »

What version are you on now? It should be solved in 2022.2
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
zwartje
Posts: 15
Joined: Thursday 09 May 2019 16:07
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Enable copying log from webinterface

Post by zwartje »

Sorry, I figured it was obvious I meant after the last update 2022.2.

Still experienced it so got frustrated and went debugging in the browser. Should have done that last year, would have saved me a lot of annoyance.
Ubuntu + Docker, RFXtrx433e, P1, KlikaanKlikuit, Xiaomi, Somfy, ESP(easy), Tasmota, Zigbee2MQTT/MQTT-Auto, Unifi
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Enable copying log from webinterface

Post by waltervl »

It is always good to be clear: Are you talking about the Domoticz log page menu Setup Log (that has been fixed) or the log page of a device after clicking on the log button on a device widget?

Last part has not been fixed as it was set to noselect on purpose for better using with touch screens.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
rrozema
Posts: 470
Joined: Thursday 26 October 2017 13:37
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Delft
Contact:

Re: Enable copying log from webinterface

Post by rrozema »

zwartje wrote: Monday 02 January 2023 15:58 Unfortunately the default is still that you cannot select logs to copy-paste them.

Found how to solve it: (make a backup (of at least that file) first! I am not to be held responsible if you mess up)

find your www folder for domoticz (default for rpi: ~/domoticz/www)

open your index.html, find 'noselect' with your favorite editor (nano: ctrl-W, noselect, enter) and change the 'no' to 'force'.
So it will read 'forceselect'.

Save the file and refresh your browser. My HomeAutomation life just became a lot easier again :)
Thanks a lot
zwartje
Posts: 15
Joined: Thursday 09 May 2019 16:07
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Enable copying log from webinterface

Post by zwartje »

waltervl wrote: Monday 02 January 2023 22:34 It is always good to be clear: Are you talking about the Domoticz log page menu Setup Log (that has been fixed) or the log page of a device after clicking on the log button on a device widget?

Last part has not been fixed as it was set to noselect on purpose for better using with touch screens.
Agree, so easy to forget.

I am talking about the "/#/Log" page as well as the devices "/#/Devices" page. Both are affected by changing the index.html.

Not sure why I still experienced it after the update but changing the index.html fixed it immediately, no cache issue (just refresh the page).

I noticed I can also select the device name on the device log page but thats the only item there and I cannot see what that would break on a touch screen but I will try that out, hopefully tonight.
Ubuntu + Docker, RFXtrx433e, P1, KlikaanKlikuit, Xiaomi, Somfy, ESP(easy), Tasmota, Zigbee2MQTT/MQTT-Auto, Unifi
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest