Page 1 of 1

Define Title Of Current Domoticz Instance?

Posted: Friday 26 February 2016 10:50
by AndyWhittaker
Hi,

I run several different Domoticz instances with the RaspberryPis I have. However when they are running, it's not easy to distinguish between the different types. What I do at the moment is edit the index.html in the www directory and edit the <title> "...."</title> every time the Domoticz software is updated.

My thoughts are can we define a variable in domoticz.sh that is used for the title bar instead? Although the obvious problem is domoticz.sh might get overwritten each time too!

Just a thought for this wonderful software.....

Andy

Re: Define Title Of Current Domoticz Instance?

Posted: Friday 26 February 2016 11:49
by stlaha2007
I would vote +1. Something based on hostname or fqdn when using full dns inhouse very appriciated.

However as a current workaround:

Im using ThinkPads Theme. In his custom.css around line 300 theres is a line with "content: 'ThinkThrme by ThinkPad'. I have modified this to include my name to identify my slightly modified version of his Theme.

I'm not sure every theme has that line but will give you the option for the moment, just copy your used theme and modify it to your likings and select that theme.

Grtz,
Stephan

Re: Define Title Of Current Domoticz Instance?

Posted: Saturday 12 March 2016 3:44
by asjmcguire
What if instead of a variable in domoticz.sh it was a uservariable that the domoticz javascript would check exists and change the title dynamically once the page is loaded?