intelli

package module
v0.0.0-...-6d4690e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2017 License: MPL-2.0 Imports: 0 Imported by: 0

README

go-intelli

GoDoc

A NATS and REST gateway for the Intelli range of devices. This allows hackers and tinkerers to do cool stuff with IntelliDose or IntelliClimate devices connected via USB. Update events can be subscribed to via NATS or read via the HTTP API.

Current support is limited to Linux and [experimentally] MAC.

This can be coupled with the Jelly SDK to get programmatical access to an IntelliDose.

Installation

Install using go:

go get github.com/AutogrowSystems/go-intelli

Build using go:

go build github.com/AutogrowSystems/go-intelli/cmd/intellid

Optionally install and run a NATS server.

Usage

To use it, simply run the binary (as sudo to get access to the USB files):

sudo ./intellid

If you have a NATS server running you will see JSON being published to the subject intelli.* or intelli.ASLID06030112 every 15 seconds. The JSON is formatted like so: example.json

You also have two endpoints available, /devices/count and /devices. By calling the latter you will see output like in the file example.json

TODO

  • add ability to change settings

Documentation

Overview

NATS and REST gateway for the Autogrow Intelli range of devices

Directories

Path Synopsis
cmd
Package hid provides access to Human Interface Devices.
Package hid provides access to Human Interface Devices.
util

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL