🌙 Nightglass Theme (WIP)

Moderator: leecollings

User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

🌙 Nightglass Theme (WIP)

Post by galadril »

This is very much a work in progress theme.
I’m experimenting with styling approaches, icon mapping, and improving the overall UX without breaking existing functionality.

More info and demo here
https://galadril.github.io/Domoticz-Nightglass-Theme/

👉 Issues / feature requests:
Please register them here
https://github.com/galadril/Domoticz-Ni ... eme/issues

🔗 Feedback & Ideas
I’d love to get feedback, ideas, or suggestions from you all!
Last edited by galadril on Saturday 23 May 2026 10:53, edited 5 times in total.
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
madpatrick
Posts: 889
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2026.1
Location: Netherlands
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by madpatrick »

Cool.
Just tried it and works nice
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2026.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
waltervl
Posts: 7020
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by waltervl »

Thanks, going to check this out very soon.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

Great. I did some more fixes and visual adjustments today :D

Added:
Add temperature-, weather-, and sensor-driven accent coloring to device cards based on their readings.
Add sparkline micro-charts as subtle card background visualizations for sensor history.
Add a keyboard-driven search overlay and numeric shortcuts to quickly navigate and locate device cards.
Add 3D tilt interactions on cards and visual flashes when device state changes.

Enhancements/Fixes:
Mark stale devices based on last-update timestamps with a subtle pulsing indicator dot.
Enhance device icons with context-appropriate animations while active (spin, flicker, pulse).
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
imautohuttraeger
Posts: 413
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by imautohuttraeger »

Great! Really appreciate it.

Shall the extra line for type indication, e.g.

"Type: Color Switch, RGBWW, Dimmer"

remain this way? If not, I would prefer to have it back beside the icon and the status (e.g. "66%") back beside the name. So the hight of the tile would be smaller again.

Please advice if such a feedback might be needless in this early stage.
Attachments
Screenshot_20260413-184257.png
Screenshot_20260413-184257.png (56.11 KiB) Viewed 186411 times
Screenshot_20260413-182223.png
Screenshot_20260413-182223.png (41.33 KiB) Viewed 186419 times
Stop, look and listen.
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

imautohuttraeger wrote: Monday 13 April 2026 18:27 Please advice if such a feedback might be needless in this early stage.
Yes thats fine/good.
I do need to weight in my own opinions ofcourse as well, as theme/style is mostly a matter of taste i guess ;)

But thanks!
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
waltervl
Posts: 7020
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by waltervl »

I like it. Some feedback:
- I see some question marks before my temperature readings. Also minus sign where it should be no sign (or +)
- The temperature graph in the widget is nice but should be highlighted more for better visibility
- That graph in the background of the widget should also be shown when you use the widget in the new dashboard functionality. It currently does not.

Schermafbeelding 2026-04-14 002811.png
Schermafbeelding 2026-04-14 002811.png (54.52 KiB) Viewed 186347 times
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

waltervl wrote: Tuesday 14 April 2026 0:32 I like it. Some feedback:
Thanks!
waltervl wrote: Tuesday 14 April 2026 0:32 - I see some question marks before my temperature readings. Also minus sign where it should be no sign (or +)
That icon tries to show a trend, see
https://github.com/user-attachments/ass ... 9432486054
so it shows going up, or the flat line means stable, or going down (red icon).
Question mark, then it can determine.. but maybe this was not clear enough or does not work good enough ;)

I've just improved this a bit on the current/latest version, please update

waltervl wrote: Tuesday 14 April 2026 0:32 - The temperature graph in the widget is nice but should be highlighted more for better visibility
Maybe on focus with mouse make the graph a bit more visible?
Because i was playing with this and it became quite overwelming/busy as well. WDYT
waltervl wrote: Tuesday 14 April 2026 0:32 - That graph in the background of the widget should also be shown when you use the widget in the new dashboard functionality. It currently does not.
With what widget?
Because it was working on the favorites new dashboard widget
https://github.com/user-attachments/ass ... cf632b5376




Other then that, ive pushed a new version with various changes i worked on last night.
Also revamped the visuals of the menu/submenu's a bit
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
JayDotR
Posts: 51
Joined: Thursday 02 January 2025 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Lux
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by JayDotR »

very nice one !
--
Domoticz Beta on raspberry3b, and raspberry4(b) on Rasbian Trixie / Python 3.13 / 64 bit
Using: PiHole, SolarEdge Modbus, Sainlogic / Weather Underground, MQTT, Fritzbox, P1 Meter(s), dzvents Scripting
https://www.github.com/janreimen/
User avatar
imautohuttraeger
Posts: 413
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by imautohuttraeger »

Icon to change dark mode and light mode is overlapping with general settings gear symbol (see screenshots from cellphone with android chrome).
Attachments
Screenshot_20260414-153630~2.jpg
Screenshot_20260414-153630~2.jpg (2.24 KiB) Viewed 186260 times
Screenshot_20260414-152947.png
Screenshot_20260414-152947.png (68.58 KiB) Viewed 186263 times
Stop, look and listen.
User avatar
HansieNL
Posts: 994
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by HansieNL »

I got the same problem as @imautohuttraeger , but then with my iPad
And the custom menu is behind the rest if selected, so can't be really used.
Schermafbeelding 2026-04-14 om 19.22.22.jpg
Schermafbeelding 2026-04-14 om 19.22.22.jpg (293.43 KiB) Viewed 186239 times
Hope this can be fixed so theme can be really used on iPad.
Thank you.
Last edited by HansieNL on Wednesday 15 April 2026 19:49, edited 1 time in total.
Blah blah blah
User avatar
waltervl
Posts: 7020
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by waltervl »

galadril wrote: Tuesday 14 April 2026 8:52
Other then that, ive pushed a new version with various changes i worked on last night.
Also revamped the visuals of the menu/submenu's a bit
Thanks, all working correctly now!
The hoover mouse over the widget to see the backround graphs better is not it for me.
The complete hoover function could be deleted for me..... Especially when used on a tablet.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
imautohuttraeger
Posts: 413
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by imautohuttraeger »

BTW: I do like the red dot in the top right corner of a device if there is a time out state.
Stop, look and listen.
domcars0
Posts: 20
Joined: Thursday 03 August 2017 22:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.2
Location: France
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by domcars0 »

Hello. I just tried out this new theme, and I have to say I really like it. It’s a superb piece of work. Since the Aurora theme no longer works on the latest versions of Domoticz, the Nightglass Theme seems like a very strong contender to replace it. I hope Nightglass has as long a lifespan as Aurora... or even longer ;) ! Thank you very much. I’ll be sure to provide feedback if needed.
domcars0
Posts: 20
Joined: Thursday 03 August 2017 22:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.2
Location: France
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by domcars0 »

Hi,
Just found a small bug in the custom.js
// Base path: strips the hash and trailing filename, keeps the directory
// e.g. "http://server:8080/" → ""
// "http://server/domoticz/" → "domoticz/"

But in fact, I think it must be
// "http://server/domoticz/" → "/domoticz/"


On my server with 2 URL access ( http:// domoticz.local:8080 and http:// myserver.mydomain/domoticz ) the widget highcharts backgrounds works well with the domoticz.local URL, but does not work with the myserver.mydomain/domoticz URL if the BASE function returns "domoticz/" but works well if it returns "/domoticz/"

So I think that in the BASE function

Code: Select all

var BASE = (function () {
        // var p = window.location.pathname.replace(/\/[^/]*$/, '/').replace(/^\//, '');
        var p = window.location.pathname.replace(/\/[^/]*$/, '/')
should be enough ?

Thanks
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

imautohuttraeger wrote: Wednesday 15 April 2026 12:58 BTW: I do like the red dot in the top right corner of a device if there is a time out state.
Cool Thanks
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

HansieNL wrote: Tuesday 14 April 2026 19:51 I got the same problem as @imautohuttraeger , but then with my iPad
imautohuttraeger wrote: Tuesday 14 April 2026 15:34 Icon to change dark mode and light mode is overlapping with general settings gear symbol (see screenshots from cellphone with android chrome).
This should be better on the latest version
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
imautohuttraeger
Posts: 413
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by imautohuttraeger »

Yes, confirm it is perfectly fixed. Thx!
Stop, look and listen.
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

It would be verify helpful if we create the issues/feature requests here btw:
https://github.com/galadril/Domoticz-Ni ... eme/issues

Thanks!
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 853
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: 🌙 Nightglass Theme (WIP)

Post by galadril »

Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Post Reply