Install Arduino IDE:
https://www.arduino.cc/en/software
Install ESP32 boards:
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
Install libraries:
- WiFimanager
- ArduinoJson
Upload code!
GPIO 04 is set to monitor capacitance, and if pressed on startup triggers portal access point
Connect to the WiFi captive portal SSID: "⚡lnurltrigger⚡" PASS: "password1"
Enter your LNBits details, and the pin you wish to set HIGH (default 16)
LNURLtrigger makes an LNURL-pay in lnbits, which can be printed
Connect whatever you want turned on (relay,led,etc) to the HIGH pin and GND