Utilities and temperatures bar indicators

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
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Utilities and temperatures bar indicators

Post by psubiaco »

Hi,
I love the Home Assistant gauge meters that shows the current power, temperature, humidity with a nice widget.
But I also love how the Domoticz reliability, even when several hundreds of devices are connected to it.
I believe that it will be nice to configure some devices in Domoticz to enable a bar widget, specifying:
* min value
* max value
* 2 or more ranges with associated color (usually green, yellow, red)
I've taken a snapshot and drawn some types of bar indicators, just to explain.
What do you think about? I know that it's easy to explain an idea, it's much much more difficult to implement it.
Thanks a lot.
domoticz_meters.png
domoticz_meters.png (73.16 KiB) Viewed 2777 times
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
rron
Posts: 223
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: Utilities and temperatures bar indicators

Post by rron »

I like the idea because you have a better overview and it looks fancy.
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Utilities and temperatures bar indicators

Post by waltervl »

Domoticz already uses the high charts javascripts for creating the graphs, they also do something like you suggested eg https://www.highcharts.com/demo/highcharts/bullet-graph
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: Utilities and temperatures bar indicators

Post by Doudy »

Hello,

Yes, but how to integrate this into Domoticz?

;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Utilities and temperatures bar indicators

Post by waltervl »

you have to know javascript and modify the appropiate javascript files in the domoticz www folder.
It perhaps also will need a database change as you have to remember the configuration per device and put those in the database.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: Utilities and temperatures bar indicators

Post by Doudy »

wow this is way too complicated for me...
:?
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
User avatar
RonkA
Posts: 95
Joined: Tuesday 14 June 2022 12:57
Target OS: NAS (Synology & others)
Domoticz version: 2023.2
Location: Harlingen
Contact:

Re: Utilities and temperatures bar indicators

Post by RonkA »

I made a crude form of bar indicator, No fancy colors, just text-based:

Buffervat_Warmtecapaciteit.JPG
Buffervat_Warmtecapaciteit.JPG (17.92 KiB) Viewed 2566 times
I made this to let people see the capacity of heat that is potentialy in the storagebuffer of my house.(if i would show them te actual numbers they have no clue.. :) )

The thin line is to display between 24 and 59 degrees, then the thicker line is to display 60 to 75 degrees.
(the value being the same at '53' is just a coincidence...)
It functions ok, only when the value changes the text-device is updated to minimize filling the log with old texts.
Once in a while i have to manualy clear the log because this is not possible to automatically by Domoticz..
Log is now cleared automatically.
Last edited by RonkA on Tuesday 23 April 2024 20:43, edited 1 time in total.
SolarEdge ModbusTCP - Open Weather Map - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: Utilities and temperatures bar indicators

Post by psubiaco »

RonkA wrote: Tuesday 12 September 2023 13:31 I made a crude form of bar indicator, No fancy colors, just text-based:
Your is a niceand tricky workaround, but the idea is to have, in your case, a normal temperature device within the bar: in this case if you click on the device you can see the chart with values of the last day, week, month, years.
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Utilities and temperatures bar indicators

Post by waltervl »

psubiaco wrote: Tuesday 12 September 2023 17:44
RonkA wrote: Tuesday 12 September 2023 13:31 I made a crude form of bar indicator, No fancy colors, just text-based:
Your is a niceand tricky workaround, but the idea is to have, in your case, a normal temperature device within the bar: in this case if you click on the device you can see the chart with values of the last day, week, month, years.
You know that temperature icons already change color based on the temperature, blue for very cold, green for cold, yellow for warm, red for hot... :)
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
RonkA
Posts: 95
Joined: Tuesday 14 June 2022 12:57
Target OS: NAS (Synology & others)
Domoticz version: 2023.2
Location: Harlingen
Contact:

Re: Utilities and temperatures bar indicators

Post by RonkA »

waltervl wrote: Tuesday 12 September 2023 19:25
You know that temperature icons already change color based on the temperature, blue for very cold, green for cold, yellow for warm, red for hot... :)
You Sir are correct!
The thing is that the colors are fixed to preset temperatures, for example:
The buffer i use is stone cold at 24 degrees;
I cannot extract any useful temperature out of it, at this temperature the icon is yellow but should be blue(or green) to be correct for this instance..
This would be nice to possible have this adjusted but it will not be done soon looking at:
https://github.com/domoticz/domoticz/issues/5718
psubiaco wrote: Tuesday 12 September 2023 17:44
Your is a nice and tricky workaround, but the idea is to have, in your case, a normal temperature device within the bar: in this case if you click on the device you can see the chart with values of the last day, week, month, years.
Oh i can see all these values in the device which is used for te data to make the text:
Buffervat_Warmtecapaciteit1.JPG
Buffervat_Warmtecapaciteit1.JPG (18.34 KiB) Viewed 2517 times
What you are suggesting would be much easier and a hole lot prettier on the eyes and would be greatly appreciated but alas it is not 'yet' possible to have this in Domoticz. Maybe in the future? :?:
I like the "Inverter - Power" one the most... 8-) pretty nice.. (one of the parameters should contain the number of segments, 36 in your example, 27 in mine..)
SolarEdge ModbusTCP - Open Weather Map - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Utilities and temperatures bar indicators

Post by waltervl »

For what is worth I use the homehabit app on my Android tablet to control and show values. It is tile based and shows values in as gauges. https://www.domoticz.com/wiki/Android#HomeHabit
Also available on IOS. But you need 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
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: Utilities and temperatures bar indicators

Post by psubiaco »

Now that setpoint device has changed in a very useful and general purpose way ( viewtopic.php?f=31&t=36200 ), I believe that a bar indicator will be very useful to display the setpoint status.
For example, if I have a device showing the target battery level for my car with range 20-100%, if the setpoint now is 60% I'd like to see a bar indicator half-filled. I think that Domoticz UI will be improved a lot with bar indicators.
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: Utilities and temperatures bar indicators

Post by psubiaco »

I opened an issue on Domoticz github with the linear bar widget feature request, hoping that someone can develop that feature to get a nicer Domoticz panel.
https://github.com/domoticz/domoticz/issues/6060
Unfortunally I'm not familiar with JavaScript and UI, so I can't help, but I've contributed with some python plugins from Domoticz ;)
https://github.com/CreasolTech?tab=repositories
Istantanea_2024-04-23_12-16-27.png
Istantanea_2024-04-23_12-16-27.png (19.73 KiB) Viewed 1660 times
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
rron
Posts: 223
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: Utilities and temperatures bar indicators

Post by rron »

I like the idea but I’ m afraid that i don’t have the qualifications to help you. The bars will give a nicer view. 8-)
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest