Troubleshooting
Common issues and solutions for Lightning Piggy
Classic refers to the original e-paper Lightning Piggy running C++ firmware.
MicroPythonOS refers to the newer touchscreen version running MicroPythonOS.
Getting Started
Creating an LNbits Wallet
Connecting your device
Nothing happens when I plug the device into the computer.
Sourcing Parts MicroPythonOS
Flashing the Firmware MicroPythonOS
Sourcing Parts Classic
Flashing the Firmware Classic
Serial port access errors Classic
Failed to open serial port error when trying to flash firmware.
sudo chmod 777 /dev/ttyUSB* to grant access. On Windows/macOS, install drivers if prompted — Linux systems typically include the necessary drivers by default.Browser extension conflicts during flashing Classic
JavaScript errors like "Trying to access beyond buffer length" appear during firmware installation.
LILYGO TTGO T5 2.66 inch E-paper device Classic
The device does not turn on (device leds stay dark) when connected to my computer.
- Check you have a USB to TTL (T-U2T) connector connected between the device and your USB cable.
- Check the device is not faulty by connecting it to a power supply, instead of the computer. The red power led should light up.
Connectivity & Configuration
Wallet connection issues with Coinos
The device shows "null" or fails to connect when using Coinos wallet.
Connection errors when fetching balance MicroPythonOS
The device shows errors such as -202, 29312, or ECONNRESET when trying to connect to your LNbits server.
tls block with key_type rsa2048 to the relevant site:your-lnbits-domain.com {
tls {
key_type rsa2048
}
reverse_proxy ...
}After updating, restart Caddy and delete any cached ECDSA certificates so a new RSA certificate is obtained. You can verify the fix by checking that openssl s_client -connect your-server:443 shows "Server public key is 2048 bit" and the issuer contains "R" (RSA) rather than "E" (ECDSA).
WiFi connection issues after waking from sleep Classic
The device fails to reconnect to WiFi after waking from sleep mode.
Default configuration login credentials Classic
I'm trying to connect to my Lightning Piggy and I don't know the default credentials.
piggy and the default password is oinkoink.
Configuration common mistakes Classic
Device won't connect to wallet after configuration.
https://). Note: For MicroPythonOS piggies the full https:// URL is used. Settings are case-sensitive — use YES not Yes. Apply case sensitivity to timezone and currency fields too.Display & QR Codes
Device Display Information Classic
The screen only displays "0 sats" i.e. there is no QR code on the screen to scan.
"NOBAT" is displayed on the screen, even though a charged battery is connected.
The system's battery detection relies on heuristics and is not always 100% accurate. Rapid voltage fluctuations lead to an assumption that the device is not on battery power, while very stable voltage suggests that it is running on the battery. If the battery is charged and you have a power cable connected, try disconnecting the power cable. Alternatively, if you wish to power the device by an external source (USB power), disconnect the device battery.
LNBits QR code does not change to Lightning Address Classic
After configuring NWC with a Lightning Address, the display still shows the old LNBits QR code.
QR Code Scanner shows white screen (app) Classic
The QR scanner in the companion app displays a blank white screen instead of the camera view.
Battery Classic
Unsure if the battery is working correctly?
App & Firmware
MicroPythonOS app store fails to install Lightning Piggy MicroPythonOS
The Lightning Piggy app cannot be installed from the MicroPythonOS app store.
Balance Bias setting not showing on restart MicroPythonOS
The Balance Bias configuration option disappears or resets after restarting the device.
Diagnostics and logging Classic
Need to debug device behaviour.
Building From Source Classic
MacOS iCloud and Arduino library conflicts
Community Q&A
Have a question not answered here? Join our Telegram group for live support from other Lightning Piggy builders.
If you've discovered a solution to a common problem, please share it with the community or email oink@lightningpiggy.com so we can add it here.