akasma74 / Hass-Custom-Alarm

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth
79 stars 29 forks source link

Can't log into settings #111

Open gdtms247 opened 4 years ago

gdtms247 commented 4 years ago

The component:

Setup is only a few days old, on initial setup I logged into the alarm, updated password and choose the devices to trigger alarm etc. Now that I have it working I want to remove the test device and noticed my password no longer works. Tried the default and it doesn't work either. I've reinstalled, manually deleted and re-added the entire custom components folder for bwalarm and no change. I can see the following in my alarm_control_panel.py:

#---------------------------PANEL RELATED---------------------------
vol.Optional(CONF_ADMIN_PASSWORD, default='HG28!!&dn'):       cv.string,     # Admin panel password

However on the login page this password doesn't bring up the settings menu. Anything else to try?

akasma74 commented 4 years ago

Sounds like you used HACS.. Anyway, do you know where your bwalarm.yaml resides? It should be in <HA config folder>/resources/bwalarm and if you open it, the password is there as admin_password. If it's there and yet you cannot get into Settings, please update the issue posting your bwalarm.yaml here.

gdtms247 commented 4 years ago

Yep that was it, I don't know how that got changed but it was set to my alarm panel arm/disarm code. Thanks!!

akasma74 commented 4 years ago

Cool. Could you change it as you did it before and keep an eye on it for a while? If it doesn't get changed and everythig works as expected, then there's nothing to fix and you can close the issue. Just take your time ;)

gdtms247 commented 4 years ago

Will do! I'll admit I probably did it to myself :) but i'll keep my eye on it next week. thanks!

akasma74 commented 4 years ago

Is the issue resolved or you still experience it?