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.
Domoticz font? possible to change?
Moderators: leecollings, remb0
-
willemd
- Posts: 739
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Domoticz font? possible to change?
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?
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?
- kiddigital
- Posts: 447
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz font? possible to change?
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.
Maybe an example?
A table has multiple rows, which would correspond with either multiple measurement of a single device or measurements of multiple devices.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
-
willemd
- Posts: 739
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Domoticz font? possible to change?
Example below in monospace font and with spaces replaced by underscore. This is the output of my battery planning program posted earlier.
Who is online
Users browsing this forum: No registered users and 1 guest