Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

MikeF
Posts: 350
Joined: Sunday 19 April 2015 0:36
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.2
Location: UK
Contact:

Re: Dashticz - General Discussions

Post by MikeF »

robgeerts wrote: Wednesday 08 November 2017 22:56
MikeF wrote: Wednesday 25 October 2017 11:11In my dashboard I've got a LightwaveRF dimmer (Lighting 5), which uses 32 steps rather than the usual 16. ...

- beer tokens would be forthcoming! :D
Added to latest beta!
Thanks! Beer tokens sent, as promised! :D

I've also raised an issue on github for switching title and value for multi-value devices.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

sailmich wrote: Thursday 09 November 2017 9:56 @robgeerts
No changes still no slider for Blinds percentage.
htilburgs wrote: Thursday 09 November 2017 9:37 @robgeerts:

Code: Select all

 {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Set Level: 40 %",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 2,
         "HardwareName" : "Aeon Labs Z-Stick GEN5",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000201",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-11-09 07:53:41",
         "Level" : 40,
         "LevelInt" : 40,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Set Level: 40 %",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }
Please try latest beta!

MikeF wrote: Thursday 09 November 2017 10:51
Thanks! Beer tokens sent, as promised! :D

I've also raised an issue on github for switching title and value for multi-value devices.
Thanks!!
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - General Discussions

Post by woody4165 »

@robgeerts thanks for latest beta.
Now RGB is working also for Yeelight!!!
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

MsbS wrote: Thursday 26 October 2017 18:46 Is there a way to make an empty block (no data and no background)? This would be cool for alignment purposes. Basically - to leave empty space in column.
In latest beta, try adding this to config.js:"

Code: Select all

var empty = {}
empty.test = { empty:true, key: 'emptytest', width:12 }
And in the blocks definitions, add emty.test like:

Code: Select all

columns[1]['blocks'] = [empty.test,1,6,2]
(1,6,2 or the other idx's of your devices,these numbers are examples)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

DAVIZINHO wrote: Monday 30 October 2017 0:37 Hello,
Its posible to make a "blocktitle" that have the same dimension that a block (4) ??

thanks a lot
In latest beta, this should work, try adding a width, like:

Code: Select all

blocks['blocktitle_1']['width'] = 4;
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

woody4165 wrote: Monday 30 October 2017 19:57 Is there a possibility to have a block (text or background color) different if the lastupdate of a device is not update for a specific amount of time?

Thanks
You Could add, in custom.js a function like:

Code: Select all

function getStatus_174(idx,value,device){
	if(moment(device['LastUpdate']).unix()<(moment().unix()-(3600*2))){
		$('div.block_174').addClass('warning');
	}
	else {
		$('div.block_174').removeClass('warning');
	}
}
Change 3600*2 (2 hours) to an amount of hours you wish.
174 is de IDX of your device. (change 3 times)
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by htilburgs »

robgeerts wrote: Thursday 09 November 2017 11:52
sailmich wrote: Thursday 09 November 2017 9:56 @robgeerts
No changes still no slider for Blinds percentage.
htilburgs wrote: Thursday 09 November 2017 9:37 @robgeerts:

Code: Select all

 {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Set Level: 40 %",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 2,
         "HardwareName" : "Aeon Labs Z-Stick GEN5",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000201",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-11-09 07:53:41",
         "Level" : 40,
         "LevelInt" : 40,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Set Level: 40 %",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }
Please try latest beta!

MikeF wrote: Thursday 09 November 2017 10:51
Thanks! Beer tokens sent, as promised! :D

I've also raised an issue on github for switching title and value for multi-value devices.
Thanks!!
Yes it works, thnx....
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - General Discussions

Post by woody4165 »

robgeerts wrote: Thursday 09 November 2017 12:29 You Could add, in custom.js a function like:

Code: Select all

function getStatus_174(idx,value,device){
	if(moment(device['LastUpdate']).unix()<(moment().unix()-(3600*2))){
		$('div.block_174').addClass('warning');
	}
	else {
		$('div.block_174').removeClass('warning');
	}
}
Change 3600*2 (2 hours) to an amount of hours you wish.
174 is de IDX of your device. (change 3 times)
Thanks @robgeerts, you've got a new beer! ;)
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Thanks!
MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by MsbS »

One more beer from me, enjoy the coming weekend :)

What I noticed in the release version (just git pulled): the selectors changed to buttons after update, even though my CONFIG.js includes:
config['selector_instead_of_buttons'] = 1;

Is this perhaps now configurable on a per-tile basis?
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 - General Discussions

Post by EdwinK »

It has been removed. NEed to be set in domoticz it self
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by MsbS »

Ah, cool, so whatever is 'selector' in Domoticz is selector in Dashticz, and 'buttons be buttons'. Cool, I think this is the best possible solution. Thanks, for the clarification Edwin!
toro
Posts: 47
Joined: Wednesday 09 August 2017 23:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by toro »

Hey Rob, really love Dashticz, great work!
I have two questions:
1. Is it possible to flip the wind directions icon? When the direction is W, the icon should not point towards the west but to the east (Wind is coming from the west)

2. I am trying to have a button with just the temperature in it. So no icon and no title. I want to show this button pretty big, so it is visible from a distance. Is this possible?

Thanks in advance.
curious
Posts: 132
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

Dashboard returns to second screen

Post by curious »

After loading latest beta, dashboard starts with first screen but returns to second screen.

I defined two screens

Code: Select all

var screens = {}
screens[1] = {}
// screens[1]['background'] = 'bg1.jpg';
// screens[1]['background_morning'] = 'bg_morning.jpg';
// screens[1]['background_noon'] = 'bg_noon.jpg';
// screens[1]['background_afternoon'] = 'bg_afternoon.jpg';
// screens[1]['background_night'] = 'bg_night.jpg';
screens[1]['columns'] = [1,2,3]

screens[2] = {}
// screens[2]['background'] = 'bg3.jpg';
// screens[2]['background_morning'] = 'bg_morning.jpg';
// screens[2]['background_noon'] = 'bg_noon.jpg';
// screens[2]['background_afternoon'] = 'bg_afternoon.jpg';
// screens[2]['background_night'] = 'bg_night.jpg';
screens[2]['columns'] = [4,5,6]
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

@robgeerts
Slider blinds percentage works with latest beta. But now I have trouble with my CONFIG.js. I used this slide to different screens and when I push a button e.g. Light it doesn't slide to screen where I put all my lights in. Although auto swipe back doesn't swipe back to my selected home screen.
Thx for your great support.
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

@robgeerts
In addition more details.
Button for screen 2 -> screen 5
Button 3 -> screen 1
Button 4 -> screen 2
Button 5 -> screen 3

Autoback_swipe_to 1 -> screen 5
Autoback_swipe_to 2 -> screen 1

When I set 3/4/5/1 I get 2/3/4/5 exectly what I need. Before beta no problems 1 -> screen 1 ..........
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

MsbS wrote: Thursday 09 November 2017 19:39 One more beer from me, enjoy the coming weekend :)
Thanks for the beer!!

toro wrote: Thursday 09 November 2017 20:22 Hey Rob, really love Dashticz, great work!
I have two questions:
1. Is it possible to flip the wind directions icon? When the direction is W, the icon should not point towards the west but to the east (Wind is coming from the west)

2. I am trying to have a button with just the temperature in it. So no icon and no title. I want to show this button pretty big, so it is visible from a distance. Is this possible?

Thanks in advance.
1.) Fixed in latest beta!
2.) No not yet

sailmich wrote: Thursday 09 November 2017 21:31 @robgeerts
Slider blinds percentage works with latest beta. But now I have trouble with my CONFIG.js. I used this slide to different screens and when I push a button e.g. Light it doesn't slide to screen where I put all my lights in. Although auto swipe back doesn't swipe back to my selected home screen.
Thx for your great support.
Could you test latest beta?
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashboard returns to second screen

Post by robgeerts »

Test latest beta..
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

@robgeerts
Yes I tested with git clone https://github.com/robgeerts/dashticz_v2 --branch beta. Blinds percentage works. But other problems as described in my post before.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

I meant I just pushed a new beta ;)
Locked

Who is online

Users browsing this forum: No registered users and 1 guest