Skip to content

LNbits extension compatible with LNURLdevice for animal feeding

License

Notifications You must be signed in to change notification settings

pieterjm/DeviceTimer

Repository files navigation

DeviceTimer

LNbits extension compatible with bitcoinSwitch device for timed triggering.

Preview:

combined_DeviceTimer_presentation_with_shadows

This extension behaves like the standard LNURLdevice extension with the following changes:

(1) Payments available during specified time window. This allows to create a device (for animal feeding or whatever you want to activate) with opening hours so that it is only accessible during a specific time window.

(2) Timeout after each payment. After each succesful payment, the device is blocked for some time. This to prevent overfeeding or triggering when feeding is active.

(3) When making a payment is not allowed, an alternative image is displayed instead of a QR code. The LNURL payment flow also returns an error when trying to make a payment outside opening hours.

(4) Removed support for devices other that bitcoinSwitch

This LNbits extension was built with Business-Bitcoin.de and massive support of Pieterjm. Thanks Pieter!

💻 If you like this extension and feel like you wanna donate, go ahead.
Your donation will fund contribution to this and future extensions. A shared part will also go to LNBits donation wallet.

Donation

About

LNbits extension compatible with LNURLdevice for animal feeding

Resources

License

Stars

Watchers

Forks

Packages

No packages published