Page 148 of 184
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 10:51
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!
Added to latest beta!
Thanks! Beer tokens sent, as promised!
I've also raised an issue on github for switching title and value for multi-value devices.
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 11:52
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!
I've also raised an issue on github for switching title and value for multi-value devices.
Thanks!!
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 11:57
by woody4165
@robgeerts thanks for latest beta.
Now RGB is working also for Yeelight!!!
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 12:05
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)
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 12:17
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;
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 12:29
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)
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 12:57
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!
I've also raised an issue on github for switching title and value for multi-value devices.
Thanks!!
Yes it works, thnx....
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 13:12
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!

Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 13:22
by robgeerts
Thanks!
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 19:39
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?
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 19:53
by EdwinK
It has been removed. NEed to be set in domoticz it self
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 20:00
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!
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 20:22
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.
Dashboard returns to second screen
Posted: Thursday 09 November 2017 21:01
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]
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 21:31
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.
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 21:47
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 ..........
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 22:41
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?
Re: Dashboard returns to second screen
Posted: Thursday 09 November 2017 22:58
by robgeerts
Test latest beta..
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 23:03
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.
Re: Dashticz - General Discussions
Posted: Thursday 09 November 2017 23:04
by robgeerts
I meant I just pushed a new beta
