Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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?
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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.
Blah blah blah
MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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 :)
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - General Discussions

Post 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.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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!
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - General Discussions

Post 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
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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?
Blah blah blah
vgr2
Posts: 71
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Re: Google MAPS

Post by vgr2 »

Hi, did you add the refresh?
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Google MAPS

Post by robgeerts »

Yes didnt you notice? ;) have the latest version?
MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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.
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Dashticz - General Discussions

Post 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
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - General Discussions

Post by Derik »

mmm Getting creasy... :-(

Why do i get:
ScreenShot003.jpg
ScreenShot003.jpg (58.47 KiB) Viewed 2858 times
And:
ScreenShot005.jpg
ScreenShot005.jpg (14.41 KiB) Viewed 2858 times
I looks the api is running.
Only no traffic.
And no weather... just the 4 squares..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - General Discussions

Post 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
repoman
Posts: 38
Joined: Saturday 15 April 2017 13:05
Target OS: Windows
Domoticz version:
Contact:

Re: Google MAPS

Post 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
fgoswe
Posts: 1
Joined: Tuesday 13 December 2016 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

increase temp value size in standby screen

Post 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 2392 times
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - General Discussions

Post 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
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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?

User avatar
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - General Discussions

Post 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?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Dashticz - General Discussions

Post 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 !
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: Dashticz - General Discussions

Post 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
Locked

Who is online

Users browsing this forum: No registered users and 1 guest