Best procedure for shutting down the pi 4

I just booted HA with my pi4. The message is:
… undervoltage detected!
_

The _ is flashing.

There is no command line accessible. I would rather use the best procedure so not to affect the system.

I am a fluent linux system user, porteus a slackware derivative, but also sometime, arch, debian and ubuntu.

What should I do?

It has not booted up yet. It is in the Hardware check, like on a PC. Pull the plug (Network cable if PoE, USB-C if that is used, or the power brick on it).
Find a good power brick as a check (12 VDC 2 AMP)

Thanks for the quick response.
I will get the appropriate power supply.

I have bought this one:

Described as compatible:

  • Compatible with Pi4/Pi3B+/3B: GeeekPi Raspberry Pi 4 Power Supply USB C Power Supply is specially designed and tested for the Raspberry Pi 4; With a Type-C to Micro USB power adapter for Raspberry Pi 3B+/3B.

It should be delivered within a few hours.

Thanks.

Now I am in ha cli mode:
ha >

I would like to shutdown.
poweroff does not work

I want to reboot as I am not already on ethernet.

Thanks.

Common tasks - Operating System - Home Assistant.

1 Like

Exactly what I needed.
Thanks so much.

Welcome.

You might want to look here for more general information: The Home Assistant Cookbook - Index.