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!
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!!
In latest beta, try adding this to config.js:"
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:
Code: Select all
blocks['blocktitle_1']['width'] = 4;
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');
}
}
Yes it works, thnx....robgeerts wrote: ↑Thursday 09 November 2017 11:52Please 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!!
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