Skip to content

Listen the Amazon Dash Button is pressed in the intranet.

License

Notifications You must be signed in to change notification settings

minodisk/dashen

Repository files navigation

dashen Codeship Status for minodisk/dashen Go Report Card codecov GoDoc MIT License

Listen the Amazon Dash Button is pressed in the intranet.

Usage

go get -u github.com/minodisk/dashen
package main

import (
	"log"

	"github.com/minodisk/dashen"
)

func main() {
	d := dashen.New()
	d.Subscribe("00:00:00:00:00:00", func() {
		log.Println("detected")
	})
	if err := d.Listen(); err != nil {
		panic(err)
	}
}

About

Listen the Amazon Dash Button is pressed in the intranet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published