Page 1 of 1

Disable "Last Seen" on switches

Posted: Saturday 30 December 2017 9:12
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.

Re: Disable "Last Seen" on switches

Posted: Saturday 30 December 2017 9:24
by SweetPants
you can't as far as i know

Re: Disable "Last Seen" on switches

Posted: Saturday 30 December 2017 15:54
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 ... :)

Re: Disable "Last Seen" on switches

Posted: Saturday 30 December 2017 16:59
by Egregius
You can remove the entries from the database.

Re: Disable "Last Seen" on switches

Posted: Saturday 30 December 2017 17:03
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

Re: Disable "Last Seen" on switches

Posted: Wednesday 03 January 2018 9:57
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.

Re: Disable "Last Seen" on switches

Posted: Tuesday 09 January 2018 16:34
by blauwebuis
The new Aurora theme has privacy options based on this issue.