Page 20 of 184

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 18:31
by robgeerts
It's working here.
It's possible that caching is the problem ;) Could you clean the cache of the browser?

You've got at least 2 columns more right now :) I'll check for the rest of the layout like correct positioning of texts etc.

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 19:11
by SwordFish
robgeerts wrote:It's working here.
It's possible that caching is the problem ;) Could you clean the cache of the browser?

You've got at least 2 columns more right now :) I'll check for the rest of the layout like correct positioning of texts etc.
I send you a pm with a screenshot but i think the screenshot isn't send with it so here the screenshot.

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:00
by EdwinK
robgeerts wrote:No, I set my port to 8080 in Kodi, so used that port in Domoticz too.
I did so too, and it didn't work. So, setting it to 9090 made it work. Somehow that is the port that Kodi and Domoticz talk to each other.

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:06
by SwordFish
Its works great. Still not done but will go on tomorrow.

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:16
by robgeerts
EdKo66 wrote:
robgeerts wrote:No, I set my port to 8080 in Kodi, so used that port in Domoticz too.
I did so too, and it didn't work. So, setting it to 9090 made it work. Somehow that is the port that Kodi and Domoticz talk to each other.
Thanks, will give it a try!

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:18
by robgeerts
Train and traffic info (both dutch) are working again:

Sample usage:

Code: Select all

columns[2]['blocks'] = ['train','traffic']

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:31
by robgeerts
robgeerts wrote:
EdKo66 wrote:
robgeerts wrote:No, I set my port to 8080 in Kodi, so used that port in Domoticz too.
I did so too, and it didn't work. So, setting it to 9090 made it work. Somehow that is the port that Kodi and Domoticz talk to each other.
Thanks, will give it a try!
Too bad... didn't work.
I'm using port 9090 now.. (set in kodi and domoticz).

IP + Port is correct:
2017-04-06 20:27:54.424 Kodi: (Kodi) Connected to '192.168.1.11:9090'.
2017-04-06 20:27:54.425 Kodi: (Kodi) Event: 'On'.

The remote is sending a signal but Kodi doesn't do anything...
App on the phone is working correctly (having the same ip/port)

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:37
by HansieNL
Maybe an icon in front of the text?
fa-train / fa-car

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 20:41
by HansieNL
robgeerts wrote:
robgeerts wrote:
EdKo66 wrote:
I did so too, and it didn't work. So, setting it to 9090 made it work. Somehow that is the port that Kodi and Domoticz talk to each other.
Thanks, will give it a try!
Too bad... didn't work.
I'm using port 9090 now.. (set in kodi and domoticz).

IP + Port is correct:
2017-04-06 20:27:54.424 Kodi: (Kodi) Connected to '192.168.1.11:9090'.
2017-04-06 20:27:54.425 Kodi: (Kodi) Event: 'On'.

The remote is sending a signal but Kodi doesn't do anything...
App on the phone is working correctly (having the same ip/port)
Rob ,what Kodi do you use? Application, LibreELEC or OpenELEC?

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 21:13
by robgeerts
HansieNL wrote:Maybe an icon in front of the text?
fa-train / fa-car
Done!

HansieNL wrote: Rob ,what Kodi do you use? Application, LibreELEC or OpenELEC?
LibreElec, should work out of the box..

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 21:58
by HansieNL
I had same kind of problem. I couldn't use Kodi (LibreELEC) in Domoticz a few months ago, but it worked in OpenELEC. Kore app worked well with both versions. OpenELEC and LibreELEC seems not to handle the remote control exactly the same way. I did a LibreELEC update and now it works (just checked to be sure).
Have you already checked if there's a LibreELEC update for your device.

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 22:07
by robgeerts
Thanks, I'll check later.

Currently I'm working on a multiple screen-function (as requested bij @SwordFish via PM).
This means, you can have 3 (or whatever) columns on the main screen but you can swipe it to left/right for more columns.
This way you can create 1 dashboard for switches, sliders and stuff like that and 1 dashboard for media players, news etc..

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 22:12
by SwordFish
Thanks for that. You really keep going tonight ;)
Bydeway I use the windows version of Kodi, maybe that is the difference.

Re: New Dashboard Design v2, with custom positioning

Posted: Thursday 06 April 2017 23:40
by Dropshot
This dashboard looks amazing!

I've downloaded and extracted the zip to a subfolder in domoticz and changed CONFIG. Question: should it run instantly, or am I missing something, since I don't see a new dashboard?

Re: New Dashboard Design v2, with custom positioning

Posted: Friday 07 April 2017 0:02
by Maartenkr
This is really great!

2 quesions
how do I put a name above it like switch?
and how can i get buienradar back the map?

Re: New Dashboard Design v2, with custom positioning

Posted: Friday 07 April 2017 8:40
by robgeerts
Dropshot wrote:This dashboard looks amazing!

I've downloaded and extracted the zip to a subfolder in domoticz and changed CONFIG. Question: should it run instantly, or am I missing something, since I don't see a new dashboard?
If you downloaded it to a subfolder, you have to call it like this:

http://192.168.1.20:8084/subfolder/index.html
So, first your regular domoticz-path, then subfolder, then index.html

Maartenkr wrote:This is really great!

2 quesions
how do I put a name above it like switch?
and how can i get buienradar back the map?

You can enter a title by defining him first, in config.js just after

Code: Select all

var blocks{}
like:

Code: Select all

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';
If you've done this, you can use it like:

Code: Select all

columns[1]['blocks'] = ['blocktitle_1',106,204,248,295]
What do you mean with your question about buienradar?

Re: New Dashboard Design v2, with custom positioning

Posted: Friday 07 April 2017 9:14
by SwordFish
I'm filling in my dashboard and i noticed that a block with a scene in my case never gets bigger than 4 even if i fill in 12.
Is this correct and that works only with dimmers?
It also don't work if i do idx_3.

Edit: Also the calendar button isn't displaying correct.
Sorry i have the time. Had surgery and sitting at home 8-)

Re: New Dashboard Design v2, with custom positioning

Posted: Friday 07 April 2017 9:32
by robgeerts
SwordFish wrote:I'm filling in my dashboard and i noticed that a block with a scene in my case never gets bigger than 4 even if i fill in 12.
Is this correct and that works only with dimmers?
It also don't work if i do idx_3.

Edit: Also the calendar button isn't displaying correct.
I tried this, for my scene with idx 3, and it works:

Code: Select all

var blocks = {}
blocks['s3'] = {}
blocks['s3']['width'] = 12;

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s3',233,62]
columns[1]['width'] = 5;
Whats wrong with the calendar button?
Edit: Sorry, i see your screenshot now ;)

Re: New Dashboard Design v2, with custom positioning

Posted: Friday 07 April 2017 9:35
by SwordFish
robgeerts wrote:
SwordFish wrote:I'm filling in my dashboard and i noticed that a block with a scene in my case never gets bigger than 4 even if i fill in 12.
Is this correct and that works only with dimmers?
It also don't work if i do idx_3.

Edit: Also the calendar button isn't displaying correct.
I tried this, for my scene with idx 3, and it works:

Code: Select all

var blocks = {}
blocks['s3'] = {}
blocks['s3']['width'] = 12;

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s3',233,62]
columns[1]['width'] = 5;
Whats wrong with the calendar button?
Edit: Sorry, i see your screenshot now ;)
Damm those quotes, i only fill them in by columns :oops:

Re: New Dashboard Design v2, with custom positioning

Posted: Friday 07 April 2017 9:37
by robgeerts
Preview with multiple dashboards:
Image