bondhome-mqtt

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 11 Imported by: 0

README

bondhome-mqtt

MQTT bridge for BondHome API. See http://docs-local.appbond.com

Overview

This program does two things:

  1. Relay commands received via MQTT to the Bond Bridge API
  2. Update MQTT topics with device status (subscribed via BPUP1)
Topics

On startup, the bondhome-mqtt program gets a list of all devices connected to the Bond Home Bridge and sets up the following MQTT topics for each device:

bondhome/devices/<device id>/<action> for triggering actions

bondhome/devices/<device id>/state for publishing device state

Usage

Command line
go run main.go -broker tcp://<host>:<port> -bridge <ip> -token <token>

See 2 for instructions on getting the correct value for <token>

Docker

The pre-built image is available on Docker Hub as spencersmall/bondhome-mqtt.

A Dockerfile is also included in this repo.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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