NO LONGER MAINTAINED, MAINTAINED REPO HERE
Join our telegram support/chat.
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
- M5stack
- ArduinoJson
Upload code!
Press A on the M5Stack during "POWERED BY LNBITS" screen
Connect to the WiFi captive portal SSID: "⚡lntrigger⚡" PASS: "password1"
Enter your LNBits details, and the pin you wish to set HIGH (default 16)
Connect whatever you want turned on (relay,led,etc) to the HIGH pin and GND