From d0a5aac26dbf9c46b6b2a331f33e689b4db069a0 Mon Sep 17 00:00:00 2001 From: Silas Dohm <silas.dohm@stud.hs-bochum.de> Date: Sat, 17 Sep 2022 01:04:13 +0200 Subject: [PATCH] updated readme --- README.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 599b5a0..260eb46 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> -- GitLab