Dial with battery level

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Dial with battery level

Post by michelscholte »

I've got several dials for every temp sensor. Is it possible to add the battery level to a dial block?
For example:
Attachments
Knipsel.JPG
Knipsel.JPG (15.52 KiB) Viewed 534 times
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dial with battery level

Post by Lokonli »

I can add that in a next release.

I could add the battery level indicator within the dial just below the date. Would that be OK? Or do you prefer outside the dial as in your picture?


Verstuurd vanaf mijn SM-A526B met Tapatalk

michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: Dial with battery level

Post by michelscholte »

Hi Lokonli,

I prefer it outside the dial, otherwise the data in the dial wil be less orderly on my 7" tablet. :-) If it is possible of course.


Thank you in advance.
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dial with battery level

Post by Renber »

I am also interested. But I would prefer in the (cleaner) dial. Below the name, there is a little space, right?
Otherwise do both ;-)
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dial with battery level

Post by Krenstik »

if anyone is interested:

Image
Renber
Posts: 41
Joined: Thursday 04 February 2021 8:10
Target OS: Linux
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dial with battery level

Post by Renber »

I am, but how do you do it?
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dial with battery level

Post by Krenstik »

blocks['pco'] = { idx: 43, decimals: 0 , type: 'dial', width: 2, title: 'Pracovna', showunit: true,
shownumbers: true, showring: true, last_update: true, setpoint: 1400, min: 400, max: 2700, color: '#26e500',
values : [
{ value: 'Quality',label:'status', type: 'text', idx: 43 ,addClass: 'w100' },
{ value: 'BatteryLevel', idx: 43 , unit:' %', icon: 'fas fa-battery-full', }, ]} //
michelscholte
Posts: 75
Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: Dial with battery level

Post by michelscholte »

Krenstik,

Thanks a lot for this suggestion. Unfortunately wil this not change the icon when the battery level is changed. But it is a nice workaround for the moment. Hopefully Lokonli will make the possibility for us with a simple option within the config.js file.
But still thanks for your response.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest