Please vive me a help whit the power

I have installed home assistant on rpi3b+ and all seems good but when i unplugged the power cable the raspberry shoot down, but where I replugged the cable the home assistant don’t even boot up again what I have to do if I want to unplug my home assistant for some reason??

Simply removing the power from your RPi might kill, i.e. corrupt, the SD card.
It doesn’t always result in SD Card problems, but the chances that you do/did some damage to it are pretty high.
How to shut down the system depends on how you installed HA.
Can’t help you with hass.io, but for most (all?) other versions logging into your Pi and using the command sudo shutdown now -P should do the trick.

As @Chairstacker points out, you want to do a clean shutdown if possible.

With Hassio, go to the hassio tab as shown below:
hassio > system > host system > shutdown

If you have the SSH plugin installed, you can ssh to the pi as root, then issue the command :
hassio host shutdown

Thank u but if the power goes away for a problem whit the provider of electricity what I have to do to safe mi hass.io

You can use a small UPS to cover short term outages. Mine is plugged into the same UPS that supports my router. High quality power supplies and SD cards are critical as you will find many references on the forum. My system has been running on an Apple branded iPhone charger and Samsung EVO SD card without issue since ~March 2016.

Also, I would highly recommend adding the SSH and SAMBA add-ons to your Hassio environment. Then do a snapshot and download or copy that off of your Pi. If your system becomes corrupted or needs to be rebuilt, it is incredibly easy. That is how I migrated from running HA in a virtual python environment, to the original Hassio based on Resin-OS, and then again to the current Hassio running on HassOS.

When i saw your screenshot and when i saw mine , i think i’ve got some problems !!!

After a snapshot , full reinstall from 0 , restart , restore the snapshot :slight_smile:

To quote my manager - “Sharing is Caring :-)”

This is a perfect example of why having a backup is key and makes your life much easier.
It’s also part of the reason that I moved to Hassio from the original build process and install with python.

1 Like

Yes and i take a look at node-red connect to home assistant , seems to be a good one to :slight_smile: