Page 51 of 184

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

Posted: Sunday 16 April 2017 20:08
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-)

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

Posted: Sunday 16 April 2017 20:25
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..

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

Posted: Sunday 16 April 2017 20:32
by madrian
Superb, GitHub at least have excellent GUI client and quality service I noticed outages on GitLab too, in the last days.

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

Posted: Sunday 16 April 2017 21:02
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 ?

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

Posted: Sunday 16 April 2017 22:10
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

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

Posted: Sunday 16 April 2017 22:14
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.

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

Posted: Sunday 16 April 2017 22:34
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.

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

Posted: Sunday 16 April 2017 22:44
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!

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

Posted: Sunday 16 April 2017 22:55
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 1549 times
A question mark

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

Posted: Sunday 16 April 2017 22:57
by EdwinK
Nope, no image yet. Need to find some. Thought I saw some in that topic.

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

Posted: Sunday 16 April 2017 23:00
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 1548 times

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

Posted: Sunday 16 April 2017 23:01
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

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

Posted: Sunday 16 April 2017 23:02
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';

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

Posted: Sunday 16 April 2017 23:02
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..

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

Posted: Sunday 16 April 2017 23:03
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]

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

Posted: Sunday 16 April 2017 23:03
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)

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

Posted: Sunday 16 April 2017 23:04
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 :)

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

Posted: Sunday 16 April 2017 23:08
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!

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

Posted: Sunday 16 April 2017 23:15
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 1545 times
Can I change it with custom css

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

Posted: Sunday 16 April 2017 23:17
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