Disable "Last Seen" on switches

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
jpaul
Posts: 8
Joined: Saturday 30 December 2017 8:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Disable "Last Seen" on switches

Post by jpaul »

Hi,

I use Domoticz v3.8796.
To preserve the peace and the privacy into my home, I'd like to disable switches log, and specifically the "Last Seen" info and the log buttons.

In "Setup / Settings" I set "Log History" for "Light/Switches" to 0 day, but it does not produce the expected result.

Do you know any way to achieve this need ?
Thanks.
SweetPants

Re: Disable "Last Seen" on switches

Post by SweetPants »

you can't as far as i know
jpaul
Posts: 8
Joined: Saturday 30 December 2017 8:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Disable "Last Seen" on switches

Post by jpaul »

So my quick&dirty is to hide these infos by adding this in css/legacy.css

Code: Select all

#dashSwitches #lastupdate {
     display: none;
}

#itemtablenostatus #lastupdate {
    display: none;
}

#itemtablenostatus .btnsmall[data-i18n="Log"] {
    display: none;
}
and not checking the log file when my kids tell me the time they came back last night ... :)
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Disable "Last Seen" on switches

Post by Egregius »

You can remove the entries from the database.
SweetPants

Re: Disable "Last Seen" on switches

Post by SweetPants »

jpaul wrote: Saturday 30 December 2017 15:54 So my quick&dirty is to hide these infos by adding this in css/legacy.css

Code: Select all

#dashSwitches #lastupdate {
     display: none;
}

#itemtablenostatus #lastupdate {
    display: none;
}

#itemtablenostatus .btnsmall[data-i18n="Log"] {
    display: none;
}
and not checking the log file when my kids tell me the time they came back last night ... :)
That's one way, but i don't know what will happen after an update
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Disable "Last Seen" on switches

Post by dannybloe »

Interesting issue. I must admit that at times I use the log to see what time people come home (kids) or go to sleep. What is your situation that you want to have hidden? Just curious.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Disable "Last Seen" on switches

Post by blauwebuis »

The new Aurora theme has privacy options based on this issue.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest