Skip to content

Nikpesu/WeatherStation

Repository files navigation

Setup

  1. Install Visual Studio Code

  2. Install PlatformIO extension from Extensions (CTRL + SHIFT + X)

  3. Open project with Platform IO. image

  4. Then select board image

  5. Then set parameters (in esp32/main_esp32.h or esp8266/main_esp8266.h): SDA and SCL port (default => ESP8266 4, 5 or ESP32 33, 35) and pin for button (default => 12) image

  6. Compile and upload. image

  7. Upload data. image

  8. Hold the button (pin 9 default) and press restart for hotspot to open (default ip should be 192.168.4.1 or just see serial for ip/hostname)

  9. Input data to ESP and restart ESP if it doesn't by itself image

  10. Enjoy 🥰

OTA update

  1. set in platformio.ini file for selected board upload_port (exampleupload_port=ws1.local)

  2. upload... (if it doesn't do it first time try again)

Board scheme v1

Schematic_weather V2_2022-08-01