/lnurltrigger

LNURL-pay ESP32 version of LNtrigger

Primary LanguageC++

LNURL Trigger, bitcoin lightning powered relay ⚡

LNURL-pay PoS unit for retrofitting any device to accept bitcoin over lightning network


Installation

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!

Usage

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



https://www.youtube.com/watch?v=LAh8HryVaeY