Page 35 of 184

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 17:36
by robgeerts
Sorry, previous was not a reply to you, kowee. But, kowee, coukd you send me the complete graph output? (Pm)

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 18:06
by koowee
JoshDinsdale wrote:Hey Guys

Im very new to this, discovered this project just yesterday. Im having some issues getting devices to show. If i have var _USE_AUTO_POSITIONING and var _USE_FAVORITES set as true, i get some favorites show, however if i try and do it manually i cant get anything to show. Weather and clock stuff is fine.

Any suggestions?
Just to check, did you remove comments from custom positioning part?

Code: Select all

/*
CUSTOM POSITIONING:
...
//screens[2]['columns'] = [4,5,6]
*/

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 19:02
by EdwinK
Would like that too.

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 19:34
by Ierlandfan
Sorry, i saw you already asnwered him but for those who don't know how to ouput the graphs

http://domoticz:domoticzport/json.htm?type=graph&sensor=counter&idx=--insert-idx--here--&range=day

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 19:48
by Nautilus
robgeerts wrote: When did you download it?
I fixed one issue regarding this, this afternoon..
I did a git pull after I saw your message about the fix earlier today. It updated at least two files. But it did not change the situation for my dasboard unfortunately. Could it be about the device types I have as favorites? Some RGB dimmers, selector switches etc. (also normal temp/hum sensors)?

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 19:49
by robgeerts
Well, you should at least see something...
Does console (F12) give you an error?

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:08
by Nautilus
robgeerts wrote:Well, you should at least see something...
Does console (F12) give you an error?
Well, now I have to say I have no idea what happened. I did several "empty cache and hard reloads" after the last git pull, but the issue remained. I checked the console for errors yesterday and there was something but at the time it seemed like it was not the source of the problems and forgot already what it was. Now as I wanted to check again if there is anything I did one normal reload and vĂ³ila - all the favorite devices are there :)

Now that this seems to be solved, need to ask if there is some way to change the display name for WU widget? My WU location name for where I live is not very descriptive, it's "pws:NAMEOFTOWN18" and I'd like to show there just "NAMEOFTOWN"..:)

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:17
by robgeerts
Later tonight, i'm going to push a new version, with bugfixes reported in this forum.
Please hold on :)

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:21
by shadowland
Great dashboard but....

i can't install (noob)

Were do i put the files??

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:25
by robgeerts
Download the files and place them in a subfolder of the www of Domoticz (or, if you want in a folder on your desktop.
Copy CONFIG-DEFAULT.JS to CONFIG.js and edit this file to fit your needs.
After that, call index.html (including the complete path to that file) in your browser.

For example: http://path.to.domoticz:8080/dashboard/index.html

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:26
by axelbaas
SwordFish wrote:
(..)
I added the white one with Photoshop and rename the white one.
As for the buienradar, it is a script that I found on the forum that reports if its gone rain within 15 min.
Can you share your config.js, especially the part which contain the 'IsItGonnaRain' script?. I want to know how to achieve this within my dashboard.

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:32
by SwordFish
axelbaas wrote:
SwordFish wrote:
(..)
I added the white one with Photoshop and rename the white one.
As for the buienradar, it is a script that I found on the forum that reports if its gone rain within 15 min.
Can you share your config.js, especially the part which contain the 'IsItGonnaRain' script?. I want to know how to achieve this within my dashboard.
It's just a IDX I filled in?


Verzonden vanaf mijn iPhone met Tapatalk

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:36
by shadowland
robgeerts wrote:Download the files and place them in a subfolder of the www of Domoticz (or, if you want in a folder on your desktop.
Copy CONFIG-DEFAULT.JS to CONFIG.js and edit this file to fit your needs.
After that, call index.html (including the complete path to that file) in your browser.

For example: http://path.to.domoticz:8080/dashboard/index.html

Is there a possibility that i go back to the normall domoticz?

It worked but i don't have any sensor/switches programmed.

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:37
by EdwinK
just skip the /dashbord part of the link Rob has given

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:40
by robgeerts
shadowland wrote:
robgeerts wrote:Download the files and place them in a subfolder of the www of Domoticz (or, if you want in a folder on your desktop.
Copy CONFIG-DEFAULT.JS to CONFIG.js and edit this file to fit your needs.
After that, call index.html (including the complete path to that file) in your browser.

For example: http://path.to.domoticz:8080/dashboard/index.html

Is there a possibility that i go back to the normall domoticz?

It worked but i don't have any sensor/switches programmed.
I suspect you've overwritten your normal Domoticz index.html and did not place it in a subfolder?
If yes, re-download Domoticz (or is there an easier way?)
If no, remove the path to subfolder in the URL as Edko66 said :)

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:45
by shadowland
robgeerts wrote:
shadowland wrote:
robgeerts wrote:Download the files and place them in a subfolder of the www of Domoticz (or, if you want in a folder on your desktop.
Copy CONFIG-DEFAULT.JS to CONFIG.js and edit this file to fit your needs.
After that, call index.html (including the complete path to that file) in your browser.

For example: http://path.to.domoticz:8080/dashboard/index.html

Is there a possibility that i go back to the normall domoticz?

It worked but i don't have any sensor/switches programmed.
I suspect you've overwritten your normal Domoticz index.html and did not place it in a subfolder?
If yes, re-download Domoticz (or is there an easier way?)
If no, remove the path to subfolder in the URL as Edko66 said :)
Yes hahahah but it was a clean install, i think i know the problem now!

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:51
by axelbaas
SwordFish wrote:
axelbaas wrote:
SwordFish wrote:
Can you share your config.js, especially the part which contain the 'IsItGonnaRain' script?. I want to know how to achieve this within my dashboard.
It's just a IDX I filled in?
Hmm.. Mine is shown as a normal switch..

Tried both Text and Light/switch;

Code: Select all

IsItGonnaRain	     General	        Text	        Geen regen verwacht binnen komende 15 minuten
Regen verwacht	     Light/Switch	Switch	Off

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 20:53
by robgeerts
Text should work
Sometimes, your browser cache is the problem, try pressing CTRL + F5 at the same time... (or clear your cache)

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 21:03
by EdwinK
axelbaas wrote: Hmm.. Mine is shown as a normal switch..

Tried both Text and Light/switch;

Code: Select all

IsItGonnaRain	     General	        Text	        Geen regen verwacht binnen komende 15 minuten
Regen verwacht	     Light/Switch	Switch	Off

Is it one of the scripts on this page? https://www.domoticz.com/forum/viewtopi ... =38&t=5903

Re: New Dashboard Design v2, custom positioning and multiple screens

Posted: Wednesday 12 April 2017 21:26
by gielie
HI all, first this dashboard is really great, this what i have thus far.

Image

One thing i can't get to work is a live feed of the webcam.
this is the code i have used.

Code: Select all

buttons.webcam = {width:12, isimage:true, image: 'http://192.168.1.128:9595/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=password&'}
Can some one help to get an live feed instead of a static picture.