Giter VIP home page Giter VIP logo

devicetimer's People

Contributors

doktorshift avatar pieterjm avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

doktorshift

devicetimer's Issues

[Propasal] Description placeholder

[Status quo]

Right now there is not a declaration for this extension.

github device timer

[Propasal]

For bitcoin switch based devices only

You can set various time windows for your project and display custom output when closed.

Payments available during specified time window.
Timeout after each payment.
Allow a maximum number of payments per 24 hours.
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.

Get in touch with us at: https://t.me/lnbitsgermany

Created by, Ben Arc, BC, Vlad Stan, dni
Forked by, pieterjm & business-bitcoin.de

[Feature] Allow `extra´ field "comment"

Is your feature request related to a problem? Please describe.

If we allow/implement the extra field "comment", this allows the extension to be used for multiple new purposes. A verifying information transfer is possible.

Its already used inside the lnurlp extension
comment

Implement it in Device Timer extension would look like this:
add extra

[Feature] Add "Quantity" as an addable option

Is your feature request related to a problem? Please describe.

Right now the extension behave options to trigger the device restricted by

  1. Opening time
  2. payable x times during the last 24 hours

Describe the solution you'd like

One more option to allow triggering by a quantity check would allow a few more usecases.

I would like it to be possible to specify the quantity of availability for each product/machine. That way, it can no longer be triggered if the product is sold out.

This would allow or improve the "misuse" of the extension, e.g. for the use of vending machines.

This is my solution

Add a "optional int" value field to specify the quantity during configuration/editing of the device.

quantity

Additional context

  1. If the field is empty do not consider this option.
  2. If value 0 give back sold out
  3. if value <1 allow create invoice

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.