Dashticz - Save option

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Markgo88
Posts: 1
Joined: Friday 01 December 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dashticz - Save option

Post by Markgo88 »

Hello All,

For a few weeks now i'm running domoticz on a rpi3.
I would like to place a screen with dashticz, but running into one problem.

When i try to save ( from webpage ) it doesn't do anything.

also tried chmod 777 CONFIG.js but no difference.

Anybody with a solution?

Thanks!
Zolka1984
Posts: 1
Joined: Tuesday 19 December 2017 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by Zolka1984 »

Same proble here. I have not find a way to save changes. I have also test the beta version with the same result.
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - Save option

Post by htilburgs »

The save option needs PHP running on your pi.
You’ve to install PHP, or change the config.JS manualy. See the wiki for how-to.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Save option

Post by EdwinK »

I've PHP working on my server the save button doesnt save anything Tried with both php5.6 and php7.0 are installed, using apache server 2.4
Last edited by EdwinK on Tuesday 19 December 2017 22:05, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Save option

Post by robgeerts »

with 'no save button', you dont actually mean that right? Cause the save button is always there (bottom right in the settings popup, the green button).
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Save option

Post by EdwinK »

Sorry, blaming it on getting the cold (or the drinks). There is a save button, but it doesn't save anything.

After hitting 'opslaan/save' there are no changes.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
JeBlice
Posts: 1
Joined: Thursday 28 December 2017 20:25
Target OS: NAS (Synology & others)
Domoticz version: 3.8153
Contact:

Re: Dashticz - Save option

Post by JeBlice »

When in edit mode, save button (red button in bottom right corner) does not save changes
thesystem
Posts: 1
Joined: Saturday 06 January 2018 13:22
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by thesystem »

I've got the same issue. I've tried with the latest stable and beta release.

Settings set in the webinterface via the Gear icon are not saved. After a refresh of the page, the filled in and changed values have been reset.
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - Save option

Post by gjaa »

I've started from scratch and have the same problem
cdegroote
Posts: 2
Joined: Saturday 06 January 2018 18:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by cdegroote »

Same here. On both beta and stable dashticz. Running php7 ok
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Save option

Post by EdwinK »

Take a look art your config.js. I found that it did save the settings, before the older settings, so all your new settings are overruled by the older ones.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
cdegroote
Posts: 2
Joined: Saturday 06 January 2018 18:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by cdegroote »

Remove / and * at beginning and end of CONFIG.js and everything works normal
User avatar
gjaa
Posts: 38
Joined: Thursday 12 February 2015 6:59
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - Save option

Post by gjaa »

cdegroote wrote: Saturday 06 January 2018 19:55 Remove / and * at beginning and end of CONFIG.js and everything works normal
I get the latest version (Beta)
cp CONFIG_DEFAULT.js CONFIG.js
edit my IP
Saved
Start Dashticz and I can save but it does not change the CONFIG.js
When I remove the suggested lines I've got an error
fout.jpg
fout.jpg (19.78 KiB) Viewed 20948 times
So thats not the solution
andnyg
Posts: 6
Joined: Monday 04 September 2017 21:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8389
Location: Sweden
Contact:

Re: Dashticz - Save option

Post by andnyg »

I got the same problem with not saving when pressing the save button in lower right corner when in Edit Mode.
All changes that are done in the setting popup is saved, and hence changed in the CONFIG.js file.

When having mouse over the save button Chrome says "javascript:void(0)

Running PHP5 on Apache server (in my case /var/www/dashticz-V2)

Any suggestions? :geek: :?:
marktn
Posts: 233
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by marktn »

Same problem here. Is there a solution?

I can't use the save button!
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Save option

Post by DewGew »

andnyg wrote: Wednesday 10 January 2018 21:54 I got the same problem with not saving when pressing the save button in lower right corner when in Edit Mode.
All changes that are done in the setting popup is saved, and hence changed in the CONFIG.js file.

When having mouse over the save button Chrome says "javascript:void(0)

Running PHP5 on Apache server (in my case /var/www/dashticz-V2)

Any suggestions? :geek: :?:
marktn wrote: Tuesday 20 February 2018 21:23 Same problem here. Is there a solution?

I can't use the save button!
Did you change write permisson on CONFIG.js? (chmod 777)
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
marktn
Posts: 233
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by marktn »


Did you change write permisson on CONFIG.js? (chmod 777)
Thanks for helping!

Yes i did it with sudo chmod 777 * in the custom map.

In my browser i see this when pressing F12:

:8080/dashticz_v2/js/savesettings.php Failed to load resource: the server
responded with a status of 501 (Not Implemented)
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Save option

Post by DewGew »

marktn wrote: Wednesday 21 February 2018 21:14

Did you change write permisson on CONFIG.js? (chmod 777)
Thanks for helping!

Yes i did it with sudo chmod 777 * in the custom map.

In my browser i see this when pressing F12:

:8080/dashticz_v2/js/savesettings.php Failed to load resource: the server
responded with a status of 501 (Not Implemented)
PHP is not enabled. Check your setting for PHP, Domoticz webserver cannot run php-script for webpages. Only php-scripts for domoticz event system.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
marktn
Posts: 233
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: Dashticz - Save option

Post by marktn »

DewGew wrote: Monday 26 February 2018 8:10
marktn wrote: Wednesday 21 February 2018 21:14

Did you change write permisson on CONFIG.js? (chmod 777)
Thanks for helping!

Yes i did it with sudo chmod 777 * in the custom map.

In my browser i see this when pressing F12:

:8080/dashticz_v2/js/savesettings.php Failed to load resource: the server
responded with a status of 501 (Not Implemented)
PHP is not enabled. Check your setting for PHP, Domoticz webserver cannot run php-script for webpages. Only php-scripts for domoticz event system.
Is there a wiki for it? I tried several website's, but no succes.
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Save option

Post by DewGew »

marktn wrote: Monday 26 February 2018 20:58
DewGew wrote: Monday 26 February 2018 8:10
marktn wrote: Wednesday 21 February 2018 21:14
Thanks for helping!

Yes i did it with sudo chmod 777 * in the custom map.

In my browser i see this when pressing F12:

:8080/dashticz_v2/js/savesettings.php Failed to load resource: the server
responded with a status of 501 (Not Implemented)
PHP is not enabled. Check your setting for PHP, Domoticz webserver cannot run php-script for webpages. Only php-scripts for domoticz event system.
Is there a wiki for it? I tried several website's, but no succes.
https://www.raspberrypi.org/documentati ... /apache.md

https://www.raspberrypi.org/documentati ... r/nginx.md
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest