Page 1 of 1

Display dial for P1 Smart Meter

Posted: Saturday 30 January 2021 21:48
by langebroeck
Hello Forum,
Recently the Dashticz dashboard was introduced to me by family and now i expanded it with some features documented in the manual.
Now i am trying to make a dial view from the P1 smart meter, but i can't get it working as a dial.
I presented the same device [6] als as a graph and don't now if that is (part of) the problem.
I use the following code to present the device as dial:
blocks['p1'] = {
devices : [6],
title : 'P1 Smart Meter',
Type : 'dial',
width : 10,
min : -100,
max : 100,
showring : true,
showunit : true,
shownumbers: true,
last_update: false
}
I hope you can give me some tips to solve the problem.
Thank you in advance.
Frans

Re: Display dial for P1 Smart Meter

Posted: Saturday 30 January 2021 22:36
by Lokonli
It's case sensitive.

Use 'type' not 'Type'

Re: Display dial for P1 Smart Meter

Posted: Tuesday 09 February 2021 13:18
by langebroeck
Thank you, that worked.
I better read better next time.
Reg Frans

Re: Display dial for P1 Smart Meter

Posted: Sunday 18 September 2022 22:29
by Bospieper
Hi, I'm also trying to add the dial function to my dashticz dashboard, no luck sofar.
Need some advice in this.
The block config:

Code: Select all

blocks['Energie'] = {
     idx: [318],
     title: 'P1',
     type: 'dial',
     width: 2,
       min:   0,
       max:  2500,
       showring: true,
       showunit: true,
       shownumbers: true,
       showvalue: true
     
     
}
This is the result:
P1 dial.JPG
P1 dial.JPG (77.75 KiB) Viewed 1838 times

Re: Display dial for P1 Smart Meter

Posted: Monday 19 September 2022 19:34
by Lokonli
Bospieper wrote: Sunday 18 September 2022 22:29 Hi, I'm also trying to add the dial function to my dashticz dashboard, no luck sofar.
Need some advice in this.
The block config:

Code: Select all

blocks['Energie'] = {
     idx: [318],
     title: 'P1',
     type: 'dial',
     width: 2,
       min:   0,
       max:  2500,
       showring: true,
       showunit: true,
       shownumbers: true,
       showvalue: true
     
     
}
This is the result:
P1 dial.JPG
idx should not be an array, but just a number, like:

Code: Select all

  idx: 318,
 

Re: Display dial for P1 Smart Meter

Posted: Monday 19 September 2022 20:27
by Bospieper
Hi Lonkonli,
Unfortunately no change after adjusting the idx
Piet

Re: Display dial for P1 Smart Meter

Posted: Monday 19 September 2022 23:11
by Lokonli
How did you add the block to a column?
You should use 'Energie'



Verstuurd vanaf mijn SM-A526B met Tapatalk



Re: Display dial for P1 Smart Meter

Posted: Tuesday 20 September 2022 19:22
by Bospieper
Knipsel.JPG
Knipsel.JPG (17.42 KiB) Viewed 1771 times
Thanx :D