Dashticz Dial - Features, Fixes & Updates

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

Hi,

Great feature.
I'm trying to setup the switch for my groups
The dial is showing as a dial needle and not as a on/off button

Code: Select all

blocks['s2'] = {
  title: 'Woonkamer',
  type: 'dial',
  color: '#57c4d6',
  width: 3
};
And if a add " idx: 2" then no dial appears
Last edited by madpatrick on Tuesday 14 July 2020 20:18, edited 1 time in total.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
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

Post by clinkadink »

Is the "Switch Type" set to "On/Off" in Domoticz?
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

As far as i can see it is set as on/off

Image


When i press the button in the "Groups" section it works
Image

If i press the buton in "Setting/devices" the lights doesn't switch on/off
(this is only with the Machinon theme, other themes work)
Image
But the dial won't work, despite the theme selection
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
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

Post by clinkadink »

madpatrick wrote: Tuesday 14 July 2020 20:27 If i press the buton in "Setting/devices" the lights doesn't switch on/off
(this is only with the Machinon theme, other themes work)
But the dial won't work, despite the theme selection
I have just enabled Machinon theme in my Domoticz, and tested dials in Dashticz and have no issues. Which is what I would expect, as Machinon is a CSS theme for Domoticz and would not interfere with the Dashticz dial.

If you click the 3 dots above your switch in Domoticz, you can see what the "Switch Type" is. To use the Dial "Switch", it must be set to "On/Off" in Domoticz.

Image
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

Correct. The switches are working, but not the groups
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
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

Post by clinkadink »

I don't use groups, so i can't comment. I can't even see it in Domoticz. I can see you have Groups in your screenshot, but I don't. Where do you add them?
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

I can add groups or scenes in that section.
To my knowledge this section is standard available and added manually
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
Trigun
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

Post by Trigun »

I have to admit, I have the same issue.
The nice on off buttons don’t appear.
I’ve checked, they’ve been set to on/off


Sent from my iPhone using Tapatalk
User avatar
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

Post by clinkadink »

Ok, so I have found how to "Add Group" .. it was on the Scenes tab, which was disabled on my Domoticz. I don't use Scenes and I definitely don't use Groups. I haven't got a clue how they work.

Do any of you have a device with Switch Type "On/Off" that is not in a group, that you can check for me?

I am guessing that the Group functionality allows you to turn on and off all switches at the same time. If that is true, then I can say now that the dial button does not do that. It targets the device directly.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

great.
The 4th switch is working. See the picture in my previous post

In the group there are several switches which you can turn on/off with 1 button.
In Setting/devices the group has een idx number and is clickable on/off
Image
only not responding the idx number with the dials
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

Maybe this helps

https://www.domoticz.com/wiki/Domoticz_ ... .2F_Groups

for scenses/groups:
/json.htm?type=command&param=switchscene&idx=&switchcmd=

for switches:
/json.htm?type=command&param=switchlight&idx=99&switchcmd=Toggle
Last edited by madpatrick on Tuesday 14 July 2020 22:21, edited 1 time in total.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
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

Post by clinkadink »

OK, glad the dial button is working for a single device.

I have just added a group and 2 on/off switches to it. That gives me something to play with. I can now see there is little difference between switching a device on/off and switching a group on/off. It will be easy enough to accomodate this.

Code: Select all

/json.htm?type=command&param=switchlight&idx=99&switchcmd=On
/json.htm?type=command&param=switchscene&idx=&switchcmd=On
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Trigun
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

Post by Trigun »

Is there actually a setting in the code I have to enter for normal switch? Or only the on/off setting in domoticz will be sufficient?


Sent from my iPhone using Tapatalk
User avatar
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

Post by clinkadink »

Ok, if you pull the latest beta - updated just now, and give it a try with groups. It seems to work fine for me, with 1 group and 2 on/off switches.

It uses the same "Idx" naming as the standard Dashticz switch, i.e. the idx is a string prefixed by "s". See below.

Code: Select all

blocks['group_button'] = {
  idx: 's1',
  title: 'Group',
  type: 'dial',
  color: '#57c4d6',
  width: 2
}
More info on group idx naming here: https://dashticz.readthedocs.io/en/beta ... parameters
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
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

Post by EdwinK »

When using this:

Code: Select all

blocks['plafond'] = {
  idx: 's2',
  title: 'Plafond',
  type: 'dial',
  color: '#57c4d6',
  width: 2
}
There is no button/dail.

When using this:

Code: Select all

blocks['plafond'] = {
  idx: 285,
  title: 'Plafond',
  type: 'dial',
  color: '#57c4d6',
  width: 2
}
there is a button/dail
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
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

Post by EdwinK »

's2' should have been 's8'

There is a button now, but it still doesn't work
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

clinkadink wrote: Wednesday 15 July 2020 0:36 Ok, if you pull the latest beta - updated just now, and give it a try with groups. It seems to work fine for me, with 1 group and 2 on/off switches.

It uses the same "Idx" naming as the standard Dashticz switch, i.e. the idx is a string prefixed by "s". See below.

Code: Select all

blocks['group_button'] = {
  idx: 's1',
  title: 'Group',
  type: 'dial',
  color: '#57c4d6',
  width: 2
}
More info on group idx naming here: https://dashticz.readthedocs.io/en/beta ... parameters
Hi clinkadink

This is working.
The only point is that the text is too small on a tablet to read at a block width of 3
I've a 8" tablet, so the space is to not much ;-)
Is there a possibility to have the text under the dial ?

Or in a circle around the icon ?
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
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

Post by clinkadink »

So it works for madpatrick but not for EdwinK.

@EdwinK - please check your config. Dial button for Groups works for me and madpatrick.
@madpatrick - I will have a look and see if anything can be done about the text under the dial.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz Dial - Features, Fixes & Updates

Post by madpatrick »

clinkadink wrote: Wednesday 15 July 2020 10:46 So it works for madpatrick but not for EdwinK.

@EdwinK - please check your config. Dial button for Groups works for me and madpatrick.
@madpatrick - I will have a look and see if anything can be done about the text under the dial.
Great.
I have some room under the dials if possible

Image
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
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

Post by clinkadink »

madpatrick wrote: Wednesday 15 July 2020 12:17 I have some room under the dials if possible
As a workaround for now, you can set a blank title in the block, and perhaps add a title block below. Just an idea?

Code: Select all

title: ' ',
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest