Followed this official installation guide : HA installation guide to install HA on my RPI 3 model B.
RPI is connected directly to my router via ethernet cable and I validate its IP address after accessed to my router gateway (also pinged it and saw reply).
I’ll buy another new SD card because I already flashed it before because of such a login problem so I guess my SD card is corrupted.
Do you have a recommendation for an appropriate one ? will 16GB is enough for HA ?
Application Performance Class 2 (A2), as they handle small I/O much more consistently than cards not optimized to host applications. A 32 GB or bigger card is recommended.
If you look at this wikipedia page, the two tables below my link, you’ll see the speed classes and application classes. The first link you have, the speed class is 10 (in a circle). That means that it’s good for 10 MB/s. The one I linked has a speed class of 3 (inside of a U), which means it’s good for 30 MB/s. It’s a bit confusing, I know.
32GB or larger is recommended, so I would just go for a 64GB one if that’s the smallest you can find.
Yes. An A1 card will work, but is more likely to die early and have other problems.
An A2 type card is able to handle 266% more read IOPS, and (more importantly) 400% more write IOPS. It’s a card type optimized for running applications that have many small I/O operations like HA does.
A 16GB A1 card will work, but why deviate from the recommendation?
yeah thats fine. However, just make sure, once everymonth, you take keep an image of the entire SD card. So that if it fails, you can just format another one
Another question : I’m looking for a safe way to shutdown the RPI (hass.io installed on) other than pulling its power from its power connector. How can I do it ? maybe this what cause my sd card to be corrupted.
Typically a reformat will get it working again, but it depends (the kind of thing you can try out and see how it goes).
I’m not sure if there’s any lasting effect, I don’t think so though.
If it was corrupted by pulling power, then it might be fine for a while longer (assuming you don’t do that again).
If it got corrupted randomly, it’s likely to happen again.