Page 1 of 1
Settings not saved on RPi
Posted: Sunday 08 July 2018 15:17
by mvveelen
Hi,
after months of not playing with Dashticz and moving my Domoticz setup to an RPi3, I'm trying to pick up from where I left.
Now, I see one can use the Settings wheel to adjust some settings. But, on my setup the settings aren't saved. I couldn't find anything in the wiki about his, so I'm asking here: what am I forgetting?
I CHMOD'ed CONFIG.js to 777, and installed Dashticz using GIT. Any tips?
Re: Settings not saved on RPi
Posted: Sunday 08 July 2018 19:37
by HansieNL
@mvveelen: settings will only be saved if you have PHP running.
Re: Settings not saved on RPi
Posted: Sunday 08 July 2018 20:33
by mvveelen
Is this in the Wiki? For the RPi?
Re: Settings not saved on RPi
Posted: Sunday 08 July 2018 22:28
by HansieNL
You can find instructions to install webserver with PHP here:
https://www.raspberrypi.org/documentati ... r/nginx.md
Be sure to make the config.js writable.
Re: Settings not saved on RPi
Posted: Thursday 12 July 2018 18:10
by mvveelen
Installed NGINX and PHP7, and the CONFIG.JS was (is) already writable. It seems that this didn't do the job unfortunately.
Re: Settings not saved on RPi
Posted: Thursday 12 July 2018 21:42
by HansieNL
Can you try the following and make pi owner of the html folder:
$ sudo chown www-data:www-data /var/www/html
$ sudo chmod 775 /var/www/html
$ sudo usermod -a -G www-data pi
The file config.js should at least have file permission 646
Re: Settings not saved on RPi
Posted: Friday 13 July 2018 17:44
by mvveelen
Tried this, but it's not saved. Am I the only one or are others having the same issues?
Re: Settings not saved on RPi
Posted: Saturday 21 July 2018 19:28
by Gianni
i got the same problem.
pi3 follow the wiki to install.
New folder on WWW
chmod 777 config.js
but i cannot save my settings with the gear method.
I edit my config.js manual but i cannot get i full working.
I got no clock no maps only the weather

- Knipsel3.JPG (64.42 KiB) Viewed 2763 times
Took the default config file from the wiki page.
Code: Select all
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'MY IP AND PORT;
config['user_name'] = 'MY LOGIN
config['pass_word'] = 'MY PASSWORD';
config['loginEnabled'] = 1;
config['app_title'] = 'Home Automatisation';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = 0;
config['gm_latitude'] = 0;
config['gm_longitude'] = 0;
config['wu_api'] = '';
config['wu_city'] = 'Kortrijk';
config['wu_name'] = '';
config['wu_country'] = 'BE';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;
config['settings_icons'] = ["settings", "fullscreen"];
config['shortdate'] = 'D MMM';
config['longdate'] = 'D MMMM YYYY';
config['shorttime'] = 'HH:mm';
config['longtime'] = 'HH:mm:ss';
config['weekday'] = 'dddd';
config['no_rgb'] = 1;
config['standby_call_url'] = '' ;
config['standby_call_url_on_end'] = '' ;
config['hide_off_button'] = 1;
Re: Settings not saved on RPi
Posted: Saturday 21 July 2018 22:24
by HansieNL
@Gianni: You have set config['auto_positioning'] = 0; , so you have to add the blocks, columns and screens to your config.js yourself. How to do that can you find in the wiki
https://www.domoticz.com/wiki/Dashticz_V2_-_Positioning
Re: Settings not saved on RPi
Posted: Saturday 21 July 2018 23:03
by Gianni
HansieNL wrote: ↑Saturday 21 July 2018 22:24
@Gianni: You have set config['auto_positioning'] = 0; ,/url]
HansieNL thx allready play with some setting but it's my first day with Dashticz.
Need to sort out how to arrange the predefind buttons first

- Knipsel4.JPG (67.41 KiB) Viewed 2752 times
As you can see the radio button (mnm) is way to small.
And if i push the button it opened a web stream what is good but i dont need the popup so i need to find how to start the stream docked

- Knipsel5.JPG (65.73 KiB) Viewed 2752 times
but now i hijacked some other thread i will look further or open a new topic later.
But the point is that when i changed something in the settings with the gear button and i refresh dashticz the setting are back to default so it's not written to de CONFIG.js
grts Gianni