-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No domoticz connection and no settings save #263
Comments
Use the wiki to get started http://www.domoticz.com/wiki/Dashticz_V2 |
So did I. Then I came here. |
Is this still an issue? |
I'd like to add that I too have this issue, I can change the config in my CONFIG.js file and it is visible within the dashticz_v2 webinterface, however trying to change something within the webinterface (top right corner) it does not save it, after refreshing and opening the settings again (webinterface top right) its changed back to what it was before changing. And I am also not able to see my Domoticz switches within the dashboard. |
Changing the CONFIG.js to a empty one with only:
It seems to loadin the Domoticz switches. EDIT: |
Same here! I followed the tips with replacing the config file. With the renamed CONFIG.js file I only get the icons for news, train etc, I managed to get some config.js but adding icons manually was not possible. And automatically I have the same temperature 10 times, gas 6 times or so :( So went back to the original config.js, looking to a screen with only nu.nl news, some bus-travelings near Eindhoven and sunrise/sunset times. Thats about it :O |
Finally I think what the problem is - the CONFIG.js file has only write permissions by default for "owner". After login in with WinSCP, go to the web-folder of your installation, /custom, right click (properties) for the CONFIG.js file and enable also the Writing permissions for owner, group, other. After changing this the settings are finally saved. hth |
i am have the same problem. Domoticz : Version 4.9700 I run SHH to install it and follow the wiki page Tried all the things you guys wrote here. When running the F12 function Don't know how the fix this. |
THANX! This works for me :-) |
Hello!
I tried to install Dashticz v2 following the guides on domoticz, forum and on the on on the git page and none of them where working:
I have been able to get Dashticz connected after many time following:
https://www.domoticz.com/forum/viewtopic.php?f=8&t=5166&start=140
BUT: it doesent use this config.js: if i do any modifications: They are stored 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:
[url]https://www.domoticz.com/forum/viewtopic.php?f=8&t=5166&start=140 [/url]
So my config file looked like:
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]
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]
[/code]
For this method: no changes can be made and the config.js got no changes.
The text was updated successfully, but these errors were encountered: