Dashticz login
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Dashticz login
We try to make a login page to Dashticz.
In Domoticz i setup username and password for webpage protection.
I use the above " and password in Dasticz in the following way:
config['user_name'] = 'username Domoticz';
config['pass_word'] = 'password Domoticz';
config['loginEnabled'] = 1;
There is no login page when I open the Dashticz page?
what am I doing wrong?
More explanation:
We have done port forwarding so that we can reach domoticz externally.
Website protection set for domoticz, that works.
You can still open all subfolders even dashticz
The solution for the daschticz folder
config['user_name'] = 'username Domoticz';
config['pass_word'] = 'password Domoticz';
config['loginEnabled'] = 1;
does not work.
You can still open all subfolders
Is there a way to secure dashticz?
In Domoticz i setup username and password for webpage protection.
I use the above " and password in Dasticz in the following way:
config['user_name'] = 'username Domoticz';
config['pass_word'] = 'password Domoticz';
config['loginEnabled'] = 1;
There is no login page when I open the Dashticz page?
what am I doing wrong?
More explanation:
We have done port forwarding so that we can reach domoticz externally.
Website protection set for domoticz, that works.
You can still open all subfolders even dashticz
The solution for the daschticz folder
config['user_name'] = 'username Domoticz';
config['pass_word'] = 'password Domoticz';
config['loginEnabled'] = 1;
does not work.
You can still open all subfolders
Is there a way to secure dashticz?
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
Nobody?
- DewGew
- Posts: 581
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz login
Try to clear cache and remove cookies in your browser
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- mAiden88
- Posts: 56
- Joined: Friday 14 October 2016 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7286
- Location: Almelo
- Contact:
Re: Dashticz login
Try this?
Pay attention. Domoticz should be at the forefront than username or password
Code: Select all
config['user_name'] = 'domoticz username';
config['pass_word'] = 'domoticz password';
config['loginEnabled'] = 1;
Anyone can build a fast processor. The trick is to build a fast system.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
Code: Select all
config['user_name'] = 'domoticz Myusername';
config['pass_word'] = 'domoticz Mypassword';
config['loginEnabled'] = 1;
Try to clear cache and remove cookies in your browser
- mAiden88
- Posts: 56
- Joined: Friday 14 October 2016 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7286
- Location: Almelo
- Contact:
Re: Dashticz login
What i post, i try it by myself. Its working here.Dave47 wrote: ↑Wednesday 25 July 2018 13:33this does not workCode: Select all
config['user_name'] = 'domoticz Myusername'; config['pass_word'] = 'domoticz Mypassword'; config['loginEnabled'] = 1;
Try to clear cache and remove cookies in your browser
Look @ attchments.
- Attachments
-
- dash2.png (6.73 KiB) Viewed 3975 times
-
- dash.png (35.14 KiB) Viewed 3975 times
Anyone can build a fast processor. The trick is to build a fast system.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
Dashticz link looks like http://xx.xxx.xx.xx:8080/dashticz/ that is not protected here
Domoticz link: i have http://xx.xxx.xx.xx:8080
I dont understand.
Myusername is that the username from website protection?
Example:
Website protection:
Username = user
Password = pass
than the code is:
I have settings for local netwerk no username/password only for local ip
Domoticz link: i have http://xx.xxx.xx.xx:8080
I dont understand.
Myusername is that the username from website protection?
Example:
Website protection:
Username = user
Password = pass
than the code is:
Code: Select all
config['user_name'] = 'domoticz user';
config['pass_word'] = 'domoticz pass';
config['loginEnabled'] = 1;
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
In Domoticz i have set basic - auth. For example: Username = Admin and Password = Test
and also tried Login page
In Dashticz
config['user_name'] = 'Admin';
config['pass_word'] = 'Test';
config['loginEnabled'] = 1;
Everything on Dashticz page is visible except the switches
Nobody?
and also tried Login page
In Dashticz
config['user_name'] = 'Admin';
config['pass_word'] = 'Test';
config['loginEnabled'] = 1;
Everything on Dashticz page is visible except the switches
Nobody?
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz login
Then probably there is something wrong with your connection to Domoticz.Dave47 wrote: ↑Saturday 26 January 2019 17:18 In Domoticz i have set basic - auth. For example: Username = Admin and Password = Test
and also tried Login page
In Dashticz
config['user_name'] = 'Admin';
config['pass_word'] = 'Test';
config['loginEnabled'] = 1;
Everything on Dashticz page is visible except the switches
Nobody?
It can be the username/password for Domoticz. Or the switches are not readible by the user (Domoticz configuration). Or maybe the Domoticz IP address.
If you want to debug:
Open Dashticz in Chrome. Press F12 to open the Developer mode. In the network tab of the developer mode try to find the network request to Domoticz (type 'username' in the filterbox). The status and/or response will tell you what is wrong.
You can also look for errors in the console tab of the Developer window.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
What I'm trying to say....
if I choose basic - auth in domoticz then there is a popup in Dashticz.
Without password en username i can see everything on the page exept the switches
when I log in I also see the switches.
but I need a solution for a login forum for dashticz.
the settings in dashticz do not give me a login screen
not even when I change basic auth to login page of domoiticz
the code does nothing
if I choose basic - auth in domoticz then there is a popup in Dashticz.
Without password en username i can see everything on the page exept the switches
when I log in I also see the switches.
but I need a solution for a login forum for dashticz.
the settings in dashticz do not give me a login screen
not even when I change basic auth to login page of domoiticz
the code does nothing
Code: Select all
config['user_name'] = 'Admin';
config['pass_word'] = 'Test';
config['loginEnabled'] = 1;
No status, i see also no CONFIG.js file in sources?If you want to debug:
Open Dashticz in Chrome. Press F12 to open the Developer mode. In the network tab of the developer mode try to find the network request to Domoticz (type 'username' in the filterbox). The status and/or response will tell you what is wrong.
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz login
Most sources are loaded dynamically by Dashticz. That's the reason you don't see them in sources tab of the Developer Window (I guess). Normal behavior.Dave47 wrote: ↑Monday 28 January 2019 15:28 What I'm trying to say....
if I choose basic - auth in domoticz then there is a popup in Dashticz.
Without password en username i can see everything on the page exept the switches
when I log in I also see the switches.
but I need a solution for a login forum for dashticz.
the settings in dashticz do not give me a login screen
not even when I change basic auth to login page of domoiticz
the code does nothing
Code: Select all
config['user_name'] = 'Admin'; config['pass_word'] = 'Test'; config['loginEnabled'] = 1;
No status, i see also no CONFIG.js file in sources?If you want to debug:
Open Dashticz in Chrome. Press F12 to open the Developer mode. In the network tab of the developer mode try to find the network request to Domoticz (type 'username' in the filterbox). The status and/or response will tell you what is wrong.
The user/password combination is used in two ways:
* Authentication towards Domoticz, which is needed to obtain all devices from Domoticz in case user authentication has been setup in Domoticz.
The user/password combination as defined in CONFIG.js will be used for this.
* Login into Dashticz itself, which will be enforced in case config['loginEnabled'] = 1
You must use the same user/password combination as defined in CONFIG.js as authentication for Domoticz.
In case login into Dashticz is successful a cookie will be stored which is valid for 1 hour. Within this hour Dashticz will not request to login again. You can logout by pressing the settings icon in the upper right of Dashticz, info tab, logout button.
I'm not sure whether I understand your question correctly, but you can only login via the Dashtics login window with the username as defined by settings['user_name'] in CONFIG.js. It's not possible to switch to another user, except by changing the user_name setting in CONFIG.js
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
I use the same user /password.You must use the same user/password combination as defined in CONFIG.js as authentication for Domoticz.
There is no login screen in Dashticz and no settings icon, also no logout buttun.In case login into Dashticz is successful a cookie will be stored which is valid for 1 hour. Within this hour Dashticz will not request to login again. You can logout by pressing the settings icon in the upper right of Dashticz, info tab, logout button.
I have
config['user_name'] = 'Admin';
config['pass_word'] = 'Test';
config['loginEnabled'] = 1;
and basic auth in Domoticz with the same settings as Dashticz. When i logged in Domoticz then i can see the switches in Dashticz also
When i not logged in Domoticz there is no login screen in Dashticz, the only thing i can see is for example: Garbage calender and radio
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz login
Which Dashticz version are you using? I recommend to update to the latest beta version. You can make the topbar visible, including the settings icon, with the following setting in CONFIG.js:Dave47 wrote: ↑Tuesday 29 January 2019 16:02I use the same user /password.You must use the same user/password combination as defined in CONFIG.js as authentication for Domoticz.
There is no login screen in Dashticz and no settings icon, also no logout buttun.In case login into Dashticz is successful a cookie will be stored which is valid for 1 hour. Within this hour Dashticz will not request to login again. You can logout by pressing the settings icon in the upper right of Dashticz, info tab, logout button.
I have
config['user_name'] = 'Admin';
config['pass_word'] = 'Test';
config['loginEnabled'] = 1;
and basic auth in Domoticz with the same settings as Dashticz. When i logged in Domoticz then i can see the switches in Dashticz also
When i not logged in Domoticz there is no login screen in Dashticz, the only thing i can see is for example: Garbage calender and radio
config['hide_topbar'] = 0;
Let's try that first.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
Version: 4.10053
I have a topbar at the moment config['hide_topbar'] = 0
But it never Works before, never have a inlog screen for dashticz.
At the moment Philips hue is compatibel with Domoticz.
I dont know if it works after a update.
But it would be nice if the login screen works
I have a topbar at the moment config['hide_topbar'] = 0
But it never Works before, never have a inlog screen for dashticz.
At the moment Philips hue is compatibel with Domoticz.
I dont know if it works after a update.
But it would be nice if the login screen works
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz login
4.10053 is the Domoticz version I guess. Can you also report the Dashticz version? You can find it on the info-tab, after pressing the settings button in Dashticz (upper right)Dave47 wrote: ↑Tuesday 29 January 2019 22:58 Version: 4.10053
I have a topbar at the moment config['hide_topbar'] = 0
But it never Works before, never have a inlog screen for dashticz.
At the moment Philips hue is compatibel with Domoticz.
I dont know if it works after a update.
But it would be nice if the login screen works
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
I use Dashticz V2.0 no version number?
when I installed dashticz for the first time, ik put all the files with Fillezilla in /home/pi/domoticz/www/dashticzv2/
is there something wrong?
I dont know how to update to a beta version Dashticz
when I installed dashticz for the first time, ik put all the files with Fillezilla in /home/pi/domoticz/www/dashticzv2/
is there something wrong?
I dont know how to update to a beta version Dashticz
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz login
If you want to install the beta version you can try the installation instructions:
https://www.domoticz.com/wiki/Dashticz_ ... stallation
It will install Dashticz into a new folder next to your current installation, so you can try whether the beta version works for you.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
Ok. But then no symbolic link i guess when i will try both.
Do i need Apache server also for a login screen?
How can i use the new url then stored beta in /home/pi/dashticz?
Current Dashticz /home/pi/domoticz/www/dashticz/
Open dashticz with http://domoticzip:port/dashticzv2/index.html
Do i need Apache server also for a login screen?
How can i use the new url then stored beta in /home/pi/dashticz?
Current Dashticz /home/pi/domoticz/www/dashticz/
Open dashticz with http://domoticzip:port/dashticzv2/index.html
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz login
You need Apache for calendar, tvguide, garbage.Dave47 wrote: ↑Wednesday 30 January 2019 20:21 Ok. But then no symbolic link i guess when i will try both.
Do i need Apache server also for a login screen?
How can i use the new url then stored beta in /home/pi/dashticz?
Current Dashticz /home/pi/domoticz/www/dashticz/
Open dashticz with http://domoticzip:port/dashticzv2/index.html
If you want to use the Domoticz webserver you have to create the dashticz folder in /home/pi/domoticz/www:
Code: Select all
cd /home/pi/domoticz/www
git clone https://github.com/robgeerts/dashticz_v2 --branch beta
The new beta-Dashticz then can be loaded via:
http://domoticzip:port/dashticz_v2/index.html
Your current dashticz still can be loaded via:
http://domoticzip:port/dashticzv2/index.html
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: Dashticz login
Isn,t better to create it in /home/pi/
with symbolic link?
For update later?
with symbolic link?
For update later?
Who is online
Users browsing this forum: No registered users and 1 guest