Script for Home-Automation with a NodeMCU
To use the script, create File named "config.h" in the project path with the following content. Change the SSID and PASSWORD to your local WiFi-Settings.
#define WIFI_SSID "SSID"
#define WIFI_PASSWORD "PASSWORD"