Page 10 of 184

Re: New Dashboard Design

Posted: Thursday 30 March 2017 17:30
by robgeerts
Ok, maybe you also have to download index.html again because I did some changes to this file too this afternoon.

Re: New Dashboard Design

Posted: Thursday 30 March 2017 17:55
by l00pz
l00pz wrote:
robgeerts wrote:Change

Code: Select all

if(data.result[r]['HardwareType']=='Sonos Players'){
TO:

Code: Select all

if(data.result[r]['HardwareType']=='Sonos Players' && data.result[r]['SwitchType'] == 'Media Player'){
Could you send me a photo of your tablet so I can see the problem of the buttons?
Thanks! I changed the main.js File and this is working now. Regarding the buttons, this is my Tablet. As browser I use FullScreenBrowser, but other Browsers like Firefox and Chrome do the same. If I use an old version, the buttons work.

Image
Found out that it had to do with the DPI Settings from my Tablet. With ADB I changed the DPI Settings, and now the Icons are visible but very small. I am curious on what Devices other people us this nice Dashboard?

Re: New Dashboard Design

Posted: Thursday 30 March 2017 18:23
by robgeerts
l00pz wrote:Regarding the buttons, this is my Tablet. As browser I use FullScreenBrowser, but other Browsers like Firefox and Chrome do the same. If I use an old version, the buttons work.

Image
I can see this too when a resize my browser, let me fix this tonight!

Re: New Dashboard Design

Posted: Thursday 30 March 2017 18:30
by EdwinK
robgeerts wrote:Ok, maybe you also have to download index.html again because I did some changes to this file too this afternoon.
Going to do that too

Re: New Dashboard Design

Posted: Thursday 30 March 2017 18:33
by EdwinK
l00pz wrote: I am curious on what Devices other people us this nice Dashboard?
For now just on my laptop. But I want it to go to my tablet. Problem is that that one is just a 7" Tab3

Re: New Dashboard Design

Posted: Thursday 30 March 2017 18:38
by robgeerts
Well, I thought, lets fix it immediately, so, you can download the latest version!
Please try this version.

Re: New Dashboard Design

Posted: Thursday 30 March 2017 18:42
by robgeerts
EdKo66 wrote:
l00pz wrote: I am curious on what Devices other people us this nice Dashboard?
For now just on my laptop. But I want it to go to my tablet. Problem is that that one is just a 7" Tab3
2 words: ali express

Re: New Dashboard Design

Posted: Thursday 30 March 2017 18:48
by EdwinK
Working great, of course ;)

Just found that the Buienrader (wind) isn't working as it was. Don't know if it did this earlier.

Image

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Chill" : 20.399999999999999,
         "CustomImage" : 0,
         "Data" : "190.0;S;55;84;20.4;20.4",
         "Description" : "",
         "Direction" : 190.0,
         "DirectionStr" : "S",
         "Favorite" : 1,
         "Gust" : "5",
         "HardwareID" : 21,
         "HardwareName" : "Buienradar",
         "HardwareType" : "Buienradar.nl (Weather lookup)",
         "HardwareTypeVal" : 94,
         "HaveTimeout" : false,
         "ID" : "00150006",
         "LastUpdate" : "2017-03-30 18:41:44",
         "Name" : "Wind - BR",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Speed" : "4",
         "SubType" : "TFA",
         "Temp" : 20.399999999999999,
         "Timers" : "false",
         "Type" : "Wind",
         "TypeImg" : "wind",
         "Unit" : 6,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "98"
      },

Re: New Dashboard Design

Posted: Thursday 30 March 2017 19:03
by robgeerts
Try the latest main.js.
Could you tell me wich notation you want in that block?

Re: New Dashboard Design

Posted: Thursday 30 March 2017 20:14
by maluko
hi

sorry by this, but how can i put this template working?

i have put all files on dashboard-master folder at /home/pi/domoticz path, now what i have to do?

thanks

Re: New Dashboard Design

Posted: Thursday 30 March 2017 20:28
by robgeerts
It's not a template for Domoticz itself.
This dashboard is a standalone-webpage wich interacts with domoticz.

Place all downloaded files in a separate folder and edit CONFIG.js
When done, open index.html in a webbrowser.

Re: New Dashboard Design

Posted: Thursday 30 March 2017 20:32
by pvm
Gitlab misses /js/json_vb.js (my browser complains : 404 (Not Found))

Re: New Dashboard Design

Posted: Thursday 30 March 2017 20:33
by l00pz
robgeerts wrote:Well, I thought, lets fix it immediately, so, you can download the latest version!
Please try this version.
Thanks! Its now working again :)

Re: New Dashboard Design

Posted: Thursday 30 March 2017 20:35
by robgeerts
pvm wrote:Gitlab misses /js/json_vb.js (my browser complains : 404 (Not Found))
It's not a big deal but you can remove this line from index.html:

Code: Select all

<script src="js/json_vb.js"></script>

Re: New Dashboard Design

Posted: Thursday 30 March 2017 20:43
by pvm
robgeerts wrote:
pvm wrote:The slider does not work for my fibaro dimmer as its expecting a 0-100% value
Just fixed this in the latest release.
Backup your old version of the dashboard because I changed more stuff.
Thnx! fixed

Re: New Dashboard Design

Posted: Thursday 30 March 2017 21:10
by Ierlandfan
Can we make an interactive (Google Maps) representation of trafficjams in some block? There's room under the middle part for that for example

Re: New Dashboard Design

Posted: Friday 31 March 2017 10:31
by EdwinK
robgeerts wrote:Try the latest main.js.
Could you tell me wich notation you want in that block?
If possible wind-direction and force. And if possible gust

Re: New Dashboard Design

Posted: Friday 31 March 2017 10:33
by robgeerts
Something like: 190km/u (5), S
I'm thinking it would be cool to have an arrow pointing to the right wind direction..

Verstuurd vanaf mijn SM-G930F met Tapatalk

Re: RE: Re: New Dashboard Design

Posted: Friday 31 March 2017 10:33
by robgeerts
Ierlandfan wrote:Can we make an interactive (Google Maps) representation of trafficjams in some block? There's room under the middle part for that for example
I'll test with this asap

Verstuurd vanaf mijn SM-G930F met Tapatalk

Re: New Dashboard Design

Posted: Friday 31 March 2017 15:51
by Maartenkr
it is possible to create one file that you can change every time? Now for an update I must always change the config and the main.