diff --git a/README.md b/README.md index 599b5a000ddba5545063fc3a6a8fdbc5070935ee..260eb461d1789f84dc1f4104ac3ad7233ac841ff 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,36 @@ <img src="readme_ims/schaltung.svg" alt="alt text" title="image Title"/> ## Build -Build and flash with platform.io +Build and flash with platform.io https://platformio.org/ +<ol> +<li> +clone the repository +https: + +``` +git clone https://gitlab.cvh-server.de/sdohm/ws2812b-esp-ha-integration.git ``` +ssh: -``` \ No newline at end of file +``` +git clone git@gitlab.cvh-server.de:sdohm/ws2812b-esp-ha-integration.git +``` +</li> +<li> +update example secret.h in /lib/secrets/secrets.h + +``` +#define WIFI_SSID "WIFISSID" +#define WIFI_PASSWORD "WIFIPASSWORD" +#define CLIENT_ID "CLIENT_ID" +#define CLIENT_USERNAME "CLIENT_USERNAME" +#define CLIENT_PW "CLIENT_PW" +``` +</li> +<li> +In platformio, open the cloned folder as a project. +</li> +<li> +Build the project and upload it to esp32. +</li> +</ol>