openHAB and Tasmotized ESP8266

You mention that you just have a ESP8266 switch. Maybe try this tutorial?