Skip to content

v2.0

Choose a tag to compare

@Liongrass Liongrass released this 19 Oct 01:32
· 7 commits to main since this release

In this release, the button logic is made independent of the websockets logic, which solves the problem of the button logic being replicated in the background whenever a new payment is coming in.

This will simplify further development that depends on the buttons, as well as make the logs more readable. This also moves the logic of what pin is triggered by a payment from the LNbits server to the machine, although it will still also have to be specified on the server.

Furthermore, the logic that makes the machine "hot" or "cold" is separated out into separate functions.

To the user, the machine functions as it was in version 1.0, although hopefully more reliably.