Coder Social home page Coder Social logo

eny-devkit's Introduction

Connect eny with your own products / services

https://www.quantum.ne.jp/eny/
GET STARTED WITH ENY DEVELOPER KIT


Tested on

  • Mac / Raspberry PI
  • python 2.7 / 3.5

Setup

  1. Install FTDI driver from http://www.ftdichip.com/Drivers/D2XX.htm
  2. Install requirements.txt
    • pip install -r requirements.txt
    • OR you can install as "eny" command line > python setup.py install
  3. Check eny serial number
  4. Connect eny USB host with PC
  5. Register eny device
    • ./eny.py pair add F1234567 # THE SERIAL NUMBER
  6. Click the eny button!
    • ./eny.py listen

Usage eny.py

# Show help
./eny.py -h
./eny.py pair -h

# Listen mode, ctl-c to exit
./eny.py listen

# View all pairing devices
./eny.py pair view

# Add new device
./eny.py pair add FFF00001

# Delete the device from pairing
./eny.py pair del 01

# Reset all pairing devices
./eny.py pair reset

# Get the host reciever ID
./eny.py get_id

# (Optional)
# Port name like /dev/ttyUSB*
./eny.py --port /dev/ttyUSB*
# Serial baudrate
./eny.py --baudrate 115200

Sample IFTTT

  1. Connect IFTTT Maker channel
  2. Copy your secret
  3. Run
    • ./sample_ifttt.py YOUR_SECRET

Sample LED Blink on Raspberry PI

  1. Wire Raspberry PI and LED
  2. Require GPIO Library
    • sudo apt-get install python-rpi.gpio
  3. And Run, might need sudo
    • ./sample_blink.py

eny-devkit's People

Contributors

asus4 avatar toshiwa avatar

Stargazers

Pasword12 avatar Hieu Minh Nguyen avatar Weiqi Zhao avatar

Watchers

masashi matsukura avatar  avatar James Cloos 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.