Giter VIP home page Giter VIP logo

inno-chrome-blinkstick's Introduction

BlinkstickChrome2

Chrome App Reference
Preview This project is based on BlinkstickChrome, a Chrome app published by onion2k.
This is a Chrome App to test and control your Blinkstick LEDs, and to connect it with a SocketIO server.
Once you're ready with your light patterns, just copy the given code and send it later xith you SocketIO server!

Requierements

  • A Chrome dev channel to access chrome.hid
  • A version newer than Chrome 41 in order to access onDeviceAdded and onDeviceRemoved events
  • A SocketIO server (not needed for tests)
  • A blinkstick device

Running BlinkstickChrome

  • Clone the repo
  • Open the Chrome extensions page (chrome://extensions)
  • Switch on Developer mode (tickbox at the top right)
  • Click "Load Unpacked Extension..." button to find the repo folder and install it as an app

Preview

Configuration

Click Configuration (navbar) to access the configuration panel. There, you can chose the number of LEDs of your device, but also configure the SocketIO connection. You cannot save the configuration, but download and upload a file to save time.

Connection info

You can get information on the SocketIO connection or the device acess by clicking State for both panels.

Tests

To test your Blinkstick and create patterns, click Test panel. When you test a pattern, you get the json object that you socketIO server can send in order to get the same. For information, the "stop animation" send :

{	
    "action": "swi",
    "colors": [{"r":0, "g":0, "b":0}],
    "loops": 0
}

inno-chrome-blinkstick's People

Contributors

klervix avatar

Watchers

 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.