Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
User avatar
heggink
Posts: 972
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: New Dashboard Design

Post by heggink »

Hey Rob, is the thermostat already generic enough to cover my Nest? If so then I can safely upgrade as well ️.

Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

robgeerts wrote:Ah, great!
I didn't see it ;)

It's fixed in the next version (not pushed to Gitlab yet but will be when I finished the arrange-function, hopefully tonight)
Thanks.
If you go faster than light you can miss something :D ;)
Is it gonna work for all selector switches?
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

heggink wrote:Hey Rob, is the thermostat already generic enough to cover my Nest? If so then I can safely upgrade as well Image️.
Could you send me the json-output?
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

BETA BETA BETA

Want to test the latest version where you can arrange the blocks yourself?
Download the ZIP from (REMOVED LINK,VISIT GITLAB)
Copy the contents to a NEW SUBFOLDER, so do not overwrite your existing dashboard.
Copy CONFIG-DEFAULT.js to CONFIG.js and change according your needs.

You need to know the IDX of every device you want to show!!
You can create extra/less columns with a desired width and with the desired blocks.


Disclaimer:
Remember it may possible things wont work correctly so dont use it as your main dashboard.
Your wife/husband could get angry ;)


EDIT: BETA IS NOW IN GITLAB!
Last edited by robgeerts on Thursday 06 April 2017 10:07, edited 5 times in total.
User avatar
heggink
Posts: 972
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: New Dashboard Design

Post by heggink »

Nest:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "21.3",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 40,
"HardwareName" : "Thermostat",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-04-05 18:14:55",
"Name" : "Home Temp",
"Notifications" : "false",
"PlanID" : "3",
"PlanIDs" : [ 3 ],
"Protected" : false,
"SetPoint" : "21.3",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "545",
"YOffset" : "204",
"idx" : "388"
}

Dummy P1 device:

{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "38624.279",
"CounterDeliv" : "8124.372",
"CounterDelivToday" : "1.083 kWh",
"CounterToday" : "20.460 kWh",
"CustomImage" : 0,
"Data" : "19911754;18712525;2239784;5884588;0;190",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 52,
"HardwareName" : "P1 Meter",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "82603",
"LastUpdate" : "2017-04-05 18:15:07",
"Name" : "Energy Grid",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "0 Watt",
"UsageDeliv" : "190 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "603"
},

Cheers!
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: New Dashboard Design

Post by Dynamic »

robgeerts wrote:BETA BETA BETA

Want to test the latest version where you can arrange the blocks yourself?
Download the ZIP from https://drive.google.com/file/d/0B3wQhk ... dON2s/view
Copy the contents to a NEW SUBFOLDER, so do not overwrite your existing dashboard.
Copy CONFIG-DEFAULT.js to CONFIG.js and change according your needs.

You need to know the IDX of every device you want to show!!
You can create extra/less columns with a desired width and with the desired blocks.


Disclaimer:
Remember it may possible things wont work correctly so dont use it as your main dashboard.
Your wife/husband could get angry ;)
You have left some personal data in the config_default.js. Your Wunderground API-key is still there ;-)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

Aha! Well, not a big deal, its a free version ;)
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: New Dashboard Design

Post by Dynamic »

How can I manual add a scene? They can have the same IDX as a device.
Attachments
scenes.png
scenes.png (48.21 KiB) Viewed 2373 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

heggink wrote:Nest:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "21.3",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 40,
"HardwareName" : "Thermostat",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-04-05 18:14:55",
"Name" : "Home Temp",
"Notifications" : "false",
"PlanID" : "3",
"PlanIDs" : [ 3 ],
"Protected" : false,
"SetPoint" : "21.3",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "545",
"YOffset" : "204",
"idx" : "388"
}

Dummy P1 device:

{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "38624.279",
"CounterDeliv" : "8124.372",
"CounterDelivToday" : "1.083 kWh",
"CounterToday" : "20.460 kWh",
"CustomImage" : 0,
"Data" : "19911754;18712525;2239784;5884588;0;190",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 52,
"HardwareName" : "P1 Meter",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "82603",
"LastUpdate" : "2017-04-05 18:15:07",
"Name" : "Energy Grid",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "0 Watt",
"UsageDeliv" : "190 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "603"
},

Cheers!
Wich one do you wanna see with the P1?

Code: Select all

"Counter" : "38624.279",
"CounterDeliv" : "8124.372",
"CounterDelivToday" : "1.083 kWh",
"CounterToday" : "20.460 kWh",
"Usage" : "0 Watt",
"UsageDeliv" : "190 Watt",
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

Dynamic wrote:How can I manual add a scene? They can have the same IDX as a device.
I have to implement this, i'm thinking of prepend an S like:

Code: Select all

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',1,2,'s233']
columns[1]['width'] = 3;
(s233 would be a scene)
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design

Post by SwordFish »

heggink wrote:Hey Rob, is the thermostat already generic enough to cover my Nest? If so then I can safely upgrade as well Image️.

Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Its already working. I to have a nest thermosaat.
Attachments
Knipsel.PNG
Knipsel.PNG (14.56 KiB) Viewed 2364 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

Well, his Nest is not exactly the same, i tested his output and its not correct 100%, will fix this later tonight.
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: New Dashboard Design

Post by Dynamic »

robgeerts wrote:I have to implement this, i'm thinking of prepend an S like:

Code: Select all

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',1,2,'s233']
columns[1]['width'] = 3;
(s233 would be a scene)
Looks good to me...

I've been playing around and I love to customize the dashboard! However, I'm having some small isues with the icons. There are not correct positioned:
issue_moving_around.jpg
issue_moving_around.jpg (128.61 KiB) Viewed 2361 times
Edit: current weather is now OK. I had to remove the 'width'. But I can't fix the sonos-buttons...
Last edited by Dynamic on Wednesday 05 April 2017 19:13, edited 1 time in total.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

Thanks for the feedback, will fix this in de next version!
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: New Dashboard Design

Post by EdwinK »

Not going to dive into this just yet. All those numbers are confusing me. Maybe I will give it a try next weekend.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

I understand! I'm thinking of a way to build up the page without configuring all the devices but to make use of some defaults... This will be easier (and fine) for many users.
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design

Post by SwordFish »

@robgeerts
I really appreciate how quick you jump in the problems we send


Verzonden vanaf mijn iPhone met Tapatalk
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: New Dashboard Design

Post by EdwinK »

Yes, I think Rob is doing an awful lot of work for us. Fixing problems almost as soon as we have send them.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

Dynamic wrote: I've been playing around and I love to customize the dashboard! However, I'm having some small isues with the icons. There are not correct positioned:
issue_moving_around.jpg
Should be better now!
BETA 3: https://drive.google.com/file/d/0B3wQhk ... sp=sharing

EdKo66 wrote:Not going to dive into this just yet. All those numbers are confusing me. Maybe I will give it a try next weekend.
I've just fixed that if you dont want to position every device, he tries to do this automatically, I added these variables (default=true) in the BETA-version:

Code: Select all

var _USE_AUTO_POSITIONING 	= true;
var _USE_FAVORITES			= true;
SwordFish wrote: I really appreciate how quick you jump in the problems we send Image
EdKo66 wrote:Yes, I think Rob is doing an awful lot of work for us. Fixing problems almost as soon as we have send them.
Thanks!
Last edited by robgeerts on Wednesday 05 April 2017 21:41, edited 1 time in total.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design

Post by robgeerts »

SwordFish wrote: Its already working. I to have a nest thermosaat.
Could you send me your nest output?
Locked

Who is online

Users browsing this forum: No registered users and 1 guest