Domoticz and Dashticz_V2 are running on the same raspberry, i like to provide a kiosk browser page for an old android tablet. So i followed the instructions in the wiki, installed the prerequisites and the package with git.
Domoticz is configured to accept localhost connects at 127.0.0.1 without login. So i configured dashticz to use http://127.0.0.1:8080 and tried the same http://192.168.1.245:8080 for the connection. But both fails, dashticz starts with a red alert in lower right corner: "Domoticz Error! Double check the path to domoticz".
Short form: Domoticz is available on the pi at http://127.0.0.1:8080 and https://127.0.0.1:443, dashticz cannot handle both.
What to use else?
Double check the path to domoticz
Moderators: leecollings, htilburgs, robgeerts
- Solderbro
- Posts: 80
- Joined: Tuesday 18 September 2018 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Hamburg, Germany
- Contact:
Double check the path to domoticz
Raspi 3B+RTC, SSD 128GB, Aeotec Gen5, Eurotronic SpiritZ, Fibaro FRGBW, Zipato PIR, Everspring AN180, Neo Coolcam Plug, Fibaro FGMS, Neo Coolcam Doorsensor, Popp Z-Weather
- HansieNL
- Posts: 969
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Double check the path to domoticz
V2 is an old version and the wiki is outdated.
Latest manual: https://dashticz.readthedocs.io/en/beta/
If you wanna have a full functional Dashticz you have to install web server and php.
Latest manual: https://dashticz.readthedocs.io/en/beta/
If you wanna have a full functional Dashticz you have to install web server and php.
Blah blah blah
- Solderbro
- Posts: 80
- Joined: Tuesday 18 September 2018 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Hamburg, Germany
- Contact:
Re: Double check the path to domoticz
So there is a V3 and V3 beta and there is a V2 beta out in the fields. Hope someone will clean this up, so we have one reliable version that give proper results. In my version.file is this
version": "2.5.11",
"branch": "beta",
"last_changes": "Improved forcerefresh",
This one is unable to connect to domoticz with this CONFIG.js
var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz';
As 127.0.0.* is set to be open in domoticz, i have no clue why the dashticz package with apache2 is unable to connect. Is there some kind of logfile i can peek into?
Solderbro
version": "2.5.11",
"branch": "beta",
"last_changes": "Improved forcerefresh",
This one is unable to connect to domoticz with this CONFIG.js
var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz';
As 127.0.0.* is set to be open in domoticz, i have no clue why the dashticz package with apache2 is unable to connect. Is there some kind of logfile i can peek into?
Solderbro
Raspi 3B+RTC, SSD 128GB, Aeotec Gen5, Eurotronic SpiritZ, Fibaro FRGBW, Zipato PIR, Everspring AN180, Neo Coolcam Plug, Fibaro FGMS, Neo Coolcam Doorsensor, Popp Z-Weather
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Double check the path to domoticz
Pull a v3 version from here:Solderbro wrote: Thursday 03 October 2019 9:42 So there is a V3 and V3 beta and there is a V2 beta out in the fields. Hope someone will clean this up, so we have one reliable version that give proper results. In my version.file is this
version": "2.5.11",
"branch": "beta",
"last_changes": "Improved forcerefresh",
This one is unable to connect to domoticz with this CONFIG.js
var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz';
As 127.0.0.* is set to be open in domoticz, i have no clue why the dashticz package with apache2 is unable to connect. Is there some kind of logfile i can peek into?
Solderbro
https://github.com/Dashticz/dashticz
You can choose the master branch or beta branch. The beta branch is stable as well at the moment.
For instructions (master version) see:
https://dashticz.readthedocs.io/en/master/
There is also a beta branch of the documentation.
In your CONFIG.js set use_favorites and auto_positioning to false.
If you've followed the installation instructions it should work. For debugging: open the developer window in Chrome (press F12), and refresh the Dashticz page. You might see errors on the console tab. The network tab will show the network requests that failed.
- Solderbro
- Posts: 80
- Joined: Tuesday 18 September 2018 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Hamburg, Germany
- Contact:
Re: Double check the path to domoticz
Okay, it get a bit better. Now i got a solid black screen and the developer window complains about all command with "webkit inside (invalid property window). Is there some raspbian package that must be installed first?
var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz V3';
config['language'] = 'de_DE';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['use_favorites'] = false;
config['auto_positioning'] = false;
Solderbro
var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz V3';
config['language'] = 'de_DE';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['use_favorites'] = false;
config['auto_positioning'] = false;
Solderbro
Raspi 3B+RTC, SSD 128GB, Aeotec Gen5, Eurotronic SpiritZ, Fibaro FRGBW, Zipato PIR, Everspring AN180, Neo Coolcam Plug, Fibaro FGMS, Neo Coolcam Doorsensor, Popp Z-Weather
- HansieNL
- Posts: 969
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Double check the path to domoticz
Can you try with removing:
And use your local Domoticz IP address instead of your localhost IP address.
Code: Select all
config['use_favorites'] = false;
config['auto_positioning'] = false;
Blah blah blah
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Double check the path to domoticz
Which browser are you using on what kind of system? What is the version? Your browser should be not too old.Solderbro wrote: Friday 04 October 2019 12:02 Okay, it get a bit better. Now i got a solid black screen and the developer window complains about all command with "webkit inside (invalid property window). Is there some raspbian package that must be installed first?
var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz V3';
config['language'] = 'de_DE';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['use_favorites'] = false;
config['auto_positioning'] = false;
Solderbro
Can you try with Chrome on Windows? (or another PC/laptop)
- Solderbro
- Posts: 80
- Joined: Tuesday 18 September 2018 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Hamburg, Germany
- Contact:
Re: Double check the path to domoticz
Hello,
have tested it with Waterfox 56.2.14 on Fedora Linux, because it's urgent to get it running with a kiosk browser on android. So i tested it with a Chromium 76 on Fedora Linux, here is problem clear at sight. Incredible, is the setting for non password login at Domoticz Stable a problem?
jquery.min.js:4 GET http://127.0.0.1:8080/json.htm?username ... getversion net::ERR_CONNECTION_REFUSED
In Domoticz the config says.
Networks: 127.0.0.*
Tried with login and password at 127.0.0.1 - Same error
Tried with login and password via raspi IP - Here it works, phew.......
Maybe there is some kind of firewall blocking the 127.0.0.1 connection. Okay thanks i can go on now
Solderbro
have tested it with Waterfox 56.2.14 on Fedora Linux, because it's urgent to get it running with a kiosk browser on android. So i tested it with a Chromium 76 on Fedora Linux, here is problem clear at sight. Incredible, is the setting for non password login at Domoticz Stable a problem?
jquery.min.js:4 GET http://127.0.0.1:8080/json.htm?username ... getversion net::ERR_CONNECTION_REFUSED
In Domoticz the config says.
Networks: 127.0.0.*
Tried with login and password at 127.0.0.1 - Same error
Tried with login and password via raspi IP - Here it works, phew.......
Maybe there is some kind of firewall blocking the 127.0.0.1 connection. Okay thanks i can go on now
Solderbro
Raspi 3B+RTC, SSD 128GB, Aeotec Gen5, Eurotronic SpiritZ, Fibaro FRGBW, Zipato PIR, Everspring AN180, Neo Coolcam Plug, Fibaro FGMS, Neo Coolcam Doorsensor, Popp Z-Weather
Who is online
Users browsing this forum: No registered users and 1 guest