For my dynamic energy contract it would be nice to have the Dasthicz background green if currentkWh price is lower than average.
I am no CSS master, but working in dzVents is no problem.
can you help?
An alternative scale 0-100 red -green based on a dummy dimmer status would also be nice. But simple on/off red/green boolean is also ok
red or green background based on kWh price?
Moderators: leecollings, htilburgs, robgeerts
- Xenomes
- Posts: 379
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: red or green background based on kWh price?
You can use this function of Dashticz.
https://dashticz.readthedocs.io/en/mast ... tomjs.html
https://dashticz.readthedocs.io/en/mast ... tomjs.html
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Re: red or green background based on kWh price?
Thank you, this looks like half of the solution.Xenomes wrote: ↑Thursday 27 July 2023 9:36 You can use this function of Dashticz.
https://dashticz.readthedocs.io/en/mast ... tomjs.html
Missing is the option to change color of the ENTIRE dashticz background, not just background of single device
- Xenomes
- Posts: 379
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: red or green background based on kWh price?
You need to find the correct class to manipulate the color, in your browser hit F12 and you see the built of the page and you will see/find the class complete page.
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Who is online
Users browsing this forum: No registered users and 0 guests