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.
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.
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
- add ability to change settings