rpi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rpi [2024/09/29 18:34] – karcio | rpi [2024/09/29 20:20] (current) – karcio | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | == Home Assistant, ESPHome, BMP280 - monitorowanie temperatury i ciśnienia. == | + | == Home Assistant, ESPHome, BMP280 - temperature and pressure monitoring. == |
== List:== | == List:== | ||
- | * Raspbery | + | * raspberry |
- | * ESP32 | + | * ESP32 [[https:// |
- | * microSD card | + | * microSD card - cost about €10 |
- | * Sensor | + | * sensor |
* wires to connect ESP32 with BMP280 | * wires to connect ESP32 with BMP280 | ||
- | * kabel zasilający | + | * cable to power ESP32 micro usb |
- | * Ethernet cabel | + | * ethernet cable |
- | * WIFI dongle | + | * wifi dongle |
* optional case for esp32 and sensor, I've made one - you can look here https:// | * optional case for esp32 and sensor, I've made one - you can look here https:// | ||
- | ZDJECIE RPI3 | + | Raspberry Pi 3 |
+ | {{ : | ||
- | ESP32 | + | ESP32 controller |
- | {{ : | + | {{ : |
BMP280 sensor | BMP280 sensor | ||
- | {{ : | + | {{ : |
- | + | ESP32 custom case | |
- | ZDJECIE OBUDOWY | + | {{ : |
== Prepare image HAOS: == | == Prepare image HAOS: == | ||
Line 33: | Line 34: | ||
unxz haos_rpi2-13.0.img.xz | unxz haos_rpi2-13.0.img.xz | ||
</ | </ | ||
- | * insert | + | * insert |
< | < | ||
sudo fdisk -l | sudo fdisk -l | ||
Line 43: | Line 44: | ||
== First run HA == | == First run HA == | ||
- | * włóż kartę SD do RPI | + | * insert sd card to RPI |
- | * podłącz | + | * connect |
- | * podłącz | + | * insert |
- | * podłącz zasilanie i poczekaj moment, aż HA się załąduje | + | * connect power to RPI and wait while for HA to run |
- | * na ruterze sprawdź jakie IP na RPI | + | * on your router check your rpi Ip address |
- | * w przeglądarce wpisz adres: IP:8123 | + | * in web browser insert rpi Ip address with port 8123, http:// |
- | * na początku stwórz konto | + | * first create account |
- | == Czynności po pierwszym uruchomieniu:== | + | == Setup wifi connection on first run:== |
- | * idź do ustawień | + | * go to Settings |
- | * w ip4 wybierz automatyczny | + | * in ip4 select automatic |
- | * w WI-FI przeskanuj sieć, wpisz SSID i hasło - po czym zapisz ustawienie | + | * in WI-FI scan network to find your network and insert |
- | * zrestartuj HA aby uaktywnić WIFI dongle | + | * reboot rpi to set up wifi |
- | ==Instalacja dodatków:== | + | == Install Add-ons:== |
- | * idź do: ustawienia | + | * go to : Settings |
- | * naciśnij na klawisz dodaj i zainstaluj | + | * click in add and install |
- | * esphome | + | * esphome |
- | * file editor | + | * file editor |
- | == Struktura konfiguracyjna | + | == HA config structure |
* configuration.yml | * configuration.yml | ||
* automation.yml | * automation.yml | ||
* secrets.yml | * secrets.yml | ||
- | == Przygotowanie płytki ESP32 i podłączenie | + | == Connect |
- | * BMP280 | + | * BMP280 |
- | * podłącz piny: | + | * connet |
* BMP280 VCC -> ESP32 3V | * BMP280 VCC -> ESP32 3V | ||
* BMP280 GRN -> ESP32 GRN | * BMP280 GRN -> ESP32 GRN | ||
Line 76: | Line 77: | ||
* BMP280 SDA -> ESP32 D21 | * BMP280 SDA -> ESP32 D21 | ||
- | ZDJECIE PLYTKI Z PODLACZENIEM | + | ESP32 and BMP280 final photos. |
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
- | == Podłączenie | + | == Connect |
- | * podłącz | + | * connect |
- | * kliknij w ESPHome | + | * open ESPHome |
- | * kliknij dodaj nowe urządzenie | + | * click on add new device |
- | tak powinno wyglądać ustawienie: | + | this is sample of config file: |
< | < | ||
Line 134: | Line 141: | ||
</ | </ | ||
- | a tak wygląda przykładowa automatyzacja, | + | This is how looks sample of automation config |
< | < | ||
Line 168: | Line 175: | ||
</ | </ | ||
- | Dokładna dokumentacja jest tutaj: https:// | + | Whole documentation is here: https:// |
rpi.1727634847.txt.gz · Last modified: by karcio