Skip to content
A NATS and REST gateway for the Intelli range of devices
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/intellid
device
hid
util
LICENSE
README.md
doc.go
example.json

README.md

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
You can’t perform that action at this time.