Giter Site home page Giter Site logo

lucvoo / usb-relay-hid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pavel-a/usb-relay-hid

0.0 2.0 0.0 131 KB

Software for USB-connected relays with HID interface. See the WIKI for more info.

Home Page: http://vusb.wikidot.com/project:driver-less-usb-relays-hid-interface

Shell 1.66% Python 5.10% C 50.67% Makefile 1.30% Objective-C 1.23% Batchfile 1.33% C++ 38.71%

usb-relay-hid's Introduction

usb-relay-hid

This project provides open-source API for low-cost USB HID relays (search on eBay for "5V USB Relay Programmable Computer Control For Smart Home").

The big advantage of HID-based interface is that no kernel drivers and no simulated COM-ports are needed. It is easy to detect and address the connected devices. Ebay vendors currently offer only an API library for Windows, and only in binary form.

We are not associated with the manufacturer(s) of these devices or author(s) of the original software offered by ebay sellers.

The project home page is on the V-USB wiki - because the firmware of the device is based on V-USB. V-USB enables amazingly simple and low-cost USB hardware solutions.
This repository contains only the host side software.

Binary downloads, documentation, bugs, TO-DOs and more

All this is in the Github project : releases, wiki pages and Issues.

Current state

  • A simple command-line utility for Linux (x86 or x64), Apple OS X and Windows (XP and newer, 32 and 64-bit).

  • Shared library for Linux (x86 or x64), Apple OS X and Windows.

  • Python (CPython) - supported thru the shared library

The Windows version of the shared lib, USB_RELAY_DEVICE.DLL, is backward compatible with the binary from the device vendor. Windows GUI demo app is similar to the device vendor's but written in C++/CLI.

Required to build:

  • Windows version: builds with VC++ and WDK 7.1, or VC++ 2013 "community edition" with its matching SDK (Win8.1).
  • Linux version builds with gcc and libusb v. 0.1. Tested on RH, Ubuntu, Mint.
  • OS-X 10.9+ version builds with Xcode and plain IOKit libraries.

License

Currently we reuse some code from other V-USB projects, which is dual-licensed: GPL + commercial. Until we remove this code, we cannot set any other license.

We could not locate any copyright information in the software package offered by the eBay sellers. No source code was reused from that package, besides of the C API header (the .h file).

usb-relay-hid's People

Contributors

pavel-a 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.