A Golang library to interact with the Ninja Sphere-- used for creating tubular new drivers and radical apps.
It takes care of the connection to MQTT, implementing and calling services using JSON-RPC, device protocols, schema validation, configuration, logging etc. It's your hero in a half-sphere.
tl;dr - Writing a driver in Go? Use this.
For development outside of a devkit/sphere, ensure you have sphere-serial in your path, and have sphere-config and schemas checked out and accessible.
For example usage in drivers, check out driver-go-chromecast, the example fakedriver or any of our other released drivers.
-
schemas - Json Schemas describing all the communication between services (drivers, apps etc.) in Ninja Sphere.
-
sphere-config - The base configuration that is shared in Sphere.
More information can be found on the project site or by visiting the Ninja Blocks forums.
To contribute code changes to the project, please clone the repository and submit a pull-request (What does that mean?).
This project is licensed under the MIT license, a copy of which can be found in the LICENSE file.
This work is Copyright (c) 2014-2015 - Ninja Blocks Inc.