Domoticz: login or password lost, reinitialized password

domoticz mot de passe incorrect.
Table of Contents

If you have lost your Domoticz password or login, here’s how to re-initialize your permissions using an SSH connection.

From a computer on the network, launch the Terminal or Power Shell and open an SSH connection


Go to the folder and stop the service

cd domoticz
sudo service stop

Stopping may take a few seconds. You can check that Domoticz is stopped by refreshing the browser

domoticz offline

Or execute this command

$ sudo service status 
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/
   Active: inactive (dead) since dim. 2017-02-05 11:09:48 UTC; 2min 7s ago
  Process: 29163 ExecStop=/etc/init.d/ stop (code=exited, status=0/SUCCESS)
  Process: 615 ExecStart=/etc/init.d/ start (code=exited, status=0/SUCCESS)

févr. 02 06:17:35 domoticz[615]: 2017-02-02 06:17:35.158  Build Hash: 15b013c, Date: 2016-11-10...4:33
févr. 02 06:17:35 domoticz domoticz[633]: Domoticz is starting up....
févr. 02 06:17:35 domoticz[615]: 2017-02-02 06:17:35.159  System: Raspberry Pi
févr. 02 06:17:35 domoticz[615]: 2017-02-02 06:17:35.159  Startup Path: /home/pi/domoticz/
févr. 02 06:17:35 domoticz[615]: domoticz: Domoticz is starting up....
févr. 02 06:17:35 domoticz domoticz[647]: Domoticz running...
févr. 02 06:17:35 domoticz systemd[1]: Started LSB: Home Automation System.
févr. 05 11:09:18 domoticz systemd[1]: Stopping LSB: Home Automation System...
févr. 05 11:09:18 domoticz domoticz[647]: Domoticz is exiting...
févr. 05 11:09:21 domoticz domoticz[647]: Domoticz stopped...
févr. 05 11:09:48 domoticz systemd[1]: Stopped LSB: Home Automation System.
févr. 05 11:11:53 domoticz systemd[1]: Stopped LSB: Home Automation System.
Hint: Some lines were ellipsized, use -l to show in full.

Now we restart the service with the parameter -nowwpwd

./domoticz -nowwwpwd

You can now change the connection settings from the settings -> Security

domoticz parametres securite identifiant mot de passe

Once everything is configured, return to the Terminal and stop the service with CTRL + C. Restart the service with

sudo service start

Unable to connect to Domoticz after setting up password

After activating the protection by login and password, when you connect Domoticz does not return any error but one remains blocked on the page of connection. This problem may occur with some browsers (including Chrome). In this case, you must empty the browser cache before you can connect.

Click to rate this post!
[Total: 0 Average: 0]

Thanks for your reading

Did you like this project ? Don't miss any more projects by subscribing to our weekly newsletter!

Are you having a problem with this topic?

Maybe someone has already found the solution, visit the forum before asking your question
We will be happy to hear your thoughts

Leave a Reply

Read more
Recent posts on the Forum
Top offers
DIY Projects
DIY Projects