Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (13 loc) · 861 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 861 Bytes

Build Status

Archived: We have moved to https://www.home-assistant.io/integrations/spaceapi/

go-mqtt-spacestatus

A simple Go implementation of spaceapi that watches all MQTT topics and caches the last values.

Build

Simply run go build.

Usage

Edit the status-template.json (go-template syntax) to your needs and run the tool. Configuration options can be set via environment variables.

  • MQTT_URL: URL of the MQTT server (default: tcp://mqtt.core.bckspc.de:1883)
  • MQTT_CLIENT_ID: set MQTT client id - must be unique! (default: go-mqtt-spacestatus-dev)
  • DEBUG: print MQTT topic changes, enabled when set, regardless of value

Limitations

Currently it's not possible to limit the MQTT topics cached.