/bitcoinswitch

Turn things on with bitcoin!

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Flash and configure from browser! https://bitcoinswitch.lnbits.com/

Once flashed, press GPIO4 in few seconds of ESP32 booting up to be able to config

Snow Forest Mountains Mountains

👉 An absolutely incredible bitcoinSwitch guide by Axel 👈

Compatible with any ESP32 microcontroller.

For use with LNURLDevice in LNbits.

✅ $5 worth parts/5min setup

✅ Websockets for blazingly fast turning on the things

✅ Web-installer/config for easy setup

✅ Support for MULTIPLE GPIOS/LNURLs!!!

Video tutorial

Join us! t.me/makerbits

Complicated install instructions not using browser flashing

trigger

development

build with arduino-cli

sh build.sh

build webinstaller, fetch main assets from lnbits.github.io

sh build-installer.sh

start preview

cd installer
http-server -p 8080

arduino-cli

compiling

arduino-cli compile --build-path build --fqbn esp32:esp32:esp32 bitcoinSwitch

monitoring

arduino-cli monitor -p /dev/ttyUSB1 -c baudrate=115200

uploading

arduino-cli upload --fqbn esp32:esp32:esp32 --input-dir build -p /dev/ttyUSB1