Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: htilburgs, robgeerts

User avatar
htilburgs
Posts: 404
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: Stable
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Post by htilburgs » Thursday 09 November 2017 10: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"
      }
Hardware:
Raspberry Pi 2B - 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

sailmich
Posts: 45
Joined: Wednesday 17 February 2016 23:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by sailmich » Thursday 09 November 2017 10:56

@robgeerts
No changes still no slider for Blinds percentage.

MikeF
Posts: 136
Joined: Sunday 19 April 2015 0:36
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: UK
Contact:

Re: Dashticz - General Discussions

Post by MikeF » Thursday 09 November 2017 11:51

robgeerts wrote:
Wednesday 08 November 2017 23:56
MikeF wrote:
Wednesday 25 October 2017 11:11
In 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.

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts » Thursday 09 November 2017 12:52

sailmich wrote:
Thursday 09 November 2017 10:56
@robgeerts
No changes still no slider for Blinds percentage.
htilburgs wrote:
Thursday 09 November 2017 10: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 11: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!!
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

woody4165
Posts: 504
Joined: Monday 14 March 2016 14:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - General Discussions

Post by woody4165 » Thursday 09 November 2017 12:57

@robgeerts thanks for latest beta.
Now RGB is working also for Yeelight!!!

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts » Thursday 09 November 2017 13:05

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)
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts » Thursday 09 November 2017 13:17

DAVIZINHO wrote:
Monday 30 October 2017 1: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;
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts » Thursday 09 November 2017 13:29

woody4165 wrote:
Monday 30 October 2017 20: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)
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
htilburgs
Posts: 404
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: Stable
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Post by htilburgs » Thursday 09 November 2017 13:57

robgeerts wrote:
Thursday 09 November 2017 12:52
sailmich wrote:
Thursday 09 November 2017 10:56
@robgeerts
No changes still no slider for Blinds percentage.
htilburgs wrote:
Thursday 09 November 2017 10: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 11: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:
Raspberry Pi 2B - 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

woody4165
Posts: 504
Joined: Monday 14 March 2016 14:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - General Discussions

Post by woody4165 » Thursday 09 November 2017 14:12

robgeerts wrote:
Thursday 09 November 2017 13: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! ;)

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts » Thursday 09 November 2017 14:22

Thanks!
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

MsbS
Posts: 40
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by MsbS » Thursday 09 November 2017 20:39

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: 922
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - General Discussions

Post by EdwinK » Thursday 09 November 2017 20:53

It has been removed. NEed to be set in domoticz it self
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

MsbS
Posts: 40
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by MsbS » Thursday 09 November 2017 21:00

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: 2
Joined: Wednesday 09 August 2017 23:05
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by toro » Thursday 09 November 2017 21: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.

curious
Posts: 109
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

Dashboard returns to second screen

Post by curious » Thursday 09 November 2017 22:01

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: 45
Joined: Wednesday 17 February 2016 23:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by sailmich » Thursday 09 November 2017 22: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.

sailmich
Posts: 45
Joined: Wednesday 17 February 2016 23:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by sailmich » Thursday 09 November 2017 22:47

@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 ..........

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts » Thursday 09 November 2017 23:41

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

toro wrote:
Thursday 09 November 2017 21: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 22: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?
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashboard returns to second screen

Post by robgeerts » Thursday 09 November 2017 23:58

Test latest beta..
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest