Thanks! Beer tokens sent, as promised!
I've also raised an issue on github for switching title and value for multi-value devices.
Moderators: leecollings, htilburgs, robgeerts
Thanks! Beer tokens sent, as promised!
sailmich wrote: Thursday 09 November 2017 9:56 @robgeerts
No changes still no slider for Blinds percentage.
Please try latest beta!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" }
Thanks!!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.
In latest beta, try adding this to config.js:"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.
Code: Select all
var empty = {}
empty.test = { empty:true, key: 'emptytest', width:12 }
Code: Select all
columns[1]['blocks'] = [empty.test,1,6,2]
In latest beta, this should work, try adding a width, like: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
Code: Select all
blocks['blocktitle_1']['width'] = 4;
You Could add, in custom.js a function like: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
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');
}
}
Yes it works, thnx....robgeerts wrote: Thursday 09 November 2017 11:52sailmich wrote: Thursday 09 November 2017 9:56 @robgeerts
No changes still no slider for Blinds percentage.Please try latest beta!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" }
Thanks!!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 @robgeerts, you've got a new beer!robgeerts wrote: Thursday 09 November 2017 12:29 You Could add, in custom.js a function like:
Change 3600*2 (2 hours) to an amount of hours you wish.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'); } }
174 is de IDX of your device. (change 3 times)
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]Thanks for the beer!!
1.) Fixed in latest beta!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.
Could you test latest beta?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.
Users browsing this forum: No registered users and 1 guest