Dashticz - General Discussions
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
hi All,
I'm experiencing a weird problem, Dashticz was running fine till yesterday afternoon. Steps I did so far:
1) copied the CONFIG.js from Rob, started with only changing the IP address from Domoticz => no result, started to commend out almost everything, still no result
2) removed the Dashticz folder and re-installed it, still no working Dashticz
in the browser console I'm getting the following:
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loadFiles @ main.js?v=1514968064669:34
(anonymous) @ index.html:66
f @ head.js:6
(anonymous) @ head.js:6
(anonymous) @ head.js:6
o @ head.js:6
jquery.min.js:4 XMLHttpRequest cannot load file:///home/pi/domoticz/www/dashboard/custom/CONFIG.js?_=1514968065255. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
Any idea how to solve this?
I'm experiencing a weird problem, Dashticz was running fine till yesterday afternoon. Steps I did so far:
1) copied the CONFIG.js from Rob, started with only changing the IP address from Domoticz => no result, started to commend out almost everything, still no result
2) removed the Dashticz folder and re-installed it, still no working Dashticz
in the browser console I'm getting the following:
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loadFiles @ main.js?v=1514968064669:34
(anonymous) @ index.html:66
f @ head.js:6
(anonymous) @ head.js:6
(anonymous) @ head.js:6
o @ head.js:6
jquery.min.js:4 XMLHttpRequest cannot load file:///home/pi/domoticz/www/dashboard/custom/CONFIG.js?_=1514968065255. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
Any idea how to solve this?
-
- Posts: 4
- Joined: Tuesday 19 December 2017 16:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
I don't think thats the problem. In the browser its visible without any problem. In dashticz i get constant the question for password and username, but no webcam stream. Only in popup screen.aiolos wrote: ↑Wednesday 03 January 2018 0:49 That's because of the security settings in your browser. I'm not sure if you can disable that (and actually I hope not). This message is to prevent websites to post usernames and password to other sites than the one you think (imagine the site of your bank, where malicious code is injected, which sends your username and password to some people with wrong intentions).
In this case annoying and I'm not sure you can easily get round it.
Greetz,
Kottick
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
@Kottick, I've got this on various browsers... Strange, as it worked before without a problem... will try to dig further in the CONFIG.js file
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
@EdwinK; how did you solve this error?EdwinK wrote: ↑Thursday 13 April 2017 23:02 Just this
thenCode: Select all
jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. send @ jquery.min.js:4 ajax @ jquery.min.js:4 (anonymous) @ main.js?v=108:16
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - General Discussions
@Andre, how are you calling your dashticz?
It seems like you are not opening it from a webserver because it tries to get the CONFIG.js from an address starting with: file://
It seems like you are not opening it from a webserver because it tries to get the CONFIG.js from an address starting with: file://
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
@Rob, i use : http://192.168.178.178/dashboard/ Port 80
The thing is that it worked before and since yesterday I get the ‘white ‘ page
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Cnt remember, it's almost a year old. I think Rob did a update then.AndreFR wrote: ↑Wednesday 03 January 2018 19:15@EdwinK; how did you solve this error?EdwinK wrote: ↑Thursday 13 April 2017 23:02 Just this
thenCode: Select all
jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. send @ jquery.min.js:4 ajax @ jquery.min.js:4 (anonymous) @ main.js?v=108:16
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
All, it's working again, I've restarted from scratch with the CONFIG_DEFAULT.js from custom2 folder. I've to recreate it, but at least the defaults are working again...EdwinK wrote: ↑Thursday 04 January 2018 9:39Cnt remember, it's almost a year old. I think Rob did a update then.AndreFR wrote: ↑Wednesday 03 January 2018 19:15@EdwinK; how did you solve this error?EdwinK wrote: ↑Thursday 13 April 2017 23:02 Just this
thenCode: Select all
jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. send @ jquery.min.js:4 ajax @ jquery.min.js:4 (anonymous) @ main.js?v=108:16
Thanks
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Dashticz - General Discussions
I was able to solve the 'gas vandaag' default title: since the _1 and _2 had to be added to the column definition to make the right choice between today and total usage, I did not add the _1 to the block definition. In the block definition, you also define the custom title. Now it is working fine:jake wrote:With the beta's of 2 days before,I had the electricity, solar panel yield and gas blocks showing default titles instead of custom. Today, with a fresh git pull, it solved itself for electricity, but the PVoutput.org splitted block (power and energy) both show the default title 'Solar Panel Yield'.
It was solved before, after mentioning it in this topic
The gas blocks is a different story:
It used to display today's values only.
With the latest beta:
- It creates 2 blocks, both for today and for total (when I use the _1 or _2 I can solve that)
- It gives the totals the custom title
- It gives the today's values the default title 'gas vandaag'
Code: Select all
blocks['186_1'] = {}
blocks['186_1']['width'] = 4;
blocks['186_1']['title'] = 'Verwarming' //gasverbruik
blocks['181_1'] = {}
blocks['181_1']['width'] = 4;
blocks['181_1']['title'] = 'Tapwater' //gasverbruik
blocks['181_1']['icon'] = 'fa-shower';
Code: Select all
blocks['39_1'] = {}
blocks['39_1']['width'] = 4;
blocks['39_1']['title'] = 'Opbrengst' // energie vandaag in kWh
blocks['39_2'] = {}
blocks['39_2']['width'] = 4;
blocks['39_2']['title'] = 'Opbrengst' //vermogen in Watt
blocks['39_2']['unit'] = 'Watt;W';
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz - General Discussions
how do you set them in the columns?
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
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz - General Discussions
dear all..
Please some help..
Is there perhaps a simple how to to set the css options.
I was thinking my dash was very good.
I changed 1 ting and mor things are going crazy..
I hope there is some on that can help me with this css.
Example of my problems....
I was thinking the mid rule works fine..
Only when i use the last rule, my text was better.
When i do a xs-4 there are more things to change ..
Like sunrise or the sunset etc etc
Please.
Thanks
Please some help..
Is there perhaps a simple how to to set the css options.
I was thinking my dash was very good.
I changed 1 ting and mor things are going crazy..
I hope there is some on that can help me with this css.
Code: Select all
/*//////////////// Tekst in de buttons en er onder \\\\\\\\\\\\\\\\\\\\\*/
.col-data .title { font-size: 45px; margin-left: 25px; font-weight: 600; color: deepskyblue; font-variant: small-caps;}
//.col-data span { font-size: 25px; margin-right: 25px; font-weight:220; color: dodgerblue;font-variant: small-caps;}
.col-xs-3 { font-size: 15px; margin-right: 25px; font-weight:20; color: dodgerblue;font-variant: small-caps;} // tekst onder button
I was thinking the mid rule works fine..
Only when i use the last rule, my text was better.
When i do a xs-4 there are more things to change ..
Like sunrise or the sunset etc etc
Please.
Thanks
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
Re: Dashticz - General Discussions
Does the dialogue between Dashticz and Domoticz only run through devices? Or is It also possible to display/adjust domoticz user variables?
If not, I have to re-programm variables to dummy's.....
If not, I have to re-programm variables to dummy's.....
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
I’v Managed the setup to my satisfaction. I’m facing only a strange thing: when I’m accessing my Dashticz from my phone (4g), then I can only see the ‘non-IDX’ part. Everything else is working, except I can’t see my devices. Any idea to solve this? Btw I see them if I access Domoticz....
-
- Posts: 232
- Joined: Wednesday 17 February 2016 22:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Germany
- Contact:
Re: Dashticz - General Discussions
@all happy new year,
I still need help. I can't move my blinds with arrow up/down. I'm using latest beta. Am I the only one with that issue or am I the only one using blinds?
I have an older beta version that is working with blinds, but can't use it because of other issues.
I investigated some changes in main.js but I don't know if that is the root. When that main.js is the reason, somebody might have a look into it and give me information which part I have to delete and/or change. Any help appreciate
I still need help. I can't move my blinds with arrow up/down. I'm using latest beta. Am I the only one with that issue or am I the only one using blinds?
I have an older beta version that is working with blinds, but can't use it because of other issues.
I investigated some changes in main.js but I don't know if that is the root. When that main.js is the reason, somebody might have a look into it and give me information which part I have to delete and/or change. Any help appreciate
Re: Dashticz - General Discussions
Can someone please help this beginner?
Problem: domoticz devices do not show in dashticz. No communication between them?
See screenshots below: device 68 is missing.
Domoticz version is V3.8798, Dashticz is downloaded and installed last week, V2
In Domoticz a password and username is set;
changing the second line below into "config['domoticz_ip'] = 'http://name:[email protected]:8080';" does not help
UPDATE: the sunrise time in upper right corner only shows up with correct IP address in dashticz confi. So I guess it reads the values from Domoticz, ;there is communication between the two.
But why is device 68 not whowing? (offcourse I have tried with other IDX nummers, same result)
CONFIG.js
Problem: domoticz devices do not show in dashticz. No communication between them?
See screenshots below: device 68 is missing.
Domoticz version is V3.8798, Dashticz is downloaded and installed last week, V2
In Domoticz a password and username is set;
changing the second line below into "config['domoticz_ip'] = 'http://name:[email protected]:8080';" does not help
UPDATE: the sunrise time in upper right corner only shows up with correct IP address in dashticz confi. So I guess it reads the values from Domoticz, ;there is communication between the two.
But why is device 68 not whowing? (offcourse I have tried with other IDX nummers, same result)
CONFIG.js
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://192.168.0.106:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Son/4058667'}
var blocks = {}
blocks[68] = {}
blocks[68]['title'] = 'example';
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [buttons.buienradar]
columns[1]['width'] = 5;
columns[2] = {}
columns[2]['blocks'] = [68]
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = ['sunrise']
columns[3]['width'] = 2;
Last edited by renerene on Saturday 06 January 2018 13:10, edited 2 times in total.
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz - General Discussions
mmm
You mis behind [buttons.buienradar] a ; even al so behind ['sunrise'] you mis a ;
Then your block is not complete.
a block of my:
And your with in buttons is different with the with of your colomn
So try a blank config.
Then step 1 wokr? then step 2 works step3 etc etc.....
You make more then 1 error..
Make sure you have a clean code or check the code online with w3...
You mis behind [buttons.buienradar] a ; even al so behind ['sunrise'] you mis a ;
Then your block is not complete.
a block of my:
Code: Select all
blocks[697] = {}
blocks[697]['width'] = 2;
blocks[697]['title'] = 'Laad'; // Kamer laders
blocks[697]['icon'] = 'fa-battery-three-quarters';
blocks[697]['switch'] = true;
blocks[697]['hide_data'] = true;
blocks[697]['show_lastupdate'] = false;
blocks[697]['protected'] = false;
So try a blank config.
Then step 1 wokr? then step 2 works step3 etc etc.....
You make more then 1 error..
Make sure you have a clean code or check the code online with w3...
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
Re: Dashticz - General Discussions
Yes, i have struggled with the semicolums. There is no explanation on the wiki page.You mis behind [buttons.buienradar] a ; even al so behind ['sunrise'] you mis a ;
from the wiki I understand only the first line is mandatoryThen your block is not complete.
Code: Select all
var blocks = {}
The width of the block is relative to the column width it end up in.And your with in buttons is different with the with of your colomn
good idea. Can not make it more blank than the current oneSo try a blank config.
SOLVED: this line HAS TO BE in the config section
Code: Select all
config['auto_positioning'] = 0;
-
- Posts: 14
- Joined: Wednesday 27 December 2017 22:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
hello,
i want to view my camera (d-link dcs5009L) on dashticz but i get just a white screen when i click on it. https://ibb.co/gOCgUw
can sombody help me?
the link i rule i got:
buttons.webcam1 = { width:6, isimage:true, refresh:5000, image: 'http://guest:[email protected]/video.c ... lution=VGA', url: 'http://guest:[email protected]/video.c ... lution=VGA'}
when i go to my browser to http://guest:[email protected]/video.c ... lution=VGA the page loads without any problem.
i want to view my camera (d-link dcs5009L) on dashticz but i get just a white screen when i click on it. https://ibb.co/gOCgUw
can sombody help me?
the link i rule i got:
buttons.webcam1 = { width:6, isimage:true, refresh:5000, image: 'http://guest:[email protected]/video.c ... lution=VGA', url: 'http://guest:[email protected]/video.c ... lution=VGA'}
when i go to my browser to http://guest:[email protected]/video.c ... lution=VGA the page loads without any problem.
-
- Posts: 15
- Joined: Sunday 10 January 2016 18:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: Dashticz - General Discussions
Hi,
I've looked through the Wiki and searched the forum but couldn't find an answer on a seemingly simple question:
Is it possible to change the font size for the calendar and if so how?
Thanks,
Manuel
I've looked through the Wiki and searched the forum but couldn't find an answer on a seemingly simple question:
Is it possible to change the font size for the calendar and if so how?
Thanks,
Manuel
Who is online
Users browsing this forum: No registered users and 0 guests