GithubHelp home page GithubHelp logo

arcbtc / devicetimer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doktorshift/devicetimer

0.0 0.0 0.0 4.49 MB

Timed and restricted animal feeding or triggering any machine.

License: MIT License

Python 51.40% HTML 48.60%

devicetimer's Introduction

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

devicetimer's People

Contributors

doktorshift avatar pieterjm avatar arcbtc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.