Ban failed login attempts

I wonder if IP ban is enabled by default in latest Hoke Assistant or if I need to add some extra configuration to configuration.yaml.

I found this code but am not sure:

http:
   Ip_ban_enabled: true
   login_attempts_threshold: 5

There is no file named something like ip_ban in my HA folders.

It’s moved out from configuration.yaml to Settings → System → Network → HTTP Server now, see pic below.

If you have anything http-related in your configuration yaml you should have gotten a warning that it is being deprecated. You can safely remove it from configuration.yaml, restart and it will appear under the settings. Since you have the threshold set at 5 attempts you will not get any entry in ip_bans.yaml until someone tries 5 times from the same IP.

Thank you so much! I understand.

If i get banned my self, how do i get in again and how can i unban my self?

First I would ensure that I checked “remember me” so that you do not need to enter credentials every time.

A month ago there was an issue where CCTV camera streams could end up banning you, it happened to me. I solved it by enabling the Samba App from console, then I accessed ip_bans.yaml over SMB and removed the IP from the ban list.

Great, that is a way to do it, thank you!