Dashticz, framb0ise,default.html - Settings help needed

Moderator: leecollings

User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Dashticz, framb0ise,default.html - Settings help needed

Post by jvdz »

antipiot wrote: Friday 02 February 2018 13:22 Under domoticz adress i put http://10.0.0.13:8080 or any other adress and click save.
i click again on the wheel - the domoticz adress is empty.
Ok, shouldn't the domoticz url be, as you stated, this: http://test:[email protected]:8080 ?

Ensure you have the right url including userid & password. Press F12 to put your chrome browser in developer mode. Select the console tab. Fill in the proper URL and hit save. Now check what the Console tell you and see if it reports any errors.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
antipiot
Posts: 45
Joined: Wednesday 03 January 2018 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Switzerland
Contact:

Re: Dashticz, framb0ise,default.html - Settings help needed

Post by antipiot »

CaesarPL wrote: Friday 02 February 2018 13:26 Try storing framb0ise config in Domoticz.
It's actually installed in domoticz/WWW
Do you mean installing it as domoticz/framb0ise instead of domoticz/WWW/Framb0ise?

sounds strange to me but i'm not used to this. Will try as soon as i can.

thanks for your help :-)
antipiot
Posts: 45
Joined: Wednesday 03 January 2018 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Switzerland
Contact:

Re: Dashticz, framb0ise,default.html - Settings help needed

Post by antipiot »

jvdz wrote: Friday 02 February 2018 14:21
antipiot wrote: Friday 02 February 2018 13:22 Under domoticz adress i put http://10.0.0.13:8080 or any other adress and click save.
i click again on the wheel - the domoticz adress is empty.
Ok, shouldn't the domoticz url be, as you stated, this: http://test:[email protected]:8080 ?

Ensure you have the right url including userid & password. Press F12 to put your chrome browser in developer mode. Select the console tab. Fill in the proper URL and hit save. Now check what the Console tell you and see if it reports any errors.

Jos
thansk for your answers and suggestions:

the urls are correct in both ways. as subnet is allowed and login is correct, this is not a problem.

i already did the
Press F12 to put your chrome browser in developer mode. Select the console tab. Fill in the proper URL and hit save. Now check what the Console tell you and see if it reports any errors.
part and got as in previous post:
jvdz wrote: Thursday 01 February 2018 20:40
The "/framb0ise/undefined" shouldn't be there...right?
What have you defined in the settings page?
The domoticz server url should only have: https://10.0.0.13:8900

Jos
I think you're right:
Did some test on mozzila:
When i apply my settings i get

Code: Select all

Loading mixed (insecure) active content “http://www.domoticz.com/forum/assets/fonts/fontawesome-webfont.woff2?v=4.7.0” on a secure page
[Learn More]
framb0ise
TypeError: data.result is undefined
[Learn More]
framboise.js:1017:3
loadsettingsfromdomoticz/<
https://10.0.0.13:8900/framb0ise/framboise.js:1017:3
i
https://10.0.0.13:8900/framb0ise/bower_components/jquery/dist/jquery.min.js:2:28012
fireWith
https://10.0.0.13:8900/framb0ise/bower_components/jquery/dist/jquery.min.js:2:28783
A
https://10.0.0.13:8900/framb0ise/bower_components/jquery/dist/jquery.min.js:4:14033
c/<
https://10.0.0.13:8900/framb0ise/bower_components/jquery/dist/jquery.min.js:4:16323
I only get:

Code: Select all

404
GET
json.htm?type=plans&displayhidden=1
10.0.0.13:8900
JS
xhr
html
233 B
85 B
→ 42 ms
404
GET
json.htm?type=plans&displayhidden=1
10.0.0.13:8900
JS
xhr
html
233 B
85 B
→ 42 ms
404
GET
json.htm?type=plans&displayhidden=1
10.0.0.13:8900
JS
xhr
html
233 B
85 B
→ 43 ms
404
GET
json.htm?type=plans&displayhidden=1
10.0.0.13:8900
JS
xhr
html
233 B
85 B
→ 43 ms
404
GET
json.htm?type=plans&displayhidden=1
10.0.0.13:8900
JS
xhr
html
233 B
85 B
And:

Code: Select all

XML Parsing Error: no root element found
Location: https://10.0.0.13:8900/framb0ise/undefined/json.htm?type=plans&displayhidden=1
Line Number 1, Column 1:
this undefined again :-/ Under Mozilla

May this be the problem?
but why do i get 404
antipiot
Posts: 45
Joined: Wednesday 03 January 2018 15:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Switzerland
Contact:

Re: Dashticz, framb0ise,default.html - Settings help needed

Post by antipiot »

OK:

I've make some progress: i have been able to:

- Make Flatz connect and interract.
- Dashticz connect and interract by 2 way:

I have been able to get Dashticz connected folowing:
viewtopic.php?f=8&t=5166&start=140
robgeerts wrote: Wednesday 02 August 2017 20:14 Do you use the regular (master) version or the beta?
If you use the original version, try the CONFIG.JS I've added as an attachment first..
BUT: it doesent use this config.js: if i do any modifications: They are sotred in local storage: config.js dont get any modifications.
I can edit the settings correcty and they're applied correctly:
I'm not able to add tiles and save.

I was able to get my Dashticz connected using the original config. JS BUT i had to modify it folowing:

viewtopic.php?f=8&t=5166&start=140
miesjel wrote: Wednesday 06 September 2017 20:21
miesjel wrote: Wednesday 06 September 2017 15:50 I have a problem getting Dashticz to work after the latest update, before that it worked like you would expect (showing my favourits from Domoticz).

Since i've updated Dashticz i'm having problems getting information, it is stuck at saying Domoticz offline. I even removed Dashticz and reinstalled it but that didnt help either :cry: .

After the reinstalled i didnt configure the CONFIG.js so i could see the default page (like before) with example data. This wasnt showing up, after that i entered the IP and port number, saved the config and rebooted the Domoticz server, problem still not solved.

I've tested it on two different devices, and with 3 different browsers. Firefox says Domoticz Offline, Edge and Chrome say connection refused. I dont use authentication.

any ideas?
Solved the problem! After a few reboots I got the Dashticz example page, i used the gear to make a config and copied the data to a blanc config.js file. After that, it worked! After some troubleshooting it became clear that the problem was with the columns part in the example config file. After removing those lines, the problem was solved.
So my config file looked like:

Code: Select all

var config = {}
config['domoticz_ip'] = 'https://10.0.0.13:8900';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
  ]; 


var buttons = {}
buttons.nunl = {key: 'nunl',  width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos',  width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['key'] = 'blocktitle_1';
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Example';
Instead of:

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.1.3:8084';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
  ]; 


var buttons = {}
buttons.nunl = {key: 'nunl',  width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos',  width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['key'] = 'blocktitle_1';
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Example';


var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
					
columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5; 

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2; 

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]

For this method: no changes can be made and the config.js got no changes.

So the problem seems to be in the config files. Am i wrong? :?:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest