If you forgot the owner's password, you need to connect an external monitor and keyboard to Home Assistant Green and reset the password via the terminal.
-
Connect an external monitor and keyboard to Home Assistant Green.
- Follow the steps outlined in Using the console on the HDMI display.
-
Reset the password via the terminal.
-
Enter the following command:
auth reset --username 'existing_user' --password 'new_password'
Info: The ha command line does not support all special characters.
- When resetting via the command line, use a short and simple password without special characters.
- Once reset, go and replace it with a complex one in the UI.
Example: To reset the password for the user
yelena
to12345
, enter:auth reset --username 'yelena' --password '12345'
-
-
Log in with the new password.
-
Replace the simple password with a complex one.
- Go to your User profile and, on the Security tab, update the password to a more complex one.
Related topics
Edit this article on GitHub