Dashticz 3.5.2 Beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Lokonli »

Vomera wrote: Thursday 30 July 2020 16:02 Hi! Can you plesae update the fontawsome to 5.14.0 ? I wanted to make a corona dashboard and there are some icons that are added in the 5.14.0 but 5.13.0 is installed. Tried to manually update the svg files, but would not help, file names are coded. :)
In latest beta FontAwesome has been updated to 5.14.0
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Vomera »

Many thanks for that !
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Vomera »

Hi (AGAIN sorry for that)

I have installed a water meter in domoticz.

Image

I want to show this in domoticz. It shows only the total m3 i used, but not the daily. 0.025m3

Image

I used the codes _1 _2 _3 but doesnt show the other values

Image

As you can see you see only the total stats.

Here is the json output of domoticz

Image

Could it be that the counter incremental not is coded in dashtics ?
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Lokonli »

Defining the value and unit parameter might work for water devices. Try the following: (sorry, can't test myself at the moment

Code: Select all

blocks[11831] = {
    value: '<CounterToday>',
    unit: '',
}
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Vomera »

Image

it works, it only converted to 0,03 m3 instead of 0,025m3. So i will see only the 10 20 30 40 50 liters.

Is it possible to calculate it to liters ?

edit: tried with the format option mentioned on the docs below. Button won't change and stay the same

https://dashticz.readthedocs.io/en/beta ... formatting
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Lokonli »

Vomera wrote: Thursday 13 August 2020 16:06 Image

it works, it only converted to 0,03 m3 instead of 0,025m3. So i will see only the 10 20 30 40 50 liters.

Is it possible to calculate it to liters ?

edit: tried with the format option mentioned on the docs below. Button won't change and stay the same

https://dashticz.readthedocs.io/en/beta ... formatting
Try adding the following to the block definition:

Code: Select all

   decimals: 3
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Vomera »

Image
Cool it works, i tried also to convert it to liters, but it is impossible (tried also some graph parameters hoping that it will work only on block parameter)
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by madradrakie »

do you know if the garbage provider of Almere is changed? Since two weeks it shows Black (zwart) for GFT. Thanks in advance.
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by Lokonli »

madradrakie wrote: Wednesday 19 August 2020 21:36 do you know if the garbage provider of Almere is changed? Since two weeks it shows Black (zwart) for GFT. Thanks in advance.
First disable garbage name mapping, by adding the following to CONFIG.js:

Code: Select all

config['garbage_use_names'] = 0;
If you then refresh Dashticz you see that Almere uses 'DUO' as garbage type.

In the default name mapping DUO doesn't exist. You can add the mapping from DUO to Gft by redefining garbage_mapping in CONFIG.js as follows:

Code: Select all

config['garbage_mapping'] = {
    rest: ['grof', 'grey', 'rest', 'grijs', 'grijze'],
    gft: [
      'gft',
      'tuin',
      'refuse bin',
      'green',
      'groen',
      'Biodégradables',
      'snoei',
      'duo'
    ],
    pmd: ['plastic', 'pmd', 'verpakking', 'kunststof', 'valorlux'],
    papier: ['papier', 'blauw', 'blue', 'recycling bin collection'],
    kca: ['chemisch', 'kca', 'kga'],
    brown: ['brown', 'verre'],
    black: ['black', 'zwart'],
    milieu: ['milieu'],
    kerstboom: ['kerst'],
    aeea: ['aeea'],
    textiel: ['textiel'],
    sorti: ['sorti'],
  };
Don't forget to enable name_mapping again:

Code: Select all

config['garbage_use_names'] = 1;
Is DUO one container with GFT and rest, or are this two containers?
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: Dashticz 3.5.2 Beta

Post by madradrakie »

thanks Lokonli for your help again. I will remember this trick for the next time the module is not working.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests