Hello openhab community,
@Kay_Pohl and I made a simple Wifi IoT button with the ESP8266 (ESP-08S).
ESP8266 IoT Wifi Button (Thingiverse)
There is a variant with “http request” from Kay Pohl and another with “MQTT” from me.
After pressing the top button, the http request or the MQTT Publish is executed and then goes into the deepsleep mode.
However, first you have to upload the “Arduino http updater” via Arduino IDE and serial connection for the web update or one of the two variants of us, which already integrated the http updater.
After that you no longer need the serial connection and can always make the necessary adjustments via the browser.
All you have to do is the top button on the RST and the side button to GPIO12.
Both buttons must then still be connected to GND.
Otherwise, just VCC and GND must be connected to the battery, but that’s clear.
To activate the web update, the side button must be pressed and hold.
Then press the top button briefly and wait until the LED on the ESP starts to blink, then you can call up the web address of the ESP.