Define Title Of Current Domoticz Instance?

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
AndyWhittaker
Posts: 1
Joined: Monday 09 December 2013 14:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Macclesfield, UK
Contact:

Define Title Of Current Domoticz Instance?

Post 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
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: Define Title Of Current Domoticz Instance?

Post 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
asjmcguire
Posts: 71
Joined: Saturday 13 July 2013 2:45
Target OS: Linux
Domoticz version: 3.5877
Location: Scotland
Contact:

Re: Define Title Of Current Domoticz Instance?

Post 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?
AEOTEC ZStick, 11 ZWave Nodes, RFXCOMM, 50ish Byron Sockets.. HE851 (PIR), 2x HE852 (DoorContact)
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
Post Reply

Who is online

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