Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

robgeerts wrote:I'll do my best too ;) did you mean chrome instead of safari?
Done.

I must tell you, that I really hate GitLab. Forking projects and keeping it up to date + merge requests are a nightmare. GitHub is so much better on this.
Every time I make a merge request I need to make a new fork (delete old one) and then make a merge request. Merge request page has it's own bugs too, for example the most simple task result in 404 error. :evil: Ahhh, consider to move your project to GitHub. 8-)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

Almost home, will check it out later. Well, i hate gitlab too. Used it for work but most of the time the site was offline or updating within working hours. I'll move to github soon..
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

Superb, GitHub at least have excellent GUI client and quality service I noticed outages on GitLab too, in the last days.
b00n
Posts: 26
Joined: Saturday 15 April 2017 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by b00n »

Yeahh i figured it out thanks :D


a few questions

- is it possible to get the temp and humidity in 1 box?
- make the letters and boxes bigger ?
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Post by jake »

Blueone wrote:
jake wrote:Please help a starter (me) to update the Wiki with the procedure to download (and for next time) update the files from gitlab. I cant find it online how to do this.
http://www.domoticz.com/wiki/Dashticz-v ... ugh_Gitlab
Thanks, but I don't understand how to do the following from the command line:
"To install Dashticz v2.0, download the latest version" Image
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

Found something else to add :)

Internet Ping

Code: Select all

{
   "ActTime" : 1492373513,
   "ServerTime" : "2017-04-16 22:11:53",
   "Sunrise" : "06:44",
   "Sunset" : "20:40",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "35.346 ms",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 25,
         "HardwareName" : "SpeedTest",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : true,
         "ID" : "00082115",
         "Image" : "Custom",
         "LastUpdate" : "2017-04-16 21:07:23",
         "Name" : "Ping",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "SensorType" : 1,
         "SensorUnit" : "ms",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Custom Sensor",
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "Custom",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "115"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Upload

Code: Select all

{
   "ActTime" : 1492373459,
   "ServerTime" : "2017-04-16 22:10:59",
   "Sunrise" : "06:44",
   "Sunset" : "20:40",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "104.88 Mbp/s",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 25,
         "HardwareName" : "SpeedTest",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : true,
         "ID" : "00082116",
         "Image" : "Custom",
         "LastUpdate" : "2017-04-16 21:07:23",
         "Name" : "Download",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "SensorType" : 1,
         "SensorUnit" : "Mbp/s",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Custom Sensor",
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "Custom",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "116"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
download

Code: Select all

{
   "ActTime" : 1492373598,
   "ServerTime" : "2017-04-16 22:13:18",
   "Sunrise" : "06:44",
   "Sunset" : "20:40",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "42.66 Mbp/s",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 25,
         "HardwareName" : "SpeedTest",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : true,
         "ID" : "00082117",
         "Image" : "Custom",
         "LastUpdate" : "2017-04-16 21:07:23",
         "Name" : "Upload",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "SensorType" : 1,
         "SensorUnit" : "Mbp/s",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Custom Sensor",
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "Custom",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "117"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
To check internet-connectivity.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

EdKo66 wrote:Found something else to add :)
Well, that was easy. Could have done so myself, and did. In this case just adding the IDx was enough.
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: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

irishv wrote: Were you able to resolve this? I'm running into the same issue. I'm running Domoticz on a Synology NAS and it has been stable for a few months. Since I started playing with the dashboard Domoticz seems to crash every couple days. The dashboard loads without showing any sensors/switches and the main Domoticz page says it's offline. If I stop the Domoticz service in the Synology Diskstation and restart it, everything comes up fine. Anyone else seeing anything like this?
I also use a Synology NAS and dont experience any problems...

wizjos wrote:Just noticed this. Although it is possible to give an alternative title to a block (blocks[140]['title'] = 'Temperatuur';), this goes for all 'sub-blocks'. In my case I have a 'buienradar-temperatuur' at idx 140 which produces 2 blocks: one for temperature and one for humidity...
I would be nice to give these sub-blocks different titles so I get 'Temperatuur' for the temperature and 'Luchtvochtigheid' for humidity.
Something like

Code: Select all

blocks['140_1']['title'] = 'Temperatuur';
blocks['140_2']['title'] = 'Luchtvochtigheid';
EdKo66 wrote:Got exactly the same problem.
Should work in latest version, please, could you test this?

axelbaas wrote:Maybe this question is already asked. But is it possible to change the size of the icons? On a smaller screen, like a iPad, the icons are too small to click them.
I've tried some custom css, but cannot find the right option (yet).
Try adding in custom.css, although 80 is a bit too big, but you get the idea:

Code: Select all

.fa,.wi {
	font-size:80px !important;
}
pvm wrote: My phone started complaining 'Domoticz error! Please, double check the path in _HOST_DOMOTICZ-variable!'. I upgraded today to the latest version (was running a couple of days behind). I tried the URL with and without username/password showing the same result. On my laptop however, I do not experience these issues. Strange.. any other people having a similar setup (PI with dashboard running on NAS) ?
Are you using a local-ip address for domoticz and is your phone on cellalur network by accident? ;)


EdKo66 wrote:
EdKo66 wrote:Found something else to add :)
Well, that was easy. Could have done so myself, and did. In this case just adding the IDx was enough.
Because I fixed those devices a couple of days ago ;)


madrian wrote:
robgeerts wrote:I'll do my best too ;) did you mean chrome instead of safari?
Done.
Thanks, I made small changes to fit the design a bit more!

Radio Plugin

In config add:

Code: Select all

var _STREAMPLAYER_TRACKS  	= [
   {"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
   {"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
   {"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
   {"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
   {"track":5,"name":"StuBru","file":"http://mp3.streampower.be/stubru-high.mp3"},
]; 
(Find Mp3 sources at: http://www.hendrikjansen.nl/henk/streaming.html )

To enable, use the key: 'streamplayer' in the block definitions!
Last edited by robgeerts on Sunday 16 April 2017 23:29, edited 1 time in total.
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gjaa »

EdKo66 wrote:
EdKo66 wrote:Found something else to add :)
Well, that was easy. Could have done so myself, and did. In this case just adding the IDx was enough.
But did you get an image?
This is mine
Schermafbeelding 2017-04-16 om 22.54.14.png
Schermafbeelding 2017-04-16 om 22.54.14.png (11.47 KiB) Viewed 1382 times
A question mark
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

Nope, no image yet. Need to find some. Thought I saw some in that topic.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gjaa »

When USE_AUTO_POSITIONING = True , why is the size of the weather image different
Schermafbeelding 2017-04-16 om 22.56.30.png
Schermafbeelding 2017-04-16 om 22.56.30.png (95.27 KiB) Viewed 1381 times
User avatar
wizjos
Posts: 78
Joined: Monday 07 March 2016 19:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by wizjos »

robgeerts wrote:
wizjos wrote:Just noticed this. Although it is possible to give an alternative title to a block (blocks[140]['title'] = 'Temperatuur';), this goes for all 'sub-blocks'. In my case I have a 'buienradar-temperatuur' at idx 140 which produces 2 blocks: one for temperature and one for humidity...
I would be nice to give these sub-blocks different titles so I get 'Temperatuur' for the temperature and 'Luchtvochtigheid' for humidity.
Something like

Code: Select all

blocks['140_1']['title'] = 'Temperatuur';
blocks['140_2']['title'] = 'Luchtvochtigheid';
EdKo66 wrote:Got exactly the same problem.
Should work in latest version, please, could you test this?
Sorry, cannot confirm it works. Tried:

Code: Select all

blocks['140_1'] = {}
blocks['140_1']['title'] = 'Temperatuur';
in combination with:

Code: Select all

columns[2]['blocks'] = ['140_1']
and various combinations of this all...
Will look into it a little more tomorrow.

Wizjos
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

EdKo66 wrote:Nope, no image yet. Need to find some. Thought I saw some in that topic.
Try adding to config.js:

Code: Select all

blocks[1120] = {} //use idx of upload
blocks[1120]['icon'] = 'fa-long-arrow-up';

blocks[1120] = {} //use idx of download
blocks[1120]['icon'] = 'fa-long-arrow-down';

blocks[1120] = {} //use idx of ping
blocks[1120]['icon'] = 'fa-arrows-v';
Dropshot
Posts: 44
Joined: Tuesday 20 December 2016 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Post by Dropshot »

jake wrote:
Blueone wrote:
jake wrote:Please help a starter (me) to update the Wiki with the procedure to download (and for next time) update the files from gitlab. I cant find it online how to do this.
http://www.domoticz.com/wiki/Dashticz-v ... ugh_Gitlab
Thanks, but I don't understand how to do the following from the command line:
"To install Dashticz v2.0, download the latest version" Image
Did you actually click on the link? It says:
Logon to your system with SSH and go to the \domoticz\www folder
Enter "git clone https://gitlab.com/robgeerts/dashboard.git" (withouth the ")
Etc..
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

wizjos wrote:
robgeerts wrote:
wizjos wrote:Just noticed this. Although it is possible to give an alternative title to a block (blocks[140]['title'] = 'Temperatuur';), this goes for all 'sub-blocks'. In my case I have a 'buienradar-temperatuur' at idx 140 which produces 2 blocks: one for temperature and one for humidity...
I would be nice to give these sub-blocks different titles so I get 'Temperatuur' for the temperature and 'Luchtvochtigheid' for humidity.
Something like

Code: Select all

blocks['140_1']['title'] = 'Temperatuur';
blocks['140_2']['title'] = 'Luchtvochtigheid';
EdKo66 wrote:Got exactly the same problem.
Should work in latest version, please, could you test this?
Sorry, cannot confirm it works. Tried:

Code: Select all

blocks['140_1'] = {}
blocks['140_1']['title'] = 'Temperatuur';
in combination with:

Code: Select all

columns[2]['blocks'] = ['140_1']
and various combinations of this all...
Will look into it a little more tomorrow.

Wizjos
And what about:

Code: Select all

columns[2]['blocks'] = [140]
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gjaa »

EdKo66 wrote:Nope, no image yet. Need to find some. Thought I saw some in that topic.
Yep I made them (see attachments)
Attachments
Speed.zip
(14.4 KiB) Downloaded 53 times
ping.zip
(19.61 KiB) Downloaded 51 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

Dropshot wrote:
jake wrote:
Thanks, but I don't understand how to do the following from the command line:
"To install Dashticz v2.0, download the latest version" Image
Did you actually click on the link? It says:
Logon to your system with SSH and go to the \domoticz\www folder
Enter "git clone https://gitlab.com/robgeerts/dashboard.git" (withouth the ")
Etc..
Or download the zip:
https://gitlab.com/robgeerts/dashboard/ ... ref=master

And unpack it in a directory of your choice and open index.html in a webbrowser :)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

gjaa wrote:When USE_AUTO_POSITIONING = True , why is the size of the weather image different
Schermafbeelding 2017-04-16 om 22.56.30.png
Try latest version I'v just pushed to Gitlab!
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gjaa »

Thats quick
Its bigger but not the same
Schermafbeelding 2017-04-16 om 23.13.42.png
Schermafbeelding 2017-04-16 om 23.13.42.png (53.26 KiB) Viewed 1378 times
Can I change it with custom css
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gjaa »

robgeerts wrote:
EdKo66 wrote:Nope, no image yet. Need to find some. Thought I saw some in that topic.
Try adding to config.js:

Code: Select all

blocks[1120] = {} //use idx of upload
blocks[1120]['icon'] = 'fa-long-arrow-up';

blocks[1120] = {} //use idx of download
blocks[1120]['icon'] = 'fa-long-arrow-down';

blocks[1120] = {} //use idx of ping
blocks[1120]['icon'] = 'fa-arrows-v';
How can I edit when USE_AUTO_POSITIONING=True
Locked

Who is online

Users browsing this forum: No registered users and 1 guest