No access more... all forbidden!

Yes, only vi is available, but that is a difficult one.

i see now…
crazy thats VI
normal Linux vi… works fine… but this homeassistant vi… i think is also a special homeassistant-very-small-VI… crazy and total crazy to use

i can edit the file… but i not find any way to close the file with saving
sure any spciel combination from some special short-cut

okay now works

phooo… come out from VI in home-assistant if the keyboard in english isn’t easy… ESC bring me not only to command line
and the Ö=: also not do it
i have to use any crazy key combination like shift and Ö thats take the double-point to the command line and then works wq

phoo… and i not find any information in the internet about that

i have to change soon my homeassistant to a normal docker instalation without that HAOI System

1 Like

Good tip: install the ’ Advanced SSH & Web Terminal’ and the ‘Samba’ add-on, this way you don’t have to attach a screen and keyboard if something goes wrong.

And yes, using azerty myself, it is not easy :frowning:

1 Like

Good you got it solved, lessons learned! :wink:

Now please take the time to mark the answer as solution, you do that by selecting the three dots under the post:

image

Then select the check box:

image

By doing so this can be useful to other users as well and prevents that someone else steps in and still tries to help you.

ok i try to do now… wait some minutes please

This is a solution if you can no longer access Home Assistant via browser or mobile phone.

This is my system combination.
Raspberry pi 4, connected HDMI screen with connected Raspberry Pi keyboard.

  1. at ha prompt use the command ===> “login”
  2. next use this command ===>
    vi /mnt/data/supervisor/homeassistant/configuration.yaml
  3. remember “i” is for insert any then you can edit the file and “ESC key” is for switch to the VI command-line
  4. go to the section
    http:
    and look there for
http:` 
ip_ban_enabled: true`

edit to
ip_ban_enabled: false
4)
If you have previously changed the network that is authorized for access, then you would still have to change these lines


home assistant:
  auth_providers:
   - type: trusted_networks
     trusted_networks:
       - 192.168.2.0/24
       - ff00::/8

First check which network you are on on another computer.
In the example above it is 192.168.2.xxx
The number 24 only means that the subnet mask is 255.255.255.0 and all IP addresses 192.168.2.1 to 192.168.2.255 are authorized for access here

  1. Use Editor to exit
    “ESC” key on the keyboard
    then you have to enter “:”.
    In Germany on the German keyboard it is with “SHIFT + Ö”
    then you must
    Type “wq”…
    this exits the VI editor and saves the file

Then you have to restart home assistant

1 Like