Giter VIP home page Giter VIP logo

death-star-api's Introduction

Death Star / Battleship API lab supplement

A fun way to use Postman, the Meraki Dashboard API, and a simple Sonos HTTP API to trigger sound clips

Parts list:

HW:
  • Meraki MR AP's (planets in the "Meraki System")
    • use Postman to check for the presence of associated Rebel clients !
    • a sample Postman collection is included in this repo
  • Raspberry Pi (or your laptop running Node-RED & Sonos HTTP API server - see below)
  • Sonos Play
SW:
Other:
  • Sound clips - find them or make your own with Audacity and Soundflower
How to play:
  • Import the sample Node-RED flow here:

https://github.com/knakashima/death-star-api/blob/master/death-star-api-node-red-flow

  • Import the Postman collection:

https://github.com/knakashima/death-star-api/blob/master/DeathStar.postman_collection.json

  • Input your own serial numbers of Meraki MR's that will be polled for Rebel clients via the Dashboard API

Storyline:

  • The Galactic Empire has tracked Rebel forces to the "Meraki System"
  • Stormtroopers have secretly deployed Meraki MR's to broadcast "The Force" free wifi
  1. Use Postman and the Meraki Dashboard API to search for associated Rebel clients on the MR planets

Looks like we've found a Rebel smart plug below !:

  1. After locating the Rebels, use the Death Star API (Postman) to GET/POST planet coordinates for destruction !

For alternate sounds, use the manual test inputs (inject nodes) or send different inputs in the HTTP requests via Postman (all included in the collection)

Quick demo video here: (https://goo.gl/IhzeMk)

death-star-api's People

Contributors

knakashima avatar

Watchers

James Cloos 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.