Giter Site home page Giter Site logo

supersatsswitch's Introduction

SuperSatsSwitch

SuperSatsSwitch - An IoT switch to SuperSats.tv or LNPay wallets.

As you get satoshis from the audience, you may turn on anything you want, including lighting, articulated dolls, and other real-world things, using a switch similar to the BitcoinSwitch.

This is a free and open source project!

Requeirements

  • ESP line of processors
  • A relay or other device that could be activated via a digital pin

Instructions

  • Compile and upload the code using VSCode with Platformio;

  • Access the device portal with a cellphone or other wifi-enabled device;

    • SSID: SuperSatsSwitch
    • Password: MineYourCoins
  • Enter the needed information:

    • Wifi credentials;
    • The LNPay server; (or leave the deault)
    • The LNPay API path; (or leave the default)
    • Your wallet public key; (starts with pak_ )
    • Your wallet read key; (starts with wakr_ )
    • Relay 1 pin; (wich digital pin should be used)
    • Relay 1 Sats; (minimal amount of sats received to activate the realy)
    • Relay 1 Time; (How much time in seconds the relay need to be activated)
    • Relay 1 pulse; (How many times the activation should be repeated - not yet...)
    • Awtrix address; (If you have an Awtrix display, the message could be displayed there; Use IP or .local awtrix name)

The current version was tested with a Nodemcu - ESP8266

TO-DO:

  • Polish the code. B'p
  • Finish the installation instructions.
  • Implement one more relay.
  • Polish the documentation.
  • Publish a binary and portal for an easier installation process.
  • ....

Heavily inspired by:

supersatsswitch's People

Contributors

nitroxgas avatar

Stargazers

Cais avatar 22388o⚡️  avatar

Watchers

 avatar

Forkers

22388o

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.