Page 122 of 184

Re: Dashticz - General Discussions

Posted: Sunday 21 May 2017 18:10
by MsbS
EdKo66 wrote:Try first to set

Code: Select all

var _USE_AUTO_POSITIONING = true;
var _USE_FAVORITES = false;
and see if this gets you anything. Do you have anything set as favorite in Domoticz (yellow star)?
In Domoticz I have 5 items in myDashboard (with yellow star): 1 RPi motheboard temperature and 4 WUnderground sensors (T+H+B and wind - they are doubled, in Temperature and Weather sections).

When I set the vars as you suggested (auto positioning true, use faourites false), I get two switches from Domoticz on my Dashticz page - both are the 'ping' type (monitoring a web page availability), none of them is favorite in Domoticz.


After install - is there anything else I should do? I followed the wiki instructions: went to custom folder, copied the default config to CONFIG.js and edited it accordingly. Anything I should do with the layout or css perhaps?

Re: Dashticz - General Discussions

Posted: Sunday 21 May 2017 18:16
by HansieNL
MsbS wrote:
EdKo66 wrote:Try first to set

Code: Select all

var _USE_AUTO_POSITIONING = true;
var _USE_FAVORITES = false;
and see if this gets you anything. Do you have anything set as favorite in Domoticz (yellow star)?
In Domoticz I have 5 items in myDashboard (with yellow star): 1 RPi motheboard temperature and 4 WUnderground sensors (T+H+B and wind - they are doubled, in Temperature and Weather sections).

When I set the vars as you suggested (auto positioning true, use faourites false), I get two switches from Domoticz on my Dashticz page - both are the 'ping' type (monitoring a web page availability), none of them is favorite in Domoticz.


After install - is there anything else I should do? I followed the wiki instructions: went to custom folder, copied the default config to CONFIG.js and edited it accordingly. Anything I should do with the layout or css perhaps?
You have to set your auto positioning to false too and define your blocks, like described in the wiki. Just start with a few blocks to test.
Then you can add whatever block you want.

Re: Dashticz - General Discussions

Posted: Sunday 21 May 2017 18:21
by MsbS
Ah, OK, no problem. I understood from the wiki entry that dashticz will automatically create layout based on my favorites. If not - fine, it means I don't have an issue :)

Re: Dashticz - General Discussions

Posted: Sunday 21 May 2017 18:23
by EdwinK
HansieNL wrote:

You have to set your auto positioning to false too and define your blocks, like described in the wiki. Just start with a few blocks to test.
Then you can add whatever block you want.
I wanted to see if the script could get the favorites. Seems that worked. Next it's time to work the config and add stuff.

Re: Dashticz - General Discussions

Posted: Sunday 21 May 2017 21:01
by MsbS
Yay, it's slowly starting to take shape. It took me a while to grasp the blocks/columns concept and syntax, but now my dashboard is finally starting to look usable.
Dank u wel!

Re: Dashticz - General Discussions

Posted: Sunday 21 May 2017 23:22
by Trigun
Hi Guys, I am new to the update process but can someone tell me what the errors re when I update?
when I do a git pull I get the following errors. This is also happening when I deleted the whole setup en put in the latest files.

Code: Select all

Updating e10e465..f071e29
error: Your local changes to the following files would be overwritten by merge:
        .gitignore
        README.md
        css/creative.css
        index.html
        js/blocks.js
        js/functions.js
        js/graphs.js
        js/main.js
        js/news.js
        js/ns.js
        js/sortable.js
        js/switches.js
        js/traffic.js
        js/trash.js
        lang/de_DE.js
        lang/en_US.js
        lang/fr_FR.js
        lang/hu_HU.js
        lang/it_IT.js
        lang/nl_NL.js
        lang/pt_PT.js
        lang/sv_SE.js
        vendor/ical-parser/ical_parser.js
        vendor/moment.js
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
        custom_2/CONFIG_DEFAULT.js
        img/kliko_black.png
        img/kliko_blue.png
        img/kliko_brown.png
        img/kliko_green.png
        img/kliko_grey.png
        img/kliko_orange.png
        img/kliko_red.png
        img/kliko_white.png
        img/kliko_yellow.png
        index2.html
        js/calendar.js
        js/publictransport.js
        js/thermostat.js
        sounds/airplane.aac
        sounds/airplane.mp3
        sounds/airplane.ogg
        sounds/beer_can_opening.aac
        sounds/beer_can_opening.mp3
        sounds/beer_can_opening.ogg
        sounds/bell_ring.aac
        sounds/bell_ring.mp3
        sounds/bell_ring.ogg
        sounds/branch_break.aac
        sounds/branch_break.mp3
        sounds/branch_break.ogg
        sounds/button_click.aac
        sounds/button_click.mp3
        sounds/button_click.ogg
        sounds/button_click_on.aac
        sounds/button_click_on.mp3
        sounds/button_click_on.ogg
        sounds/button_push.aac
        sounds/button_push.mp3
        sounds/button_push.ogg
        sounds/camera_flashing.aac
        sounds/camera_flashing.mp3
        sounds/camera_flashing.ogg
        sounds/computer_error.aac
        sounds/computer_error.mp3
        sounds/computer_error.ogg
        sounds/door_bell.aac
        sounds/door_bell.mp3
        sounds/door_bell.ogg
        sounds/door_bump.aac
        sounds/door_bump.mp3
        sounds/door_bump.ogg
        sounds/doorbell.aac
        sounds/doorbell.mp3
        sounds/doorbell.ogg
        sounds/glass.aac
        sounds/glass.mp3
        sounds/glass.ogg
        sounds/light_bulb_breaking.aac
        sounds/light_bulb_breaking.mp3
        sounds/light_bulb_breaking.ogg
        sounds/ping.aac
        sounds/ping.mp3
        sounds/ping.ogg
        sounds/pop_cork.aac
        sounds/pop_cork.mp3
        sounds/pop_cork.ogg
        sounds/snap.aac
        sounds/snap.mp3
        sounds/snap.ogg
        sounds/sonar.aac
        sounds/sonar.mp3
        sounds/sonar.ogg
        sounds/tap.aac
        sounds/tap.mp3
        sounds/tap.ogg
        sounds/water_droplet.aac
        sounds/water_droplet.mp3
        sounds/water_droplet.ogg
        vendor/ion.sound/ion.sound.js
        vendor/ion.sound/ion.sound.min.js
        vendor/mobiledetect/mobiledetect.js
Please move or remove them before you can merge.
Aborting
Thnx in advance!


Sent from my iPhone using Tapatalk

Re: Dashticz - General Discussions

Posted: Monday 22 May 2017 0:36
by HansieNL
Trigun wrote:Hi Guys, I am new to the update process but can someone tell me what the errors re when I update?
when I do a git pull I get the following errors. This is also happening when I deleted the whole setup en put in the latest files.
Spoiler: show

Code: Select all

Updating e10e465..f071e29
error: Your local changes to the following files would be overwritten by merge:
        .gitignore
        README.md
        css/creative.css
        index.html
        js/blocks.js
        js/functions.js
        js/graphs.js
        js/main.js
        js/news.js
        js/ns.js
        js/sortable.js
        js/switches.js
        js/traffic.js
        js/trash.js
        lang/de_DE.js
        lang/en_US.js
        lang/fr_FR.js
        lang/hu_HU.js
        lang/it_IT.js
        lang/nl_NL.js
        lang/pt_PT.js
        lang/sv_SE.js
        vendor/ical-parser/ical_parser.js
        vendor/moment.js
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
        custom_2/CONFIG_DEFAULT.js
        img/kliko_black.png
        img/kliko_blue.png
        img/kliko_brown.png
        img/kliko_green.png
        img/kliko_grey.png
        img/kliko_orange.png
        img/kliko_red.png
        img/kliko_white.png
        img/kliko_yellow.png
        index2.html
        js/calendar.js
        js/publictransport.js
        js/thermostat.js
        sounds/airplane.aac
        sounds/airplane.mp3
        sounds/airplane.ogg
        sounds/beer_can_opening.aac
        sounds/beer_can_opening.mp3
        sounds/beer_can_opening.ogg
        sounds/bell_ring.aac
        sounds/bell_ring.mp3
        sounds/bell_ring.ogg
        sounds/branch_break.aac
        sounds/branch_break.mp3
        sounds/branch_break.ogg
        sounds/button_click.aac
        sounds/button_click.mp3
        sounds/button_click.ogg
        sounds/button_click_on.aac
        sounds/button_click_on.mp3
        sounds/button_click_on.ogg
        sounds/button_push.aac
        sounds/button_push.mp3
        sounds/button_push.ogg
        sounds/camera_flashing.aac
        sounds/camera_flashing.mp3
        sounds/camera_flashing.ogg
        sounds/computer_error.aac
        sounds/computer_error.mp3
        sounds/computer_error.ogg
        sounds/door_bell.aac
        sounds/door_bell.mp3
        sounds/door_bell.ogg
        sounds/door_bump.aac
        sounds/door_bump.mp3
        sounds/door_bump.ogg
        sounds/doorbell.aac
        sounds/doorbell.mp3
        sounds/doorbell.ogg
        sounds/glass.aac
        sounds/glass.mp3
        sounds/glass.ogg
        sounds/light_bulb_breaking.aac
        sounds/light_bulb_breaking.mp3
        sounds/light_bulb_breaking.ogg
        sounds/ping.aac
        sounds/ping.mp3
        sounds/ping.ogg
        sounds/pop_cork.aac
        sounds/pop_cork.mp3
        sounds/pop_cork.ogg
        sounds/snap.aac
        sounds/snap.mp3
        sounds/snap.ogg
        sounds/sonar.aac
        sounds/sonar.mp3
        sounds/sonar.ogg
        sounds/tap.aac
        sounds/tap.mp3
        sounds/tap.ogg
        sounds/water_droplet.aac
        sounds/water_droplet.mp3
        sounds/water_droplet.ogg
        vendor/ion.sound/ion.sound.js
        vendor/ion.sound/ion.sound.min.js
        vendor/mobiledetect/mobiledetect.js
Please move or remove them before you can merge.
Aborting
Thnx in advance!
Have you first cloned? And are you sure you are running git pull from the right folder?

Re: Google MAPS

Posted: Monday 22 May 2017 16:33
by vgr2
Hi, did you add the refresh?

Re: Google MAPS

Posted: Monday 22 May 2017 18:56
by robgeerts
Yes didnt you notice? ;) have the latest version?

Re: Dashticz - General Discussions

Posted: Monday 22 May 2017 19:52
by MsbS
Another (hopefully simple) question. How can I remove the icon from the RSS feed? I tried blocks['news_1']['icon']=''; but it did nothing.

Dashticz - General Discussions

Posted: Monday 22 May 2017 22:48
by Trigun
HansieNL wrote:
Trigun wrote:Hi Guys, I am new to the update process but can someone tell me what the errors re when I update?
when I do a git pull I get the following errors. This is also happening when I deleted the whole setup en put in the latest files.
Spoiler: show

Code: Select all

Updating e10e465..f071e29
error: Your local changes to the following files would be overwritten by merge:
        .gitignore
        README.md
        css/creative.css
        index.html
        js/blocks.js
        js/functions.js
        js/graphs.js
        js/main.js
        js/news.js
        js/ns.js
        js/sortable.js
        js/switches.js
        js/traffic.js
        js/trash.js
        lang/de_DE.js
        lang/en_US.js
        lang/fr_FR.js
        lang/hu_HU.js
        lang/it_IT.js
        lang/nl_NL.js
        lang/pt_PT.js
        lang/sv_SE.js
        vendor/ical-parser/ical_parser.js
        vendor/moment.js
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
        custom_2/CONFIG_DEFAULT.js
        img/kliko_black.png
        img/kliko_blue.png
        img/kliko_brown.png
        img/kliko_green.png
        img/kliko_grey.png
        img/kliko_orange.png
        img/kliko_red.png
        img/kliko_white.png
        img/kliko_yellow.png
        index2.html
        js/calendar.js
        js/publictransport.js
        js/thermostat.js
        sounds/airplane.aac
        sounds/airplane.mp3
        sounds/airplane.ogg
        sounds/beer_can_opening.aac
        sounds/beer_can_opening.mp3
        sounds/beer_can_opening.ogg
        sounds/bell_ring.aac
        sounds/bell_ring.mp3
        sounds/bell_ring.ogg
        sounds/branch_break.aac
        sounds/branch_break.mp3
        sounds/branch_break.ogg
        sounds/button_click.aac
        sounds/button_click.mp3
        sounds/button_click.ogg
        sounds/button_click_on.aac
        sounds/button_click_on.mp3
        sounds/button_click_on.ogg
        sounds/button_push.aac
        sounds/button_push.mp3
        sounds/button_push.ogg
        sounds/camera_flashing.aac
        sounds/camera_flashing.mp3
        sounds/camera_flashing.ogg
        sounds/computer_error.aac
        sounds/computer_error.mp3
        sounds/computer_error.ogg
        sounds/door_bell.aac
        sounds/door_bell.mp3
        sounds/door_bell.ogg
        sounds/door_bump.aac
        sounds/door_bump.mp3
        sounds/door_bump.ogg
        sounds/doorbell.aac
        sounds/doorbell.mp3
        sounds/doorbell.ogg
        sounds/glass.aac
        sounds/glass.mp3
        sounds/glass.ogg
        sounds/light_bulb_breaking.aac
        sounds/light_bulb_breaking.mp3
        sounds/light_bulb_breaking.ogg
        sounds/ping.aac
        sounds/ping.mp3
        sounds/ping.ogg
        sounds/pop_cork.aac
        sounds/pop_cork.mp3
        sounds/pop_cork.ogg
        sounds/snap.aac
        sounds/snap.mp3
        sounds/snap.ogg
        sounds/sonar.aac
        sounds/sonar.mp3
        sounds/sonar.ogg
        sounds/tap.aac
        sounds/tap.mp3
        sounds/tap.ogg
        sounds/water_droplet.aac
        sounds/water_droplet.mp3
        sounds/water_droplet.ogg
        vendor/ion.sound/ion.sound.js
        vendor/ion.sound/ion.sound.min.js
        vendor/mobiledetect/mobiledetect.js
Please move or remove them before you can merge.
Aborting
Thnx in advance!
Have you first cloned? And are you sure you are running git pull from the right folder?
I did a whole new install and it works now. Guess it has to do with moving the files


Sent from my iPhone using Tapatalk

Re: Dashticz - General Discussions

Posted: Tuesday 23 May 2017 11:33
by Derik
mmm Getting creasy... :-(

Why do i get:
ScreenShot003.jpg
ScreenShot003.jpg (58.47 KiB) Viewed 2870 times
And:
ScreenShot005.jpg
ScreenShot005.jpg (14.41 KiB) Viewed 2870 times
I looks the api is running.
Only no traffic.
And no weather... just the 4 squares..

Re: Dashticz - General Discussions

Posted: Tuesday 23 May 2017 23:12
by Trigun
Hi guys, I noticed that the setup uses a lot of disk space when running continuously. Does anyone else has this as well? Or am I doing something wrong?
I left it on (with the standby as the main page) on my iPad for the evening and it almost used 2gb of temp data. Is there a way to reduce this? As my goal is to have a tablet running all the time.


Sent from my iPhone using Tapatalk

Re: Google MAPS

Posted: Wednesday 24 May 2017 17:32
by repoman
Hi. Just started with the traffic map. Very nice!

How do i change the height of the map.
Is there something like var _maps_height=400?

Thanks,
Pascal

increase temp value size in standby screen

Posted: Wednesday 24 May 2017 23:33
by fgoswe
Hi!

I'm a rookie in web design and I trying to make a site for my phone.
I have studied the wiki but I couldn't find a solution for my problem.
It's probably quite easy to do, so I hope you folks can help me.

In the cells with the name UTE, I will increase the "15,6" text size.
Where can I find the value? I have found the value that make UTE bigger, but it won't affect "15,6".
image1.PNG
image1.PNG (146.82 KiB) Viewed 2404 times

Re: Dashticz - General Discussions

Posted: Thursday 25 May 2017 20:13
by Trigun
Trigun wrote:Hi guys, I noticed that the setup uses a lot of disk space when running continuously. Does anyone else has this as well? Or am I doing something wrong?
I left it on (with the standby as the main page) on my iPad for the evening and it almost used 2gb of temp data. Is there a way to reduce this? As my goal is to have a tablet running all the time.


Sent from my iPhone using Tapatalk
Could it be that the camera is storing the pictures on the iPad locally?
As i have it set on every 2seconds :)


Sent from my iPhone using Tapatalk

Re: Dashticz - General Discussions

Posted: Friday 26 May 2017 19:46
by madrian
Long time no see, guys! :) Why the standby screen is full dark? It was something like "dark theme" before in standby.

+it is constantly waking up from standby mode, it's normaly?


Re: Dashticz - General Discussions

Posted: Saturday 27 May 2017 15:33
by mvveelen
No, this is not normal behaviour. Maybe you can post your CONFIG.js (without passwords and such) ? What is the part you have for the standby?
I have:

Code: Select all

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
What if you backup your custom folder, reinstall Dashticz and then upload your current custom folder?

Re: Dashticz - General Discussions

Posted: Saturday 27 May 2017 15:34
by tontze
Blueone wrote:
tontze wrote:
Blueone wrote:
This can happen because all kind of reason, domoticz.com busy, bad wifi etc, nothing to worry about. You can change the alert type in main.js from "alert(...." to "console.error(..." This way the popup doesn't come but you can still see the error if nessesary in the console log.
Can you explain how to do this ? I have chrome, and other computer has firefox, equally often comes that error.

i have a feeling that If i use computer, it doesnt come at all. After being idle for a while it comes. In both computers ..
There could be an other issues if the error pop ups serveral times a day.
I have disabled my config.js line by line allmost from start to end, im sure there is no error in config file, so it must be something in my home network ..

This error makes dashticz unusable :/ It is allways there when screen wakes up, when been idle for a while etc. :(

If its possible, where can it be disabled, i really dont want to discard this great dashboard !

Re: Dashticz - General Discussions

Posted: Saturday 27 May 2017 17:31
by koowee
tontze wrote:If its possible, where can it be disabled, i really dont want to discard this great dashboard !
There is this kind of row in main.js

Code: Select all

alert("Error: " + msg + "\nurl: " + url + "\nline: " + line);
You can try to change "alert" to "console.error"

Code: Select all

console.error("Error: " + msg + "\nurl: " + url + "\nline: " + line);
You should remember that this main.js will be overwritten when you upgrade Dashticz