Page 1 of 1

Device display labels - "Status at this moment" & "Last turned on"

Posted: Friday 29 January 2016 11:10
by markbom
This is my first post -I hope this query is posted in the correct area.

I have a couple of temperature+humidity sensors reporting successfully to Domoticz via MySensors. The device status display for my two sensors use the text labels "Status at this moment:" and "Last turned on:". I have noticed that the banner on the Domoticz home page shows sensor displays which simply use labels of "Status" and "Last seen:". And while browsing various posts in the Domoticz forums, I noticed that many posts which included screenshots of devices show similar, simplified labels. Apologies, but I'm not sure how to do a screenshot of my device display to make this easier to describe - hope it is clear enough.

My question is, is it possible for me to change the labels used in my implementation of Domoticz (v3530), from "Status at this moment:" and "Last turned on:" to "Status:" and "Last seen:".

Re: Device display labels - "Status at this moment" & "Last turned on"

Posted: Saturday 30 January 2016 19:50
by stlaha2007
To clarify... You have a few sensors on the dashboard with just Status and Last seen or your sensors with Status at... And Last turned...

Perhaps adding an Temp and Humidity from ForecastIO or WeatherUnderground first and see what these report on your Dashboard...

Having several sensors/switches etcetera and all displaying only their status and last seen.

Perhaps add a screenshot of one of your faulthy displayed sensors.

Im not familiar with MySensors, so cant tell its in the way they push data.


Grtz,
Stephan

Re: Device display labels - "Status at this moment" & "Last turned on"

Posted: Saturday 30 January 2016 20:22
by bizziebis
Those txts are coded into the CSS stylesheet of your theme. So depending on which theme you use, those texts could be different.

Re: Device display labels - "Status at this moment" & "Last turned on"

Posted: Sunday 31 January 2016 0:17
by markbom
Success! Thanks to you both for providing advice. It was indeed related to the choice of theme (one of the first things I 'messed' around with after install) I selected the default theme and got the desired result (even better, as it dropped the 'Status' label all together, which makes the display less cluttered). Thanks again.

Re: Device display labels - "Status at this moment" & "Last turned on"

Posted: Sunday 31 January 2016 9:45
by gizmocuz
Would be nice if someone could provide some JS code to patch those coded strings,
then we can add them in the translation system

Re: Device display labels - "Status at this moment" & "Last turned on"

Posted: Monday 08 February 2016 9:38
by stlaha2007
Nice to know.. Do you mean the same sort of code i-data... Which translates Temperature into Temperatuur for reports and sensorlogpage?

Have seen simular thing happening in the initial index.html and app/dashboard.js


Grtz,
Stephan

Re: Device display labels - "Status at this moment" & "Last turned on"

Posted: Monday 08 February 2016 9:48
by gizmocuz
No, that is in html code
this is inside the css code that does not use i-data