HandyHat / ha-hildebrandglow-dcc

Home Assistant integration for UK SMETS (Smart) meters pulling data from the DCC via the Hildebrand Glow API
MIT License
229 stars 31 forks source link

How to update password? #399

Closed ReX1983 closed 20 hours ago

ReX1983 commented 4 days ago

Not a feature request, but a simple question: I have had to update my Hildebrand password, so not the component can't log in anymore.

What is the correct way to update the password, without losing the entities and the customizations done so far?

Thanks!

siandco commented 21 hours ago

If you urgently need to change the password you can perform the following:

  1. (IMPORTANT) Perform a backup of Homeassistant.
  2. SSH onto your homeassistant instance (or use file explorer) and go to the /config/.storage folder
  3. Edit the core.config_entities file
  4. Search for hildebrandglow_dcc (you should see something like this) image 5.Just above the hildebrandglow_dcc you should see your password (yes, it's stored as plain-text) in the password entry above.
  5. Change the value (between the double quotes) to your new password image
  6. Save the file
  7. Restart Homeassistant

If Homeassistant fails to start, revert to backup taken in step 1

ReX1983 commented 20 hours ago

Thanks, this is perfect.