Page 1 of 1

Domoticz font? possible to change?

Posted: Friday 13 January 2023 17:15
by willemd
Is it possible to switch font in Domoticz?

I want to display a table with values and words in the logfile of a text sensor, but since the current font is proportional (i.e. not every letter the same width) this is impossible to get perfect.

Re: Domoticz font? possible to change?

Posted: Friday 13 January 2023 19:36
by willemd
What I did now is replace the "Arial, Helvetica, sans-serif" font lines in style.css in the www/css folder by "monospace". This works but seems to be a bit drastic since it changes the fonts everywhere.

And I needed to replace all spaces by underscores since the json update of the text sensor apparently removes any duplicates spaces.

Anyone more into the setup of these css files for domoticz?

Re: Domoticz font? possible to change?

Posted: Sunday 15 January 2023 8:51
by kiddigital
Can you explain what table you want to display?

Maybe an example?

A table has multiple rows, which would correspond with either multiple measurement of a single device or measurements of multiple devices.

Re: Domoticz font? possible to change?

Posted: Sunday 15 January 2023 10:24
by willemd
Example below in monospace font and with spaces replaced by underscore. This is the output of my battery planning program posted earlier.
Screenshot 2023-01-15 102346.jpg
Screenshot 2023-01-15 102346.jpg (392.56 KiB) Viewed 179 times