This looks really nice, if this could be implemented.
Dashticz Dial - Features, Fixes & Updates
Moderators: leecollings, htilburgs, robgeerts
- gielie
- Posts: 290
- Joined: Tuesday 12 January 2016 11:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest β
- Location: The Netherlands (Alkmaar)
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
I second that
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Progress has been slow, its been manic at work - no excuse
I have added dial numbers, as an optional parameter, based on the min/max range (also optional parameters). It is still work in progress, but I thought I would share some screenshots of how its shaping up.
Evohome, Heating, Thermostat or Toon dial:
There is also an optional "setpoint" parameter than you can add to the following dials. This will control what ring color is displayed. For example, I have "setpoint: 15" in the dials below. If its above 15 degrees, it will show orange (or any custom color). If below, it will show blue (or any custom color).
"Temp + Humidity" dial:
"Temp + Humidity + Baro" dial:
"Wind" dial: this took a bit of effort, as its a 360 degree dial. I had added an 'offset' parameter so the dial needle can either point towards where the wind originates from, or the direction it is blowing in. Personally, I prefer the latter (which what is set below). It also uses the wind unit if set in Domoticz. Mine is set to "mph". Like above, because its above 15 degrees temperature, the dial ring is orange. That can be toggled on or off in the block.
"Dimmer" dial (on): nothing really new here, except the numbers.
"On/Off" dial (left = off, right = on): this is a new block I am working on specifically for "On/Off" devices. Technically, it isn't a dial, but I want all my switches/dials to match
Obviously, these are configured to my settings, the decimal for example is a dot on mine. But for all you NL folks, it will show a comma. All icons can be replaced on the block, with other icons or images. These are not finished yet, so they won't be in the beta for a while yet.
Cheers
I have added dial numbers, as an optional parameter, based on the min/max range (also optional parameters). It is still work in progress, but I thought I would share some screenshots of how its shaping up.
Evohome, Heating, Thermostat or Toon dial:
There is also an optional "setpoint" parameter than you can add to the following dials. This will control what ring color is displayed. For example, I have "setpoint: 15" in the dials below. If its above 15 degrees, it will show orange (or any custom color). If below, it will show blue (or any custom color).
"Temp + Humidity" dial:
"Temp + Humidity + Baro" dial:
"Wind" dial: this took a bit of effort, as its a 360 degree dial. I had added an 'offset' parameter so the dial needle can either point towards where the wind originates from, or the direction it is blowing in. Personally, I prefer the latter (which what is set below). It also uses the wind unit if set in Domoticz. Mine is set to "mph". Like above, because its above 15 degrees temperature, the dial ring is orange. That can be toggled on or off in the block.
"Dimmer" dial (on): nothing really new here, except the numbers.
"On/Off" dial (left = off, right = on): this is a new block I am working on specifically for "On/Off" devices. Technically, it isn't a dial, but I want all my switches/dials to match
Obviously, these are configured to my settings, the decimal for example is a dot on mine. But for all you NL folks, it will show a comma. All icons can be replaced on the block, with other icons or images. These are not finished yet, so they won't be in the beta for a while yet.
Cheers
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 184
- Joined: Wednesday 06 September 2017 9:11
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Wow that looks very cool clinkadin!
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Indeed, looks cool. Can't wait for them to show up
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 75
- Joined: Sunday 30 November 2014 8:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Hoorn, Netherlands
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Yes it looks coooool, the wind and direction (hopefully with an option to set 'knots') and the thermostat with the decimal. Can't wait
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
The wind unit of measurement can be set in Domoticz. Dashticz then uses this in the Wind dial. Mine is set to MPH but you can set yours to knots.
The dials will round to the nearest 1 decimal place where needed. The decimal format will either show a dot or a comma depending on your language setting in CONFIG.js.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Apologies for the delay in this. My server crashed, had to rebuild it - and work (day job) is taking over my life
I don't have a P1 Smart Meter, but I see a lot of them in Domoticz and Dashticz. I added one as a dummy device and reconfigured the Dial code for it. I am guessing that people would want to see the "Today" counters, rather than the total counter, or current usage. If not let me know, currently, it is using CounterDelivToday and CounterToday.
P1 Smart Meter - Today's energy consumption is more than production
P1 Smart Meter - Today's energy production is more than consumption
I don't have a P1 Smart Meter, but I see a lot of them in Domoticz and Dashticz. I added one as a dummy device and reconfigured the Dial code for it. I am guessing that people would want to see the "Today" counters, rather than the total counter, or current usage. If not let me know, currently, it is using CounterDelivToday and CounterToday.
P1 Smart Meter - Today's energy consumption is more than production
P1 Smart Meter - Today's energy production is more than consumption
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Looks great.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
The dial component has been updated in the latest beta today.
In addition to devices supported already, which are:
- Type = 'Heating'
- Type = 'Thermostat'
- SubType = 'SetPoint'
- SubType = 'Evohome'
- SwitchType = 'Selector'
- SwitchType = 'Dimmer'
These new devices supported:
- SwitchType = 'On/Off'
- Type = 'Temp + Humidity'
- Type = 'Temp + Humidity + Baro'
- Type = 'Wind'
- Type = 'P1 Smart Meter'
SwitchType = 'On/Off' - any devices with this switchtype and type: 'dial' will automatically render as a dial button.
Type = 'Temp + Humidity' - will display temperature as the main value and humidity as extra info below. There is enough room to display last_update with this dial.
Type = 'Temp + Humidity + Baro' - similar to above, but with Baro as extra info too. Last_update can be added but it is a tight fit.
Type = 'Wind' - this dial has a 360 degree range (like a compass). The wind direction can be set to point to where the wind is blowing from or to, by using the new "offset" parameter. Below I have set the dial to point to which direction the wind is blowing.
Type = 'P1 Smart Meter' - currently this is configured to use the "Today" counters; CounterDelivToday and CounterToday, i.e. production vs consumption. Unlike any other dial, zero is at "12 o'clock" (instead of the tradional dial which starts at "7 o'clock").
P1 Smart Meter - Today's energy production is more than consumption:
Custom styling using custom.css below.
In addition to devices supported already, which are:
- Type = 'Heating'
- Type = 'Thermostat'
- SubType = 'SetPoint'
- SubType = 'Evohome'
- SwitchType = 'Selector'
- SwitchType = 'Dimmer'
These new devices supported:
- SwitchType = 'On/Off'
- Type = 'Temp + Humidity'
- Type = 'Temp + Humidity + Baro'
- Type = 'Wind'
- Type = 'P1 Smart Meter'
SwitchType = 'On/Off' - any devices with this switchtype and type: 'dial' will automatically render as a dial button.
- Spoiler: show
Type = 'Temp + Humidity' - will display temperature as the main value and humidity as extra info below. There is enough room to display last_update with this dial.
- Spoiler: show
Type = 'Temp + Humidity + Baro' - similar to above, but with Baro as extra info too. Last_update can be added but it is a tight fit.
- Spoiler: show
Type = 'Wind' - this dial has a 360 degree range (like a compass). The wind direction can be set to point to where the wind is blowing from or to, by using the new "offset" parameter. Below I have set the dial to point to which direction the wind is blowing.
- Spoiler: show
Type = 'P1 Smart Meter' - currently this is configured to use the "Today" counters; CounterDelivToday and CounterToday, i.e. production vs consumption. Unlike any other dial, zero is at "12 o'clock" (instead of the tradional dial which starts at "7 o'clock").
- Spoiler: show
P1 Smart Meter - Today's energy production is more than consumption:
Custom styling using custom.css below.
- Spoiler: show
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
I guess I did something wrong
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Please can you CTRL + F5 .... reset browser cache and/or try in an incognito tab.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Strange, in incognitomode it works withoud problems, but not in the normal chrome mode.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Yes, that occasionally happens with browsers when there have been a lot of CSS changes. The dials have lots of styling. The browser caches this styling so you don't have to reload the CSS file each time. The only downside is that sometime its too clever. Hence you need to clear your browser cache for that page. Holding down CTRL + F5 should work too. As that is basically what incognito mode does ... loads a page with zero cache.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
On my Mac it worked a bit differently, but in the end it got fixed.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Glad its now working
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
Hi Guys,\I am really looking forward to use this dail as this is a great feature!
although I can't seem to get it to work with one of my dimmers
when I edit the Config file with the following:
I still get the normal slide instead of the nice looking dial.
Can anyone tell me what I am doing wrong?
thnx in advanced!
although I can't seem to get it to work with one of my dimmers
when I edit the Config file with the following:
Code: Select all
blocks['Keuken-Eiland']= {}
blocks['Keuken-Eiland'] ['title'] = 'Keuken-Eiland', // title that will appear on the dial (mandatory)
blocks['Keuken-Eiland'] ['type'] = 'dial', // indentifies this block as a dial (mandatory)
blocks['Keuken-Eiland'] ['width'] = 3, // dial width (optional, default 3)
blocks['Keuken-Eiland'] ['height'] = 250, // dial height (optional, default based on width)
blocks['Keuken-Eiland'] ['color'] = '#57c4d6' // color theme for the dial (default orange)
blocks['Keuken-Eiland'] ['last_update'] = true, // shows last update info (default: true)
blocks['Keuken-Eiland'] ['flash'] = true, // outer dial will flash with user or default color (default: 0)
blocks['Keuken-Eiland'] ['dialimage'] = 'img/toon.png', // show an image instead of the calendar icon (default: false)
blocks['Keuken-Eiland'] ['dialicon'] = 'fas fa-train', // show a different font awesome icon (default: 'fas fa-calendar-alt')
blocks['Keuken-Eiland'] ['showring'] = 'true' // always show the outer color ring (default: false)
Can anyone tell me what I am doing wrong?
thnx in advanced!
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
I cannot see idx in your block. For example:
Code: Select all
blocks['Keuken-Eiland'] ['idx'] = 123,
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
got it! unbelievable how you can stare youself blind for something so obviousclinkadink wrote: ↑Tuesday 14 July 2020 12:45 I cannot see idx in your block. For example:Code: Select all
blocks['Keuken-Eiland'] ['idx'] = 123,
thanks a lot!
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Dial - Features, Fixes & Updates
No probs. Happens to me daily
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Who is online
Users browsing this forum: No registered users and 0 guests