rpisnowman

command module
v0.0.0-...-9159b3b Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

README

What?

This is a small tool that runs the Ryanteck RTK-000-00A GPIO Snowman through a couple of schemes of light flashes in random order

A pre-built binary is in the releases section, download onto your Pi and run it.

Building

You can build your own binary from this code:

env GOOS=linux GOARCH=arm GOARM=5 go build -ldflags '-w -s'

This will build the standard binary deployable to RPIs.

Management

A backplane is embedded using the Choria Backplane system, it's setup in insecure mode so can work with any NATS server without TLS enabled like demo.nats.io.

Start the snowman as follows to enable this:

SNOWMAN_NAME=bob BACKPLANE_BROKERS=demo.nats.io:4222 ./rpisnowman

With the backplane client setup you can run:

$ backplane --insecure bob pause

To turn the light display off - later issue a resume action and it will start again.

Contact?

R.I.Pienaar / www.devco.net / @ripienaar

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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