Giter Club home page Giter Club logo

internetbuttonwebhook's Introduction

InternetButtonWebHook

This is a simple web hook using the Particle Internet Button. It will currently do a HTTP POST to a Discord Bot to play a sound effect in the specified users channel. (It's a GG Button)

YouTube demo: https://www.youtube.com/watch?v=Xh_Vnjorjzk Blog post:

Setup

Button

If you want to recreate this, you'll need an internet button, setup and claimed by a spark account. Start here: https://store.particle.io/collections/shields-and-kits

Code

The code is provided in this repository. For the two libraries you'll need to go to libraries in the web editor and add them both. Make sure the include doesn't end up doubled-up.

Web Hook

This webhook hits a Discord Bot, but you could hit anything. If you want to setup the Discord bot, start here: https://github.com/Darkside138/DiscordSoundboard

Customize

You could make it play different sounds for different buttons, etc. Make sure to change the soundFileId to one loaded on your server, and the username should be the person to find and play the sound for.

Serial Output

To use the Serial output, have your internet button connected via usb and type 'particle serial monitor'.

Soundboard API

If you setup the Discord Sound Board from Darkside, you can hit /v2/api-docs to see the full available api. For example: http://localhost:8080/v2/api-docs

internetbuttonwebhook's People

Contributors

georgefrick avatar

Watchers

 avatar  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.