ambient2mqtt

command module
v0.0.0-...-a91f179 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 16 Imported by: 0

README

Ambient2MQTT

Patrick Wagstrom <patrick@wagstrom.net>

October 2021

Overview

This is a simple single binary server that acts as a target for your Ambient Weather station on your local network and relays the data over MQTT so other IoT related devices can make use of it.

You will need to have a newer firmware installed for your Ambient Weather station in order to make use of this feature.

Usage

./ambient2mqtt -config config.toml

Configuration

Configuration is done via a TOML file. Here's a simple example configuration:

[http]
    port = 2466

[mqtt]
    broker_host = "mqtt-broker.lan"
    broker_port = 1883
    broker_username = ""
    broker_password = ""
    client_id = "ambient2mqtt"
    topic_prefix = "weather"
    topic = "ws-2902"
[hass]
    discovery = true
    discovery_prefix = "homeassistant"
    object_id = "ws-2902a"

License

Licensed under terms of the MIT license

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