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
Display dial for P1 Smart Meter Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 4
- Joined: Wednesday 28 October 2015 10:19
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Display dial for P1 Smart Meter
It's case sensitive.
Use 'type' not 'Type'
Use 'type' not 'Type'
-
- Posts: 4
- Joined: Wednesday 28 October 2015 10:19
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Display dial for P1 Smart Meter
Thank you, that worked.
I better read better next time.
Reg Frans
I better read better next time.
Reg Frans
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Display dial for P1 Smart Meter
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:
This is the result:
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
}
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Display dial for P1 Smart Meter
idx should not be an array, but just a number, like: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:This is the result: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 }
P1 dial.JPG
Code: Select all
idx: 318,
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Display dial for P1 Smart Meter
Hi Lonkonli,
Unfortunately no change after adjusting the idx
Piet
Unfortunately no change after adjusting the idx
Piet
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Display dial for P1 Smart Meter
How did you add the block to a column?
You should use 'Energie'
Verstuurd vanaf mijn SM-A526B met Tapatalk
You should use 'Energie'
Verstuurd vanaf mijn SM-A526B met Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest