Hi,
I installed Dashticz with via the installation script. Now I want to start it at http://192.168.1.162:8082 but all I get is a message that it won't start:
Error while requesting Domoticz version. Possible causes:
1. Domoticz offline
2. Domoticz IP incorrect in CONFIG.js
3. User credentials incorrect in CONFIG.js
4. Browser IP not whitelisted in Domoticz.
For more help visit I'm supposed to look at the Dashticz documentation but that doesn't help me.
1. Domoticz is not offline.
2. I tried config['domoticz_ip'] = 'http://192.168.1.162:8080'; and config['domoticz_ip'] = 'https://192.168.1.162:443';
3. I tried config['user_name'] = 'admin'; and config['pass_word'] = 'xxxxxxxx'; I also tried without the username and password.
4. 192.168.1.* is in my trusted networks
What am I missing?
Peter
How to login to Dashticz
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to login to Dashticz
If you have a recent Domoticz version you have to use Dashticz v3.10.1 Beta (or higher), because of the new authentication mechanism in Domoticz.
To switch to the beta branch type:
Further, in Domoticz you have to switch on 'Allow Basic Auth on plain HTTP' in the Domoticz settings->security tab
To switch to the beta branch type:
Code: Select all
git checkout beta
git pull
-
- Posts: 93
- Joined: Saturday 07 November 2020 21:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: How to login to Dashticz
Hi,
I went to my Dashticz directory and executed "git checkout beta" and "git pull". I also switched on the API Protection. It still doesn't work, either with or without the user credentials. I also changed loginEnabled and the Domoticz IP to https://192.168.1.162:443. Nothing works. What's going wrong?
This is my actual CONFIG.js:
Dashticz was downloaded according to the manual.
Peter
I went to my Dashticz directory and executed "git checkout beta" and "git pull". I also switched on the API Protection. It still doesn't work, either with or without the user credentials. I also changed loginEnabled and the Domoticz IP to https://192.168.1.162:443. Nothing works. What's going wrong?
This is my actual CONFIG.js:
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://192.168.1.162:8080'; // also tried 'https://192.168.1.162:443'
config['user_name'] = 'admin'; // also tried without user credentials
config['pass_word'] = 'XXXXX'; // idem
config['loginEnabled'] = 'false'; // also tried 'true'
config['language'] = 'nl_NL';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
Peter
-
- Posts: 41
- Joined: Thursday 04 February 2021 8:10
- Target OS: Linux
- Domoticz version: Beta
- Location: Belgium
- Contact:
Re: How to login to Dashticz
I updated Domoticz yesterday and since "Domoticz authorization error". I tried the above steps but it still doesn't work.
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
-
- Posts: 41
- Joined: Thursday 04 February 2021 8:10
- Target OS: Linux
- Domoticz version: Beta
- Location: Belgium
- Contact:
Re: How to login to Dashticz
I found my problem...
I had duplicate parameter "user_name" and "pass_word" in my config.
Now it works with login. The trusted site (without login) no longer seems to work in domoticz.
I also couldn't make an HTTPS connection.
I had duplicate parameter "user_name" and "pass_word" in my config.
Now it works with login. The trusted site (without login) no longer seems to work in domoticz.
I also couldn't make an HTTPS connection.
Linux Debian 12 Server: Domoticz beta + Dashticz beta + Node-Red + Homebridge
Who is online
Users browsing this forum: No registered users and 1 guest