Page 1 of 1

hide_data / show_lastupdate

Posted: Monday 20 April 2020 13:23
by webrazor
for some reason the hide_data / show_lastupdate is not working anymore. Can't get is to work on any of the blocks.
For example this is a temperature block i have hide_data = true and show_lastupdate = false but both are still shown.
i'm running latest 2020.1 Domoticz and 3.3.3.1 Dashticz.

Image

CONFIG.js

Code: Select all

blocks['35'] = {} 
blocks['35']['width'] = 6;
blocks['35']['hide_data'] = true; //if you want to hide the data of this block
blocks['35']['show_lastupdate'] = false; //if you want to show the last update specific for this block
anyone any idea?

Re: hide_data / show_lastupdate

Posted: Monday 20 April 2020 19:55
by Nefsolive
Can you update for the version 3.4.4?

I use the blocks like;
blocks[511] = {width: 6, icon: 'far fa-lightbulb', last_update : false, hide_data : true}

and work great!

Maybe you need update.

Cump.

Re: hide_data / show_lastupdate

Posted: Monday 20 April 2020 21:31
by Lokonli
The parameter is indeed last_update, not show_lastupdate, to hide the last update info.

It's not possible to hide the value of a temperature device via the hide_data parameter (because then it'wouldn't make sense to show the temperature device) : it's only possible for switches.

Re: hide_data / show_lastupdate

Posted: Tuesday 21 April 2020 9:23
by webrazor
Both thanks for your response, i missed out on the change of name "show_lastupdate" to "last_update this fixed the problem.