Settings not saved on RPi
Moderators: leecollings, htilburgs, robgeerts
- mvveelen
- Posts: 697
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Settings not saved on RPi
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?
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?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Settings not saved on RPi
@mvveelen: settings will only be saved if you have PHP running.
Blah blah blah
- mvveelen
- Posts: 697
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: Settings not saved on RPi
Is this in the Wiki? For the RPi?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Settings not saved on RPi
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.
Be sure to make the config.js writable.
Blah blah blah
- mvveelen
- Posts: 697
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: Settings not saved on RPi
Installed NGINX and PHP7, and the CONFIG.JS was (is) already writable. It seems that this didn't do the job unfortunately.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Settings not saved on RPi
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
$ 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
Blah blah blah
- mvveelen
- Posts: 697
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: Settings not saved on RPi
Tried this, but it's not saved. Am I the only one or are others having the same issues?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- Posts: 230
- Joined: Saturday 21 July 2018 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Home@Belgium
- Contact:
Re: Settings not saved on RPi
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
Took the default config file from the wiki page.
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

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;
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Settings not saved on RPi
@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
Blah blah blah
-
- Posts: 230
- Joined: Saturday 21 July 2018 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Home@Belgium
- Contact:
Re: Settings not saved on RPi
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

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 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
Who is online
Users browsing this forum: No registered users and 1 guest