Releases: LightningPiggy/lightning-piggy
Release list
v6.4.0
Firmware release v6.4.0 for the LilyGo T5 2.13" and 2.66" ePaper boards.
Install or update via the web installer at https://lightningpiggy.github.io (no cable tools needed), or OTA from a device already running 6.x.
What's new
- NWC receive code from
lud16— an NWC-only piggy now shows a receive QR automatically, using the Lightning Address in the NWC URL'slud16parameter (coinos and LNBits' nwcprovider include it), with thelightning:URI scheme so phone cameras open a wallet.
Fixes
- LNBits balance no longer overflows at ~0.0215 BTC (millisat balance was parsed into a 32-bit int).
- NWC balance bias is no longer re-added on every payment notification, and is applied to the initial balance fetch.
- A single failed Bitcoin price lookup no longer poisons the fiat balance with 0 for 15 minutes.
- Fixed an out-of-bounds write in the payment list when full (or when a payment arrives before the first fetch).
- Fixed the config-save handler reading past the HTTP request buffer (occasional crashes on save).
- Fixed the tilt-sensor interrupt firing continuously while tilted (now edge-triggered) and a missing
volatileon its ISR flag. - Non-2xx HTTP responses are rejected in the shared fetch helper (the update checker no longer "finds" updates in 404 pages).
- Websocket notifications without a
wallet_balancefield are ignored instead of showing a zero balance.
Security / privacy
- Secrets are no longer printed to the serial console: WiFi password, LNBits invoice key, NWC URL (contains the wallet secret) and posted config bodies are redacted.
Built with esp32 arduino core 3.2.0, FlashMode=qio, custom 4 MB partition (partition table byte-identical to v6.3.0). Verified booting on TTGO ePaper hardware.
6.2.0
- Show more info about what the device is doing at startup (connecting, time sync, webserver, fetching)
- Use standard NTP time sync (pool.ntp.org) for everything, eliminating dependency on https://timeapi.io
- Always display current time on display when powered on instead of only before sleeping
- Bring back translation of weekday names to local language
- Attempt wifi reconnection if connection is lost
- Add configurable "sleep mode" setting (feature request issue #35) so you can choose between "no_sleep", "custom_sleep" (default, 6 hours) and "endless_sleep" modes
- Add periodic daily (23h) restart to handle any unforeseen issues that might have occurred
- Add support for running the same build on both physical and virtual (QEMU) ESP32 devices without recompilation
6.1.0
- Nostr Wallet Connect: add support for NIP47 payment notifications for instant gratification; when a payment comes in, the new wallet balance(s) and updated list of payments are immediately displayed
- Fix issue #30 that would show "null" if no payment comment was provided (thanks for reporting, @jurjendevries !)
This means we are finally at 100% feature parity between LNBits and NWC, making NWC a first-class citizen for wallet connection without sacrificing any functionality.
It took adding support for payment notifications to the Nostrduino library, because this wasn't supported yet, as well as coordinating with coinos.io to fix a few bugs in their payment notifications. This and two more pull requests were submitted to upstream Nostrduino.
Find it in the web installer and if no bugs are found, we'll activate the update notification for it.
In addition to feature parity, we reached another milestone today: there are now no known, open bugs in the lightning piggy!
The only open issues we have on GitHub are feature requests 🥳
v4.0.5
- Build unified firmware that supports both 2.13 and 2.66 inch ePaper display by detecting it at boot
- Migrate from GxEPD library to GxEPD2 library for much faster display updates
- Integrate U8g2_for_Adafruit_GFX library to support UTF-8 fonts (non-ascii characters such as öüäß)
- Add de_DE (German) and de_CH (Swiss German) boot slogans. Thanks GABRI3L!
- Add da (Danish) boot slogans. Thanks Jake21m!
- Rebuild boot logo to emphasize the lightning bolt in "Lightning Piggy" logo
- Place currency symbols before the fiat amount when appropriate
- Use proper fiat currency symbols (€,£,$,¥)
- Fix update notifications (they were broken in v3.x)
v3.0.3
- Re-add lost "Wifi: " on display to indicate ongoing wifi connection at boot
- Fix "ASSOC_LEAVE" leftover on display when disconnecting from wifi before sleep
v3.0.1
- Add websocket for near instant payment reception while awake
- Improve stability and reduce backend load by avoiding frequent polls
- Reset awake timer after payment received in case another one comes in
- Improve timeout behavior in HTTPS fetcher
- Improve display code
- Remove unused libraries for smaller filesize and faster flashing
- Upgrade ESP32 Board Support version to 2.0.14
- Fix tilda character causing big blank space on display
- Fix partially blank timestamp on display
- Fix rare hang in chunked HTTPS fetcher
- Fix battery voltage glitch causing unnecessary sleeps
- Fix watchdog timeout configuration logic
Install the firmware using the webinstaller at https://lightningpiggy.github.io/
Build instructions and project info at https://www.lightningpiggy.com/