Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
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 »

In the latest beta (see gitlab)
You dont have to define every block in de blocks-variable:

Code: Select all

blocks[204] = {}
ONLY if you dont want to use de default width:

Code: Select all

blocks[204] = {}
blocks[204]['width'] = 6;
Last edited by robgeerts on Thursday 06 April 2017 10:06, edited 1 time in total.
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 »

Here you go
Setpoint

Code: Select all

{
   "ActTime" : 1491421162,
   "ServerTime" : "2017-04-05 21:39:22",
   "Sunrise" : "07:06",
   "Sunset" : "20:18",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "20.4",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 23,
         "HardwareName" : "NEST",
         "HardwareType" : "Nest Thermostat/Protect",
         "HardwareTypeVal" : 52,
         "HaveTimeout" : false,
         "ID" : "0000001",
         "LastUpdate" : "2017-04-05 21:38:53",
         "Name" : "Thermostaat ingesteld op",
         "Notifications" : "false",
         "PlanID" : "12",
         "PlanIDs" : [ 12 ],
         "Protected" : false,
         "SetPoint" : "20.4",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "SetPoint",
         "Timers" : "false",
         "Type" : "Thermostat",
         "TypeImg" : "override_mini",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "195"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}{
   "ActTime" : 1491421162,
   "ServerTime" : "2017-04-05 21:39:22",
   "Sunrise" : "07:06",
   "Sunset" : "20:18",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "20.4",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 23,
         "HardwareName" : "NEST",
         "HardwareType" : "Nest Thermostat/Protect",
         "HardwareTypeVal" : 52,
         "HaveTimeout" : false,
         "ID" : "0000001",
         "LastUpdate" : "2017-04-05 21:38:53",
         "Name" : "Thermostaat ingesteld op",
         "Notifications" : "false",
         "PlanID" : "12",
         "PlanIDs" : [ 12 ],
         "Protected" : false,
         "SetPoint" : "20.4",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "SetPoint",
         "Timers" : "false",
         "Type" : "Thermostat",
         "TypeImg" : "override_mini",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "195"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Temp and Humidity

Code: Select all

{
   "ActTime" : 1491421297,
   "ServerTime" : "2017-04-05 21:41:37",
   "Sunrise" : "07:06",
   "Sunset" : "20:18",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "20.0 C, 43 %",
         "Description" : "",
         "DewPoint" : "7.04",
         "Favorite" : 1,
         "HardwareID" : 23,
         "HardwareName" : "NEST",
         "HardwareType" : "Nest Thermostat/Protect",
         "HardwareTypeVal" : 52,
         "HaveTimeout" : false,
         "Humidity" : 43,
         "HumidityStatus" : "Comfortable",
         "ID" : "0002",
         "LastUpdate" : "2017-04-05 21:41:25",
         "Name" : "Woonkamer",
         "Notifications" : "true",
         "PlanID" : "12",
         "PlanIDs" : [ 12 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "WTGR800",
         "Temp" : 20.0,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "196"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}{
   "ActTime" : 1491421297,
   "ServerTime" : "2017-04-05 21:41:37",
   "Sunrise" : "07:06",
   "Sunset" : "20:18",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "20.0 C, 43 %",
         "Description" : "",
         "DewPoint" : "7.04",
         "Favorite" : 1,
         "HardwareID" : 23,
         "HardwareName" : "NEST",
         "HardwareType" : "Nest Thermostat/Protect",
         "HardwareTypeVal" : 52,
         "HaveTimeout" : false,
         "Humidity" : 43,
         "HumidityStatus" : "Comfortable",
         "ID" : "0002",
         "LastUpdate" : "2017-04-05 21:41:25",
         "Name" : "Woonkamer",
         "Notifications" : "true",
         "PlanID" : "12",
         "PlanIDs" : [ 12 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "WTGR800",
         "Temp" : 20.0,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "196"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Heating on/off

Code: Select all

{
   "ActTime" : 1491421622,
   "ServerTime" : "2017-04-05 21:47:02",
   "Sunrise" : "07:06",
   "Sunset" : "20:18",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "On",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 23,
         "HardwareName" : "NEST",
         "HardwareType" : "Nest Thermostat/Protect",
         "HardwareTypeVal" : 52,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000071",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-05 20:23:28",
         "Level" : 100,
         "LevelInt" : 15,
         "MaxDimLevel" : 15,
         "Name" : "Statenlaan Family Room HeatingOn",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "On",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 0,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "197"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
And Home/Away

Code: Select all

{
   "ActTime" : 1491421670,
   "ServerTime" : "2017-04-05 21:47:50",
   "Sunrise" : "07:06",
   "Sunset" : "20:18",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 23,
         "HardwareName" : "NEST",
         "HardwareType" : "Nest Thermostat/Protect",
         "HardwareTypeVal" : 52,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000003",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-03-28 16:40:20",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "Statenlaan Family Room Away",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 0,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "198"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
The last 2 i haven't tested yet
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

Did something change in latest Beta (dashboard (2).zip)?
The Venz M9 button should be next to Mede8er button. It was ok in 1st beta. (dashboard.zip). CONFIG.js is not changed.
Image

Will it be possible in future version to add custom icons and text?
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 »

SwordFish wrote:Here you go
The last 2 i haven't tested yet
heggink wrote:Nest:
-------------

Dummy P1 device:
----------
This is what I get in the latest BETA.
Image

HansieNL wrote:Did something change in latest Beta (dashboard (2).zip)?
The Venz M9 button should be next to Mede8er button. It was ok in 1st beta. (dashboard.zip). CONFIG.js is not changed.
Hmm weird... could you send me your current config (only the blocks/columns part) and the output of Venz M9?
HansieNL wrote: Will it be possible in future version to add custom icons and text?
Yes, that's the plan :)
whiteduck
Posts: 44
Joined: Tuesday 25 March 2014 23:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Berkshire, UK
Contact:

Re: New Dashboard Design

Post by whiteduck »

Thanks Rob - looking really good now with sunrise/sunset, the lux icon and the improved energy use.

There is still a gap with the Energy and Energy today shown the following as you don't know what has used the energy :)
9.png
9.png (185.9 KiB) Viewed 2132 times
Thanks a lot
Ian
Domoticz on Ubuntu 16.04 LTS VM
RFXCom USB transceiver
Aeon Labs V2 USB (Zwave)
Various HomeEasy, Oregon devices and sensors. Now using Z-Wave Fibaro FGMS-001, TKB TZ88Es
TP-Link IP310 Cameras
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 wrote:
SwordFish wrote:Here you go
The last 2 i haven't tested yet
heggink wrote:Nest:
-------------

Dummy P1 device:
----------
This is what I get in the latest BETA.
Image
Looks good.
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 »

is it possible to change the textsize and image from the currentweather?
I want to replace "weersvoorspelling" with the currentweather
Attachments
Knipsel.PNG
Knipsel.PNG (110.5 KiB) Viewed 2100 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 »

whiteduck wrote:Thanks Rob - looking really good now with sunrise/sunset, the lux icon and the improved energy use.

There is still a gap with the Energy and Energy today shown the following as you don't know what has used the energy :)
9.png

Thanks a lot
Ian
I've tested with some of your device.
Do you want something like:
Image

This is the result in the latest version wich I will publish later today.
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:is it possible to change the textsize and image from the currentweather?
I want to replace "weersvoorspelling" with the currentweather
This will be possible in latest version, publishing today/tonight:
Image
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 wrote:
SwordFish wrote:is it possible to change the textsize and image from the currentweather?
I want to replace "weersvoorspelling" with the currentweather
This will be possible in latest version, publishing today/tonight:
Image
Thanks man
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 v2

Post by robgeerts »

LATEST VERSION ON GITLAB!
In this version its possible to set a custom position per block!
BACKUP YOUR CURRENT DASHBOARD.

Please share a screenshot when done configuring :)
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: Thanks man
Checkout the latest version in gitlab.
Use 'currentweather_big' in config js, example:

Code: Select all

columns[2] = {}
columns[2]['blocks'] = ['currentweather_big','weather',5,145,97];
columns[2]['width'] = 5; 
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, with custom positioning

Post by SwordFish »

Thanks for the big weather.
I just move this dashboard to my pi so that it displayed on my Tab 3 but it is verry small :?
Attachments
Screenshot_2017-04-06-10-18-20.png
Screenshot_2017-04-06-10-18-20.png (292 KiB) Viewed 2068 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 v2, with custom positioning

Post by robgeerts »

It look likes your zoomed out or something..
What if you zoom in?
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 v2, with custom positioning

Post by EdwinK »

Image

This is how it looks atm. Just put some of the KaKu/CoCo switches in there so it doesn;'t look too empty :)

next thing is to put it to work on my Tab3, but that would be for some other day.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, with custom positioning

Post by SwordFish »

My fault, i did set the initial-scale to 0,5 last night and i forgot that i did it :oops:
But is it possible to make 2 columns in this view instead of one?
Attachments
Screenshot_2017-04-06-11-06-37.png
Screenshot_2017-04-06-11-06-37.png (98.62 KiB) Viewed 2057 times
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, with custom positioning

Post by SwordFish »

I just downloaded the last version with auto position.
But when i set it to false and set use favorites to false or true and removed the quote's to custom positioning i get a white screen as dashboard.
When i set auto position to true and use favorites to true and out quote custom positioning it is working?
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 v2, with custom positioning

Post by robgeerts »

SwordFish wrote:I just downloaded the last version with auto position.
But when i set it to false and set use favorites to false or true and removed the quote's to custom positioning i get a white screen as dashboard.
When i set auto position to true and use favorites to true and out quote custom positioning it is working?
Could you show me a screenshot of the console-window (F12) ?
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, with custom positioning

Post by SwordFish »

robgeerts wrote:
SwordFish wrote:I just downloaded the last version with auto position.
But when i set it to false and set use favorites to false or true and removed the quote's to custom positioning i get a white screen as dashboard.
When i set auto position to true and use favorites to true and out quote custom positioning it is working?
Could you show me a screenshot of the console-window (F12) ?
Found the problem. I had to quote out the text "CUSTOM POSITIONING:" in the config file.
User avatar
heggink
Posts: 979
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: New Dashboard Design v2, with custom positioning

Post by heggink »

Hey Rob,

I kind of lost track of how the new template is supposed to work with the blocks and all (I was pretty happy with the default behaviour). Any chance you can explain a bit in the README how to configure this? I installed the version of yesterday evening but didn't entirely get how it is supposed to work.
I can confirm that the Thermostats work as well as the dummy p1 so many thanks for that. Looks really nice! Well done.
H
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 :-)
Locked

Who is online

Users browsing this forum: No registered users and 1 guest