indoorclimate

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 10 Imported by: 5

README

hdb-datasource-indoorclimate

Consumer to receive indoor climate events from a MQTT broker and publish to HomeDashboard backend.

Documentation

Index

Constants

View Source
const MQTT_CLIENT_ID = "indoorclimate_consumer"

Variables

This section is empty.

Functions

func New

func New(conf config.Config, logger log.Logger, secretsManager secrets.SecretsManager) core.Collector

Types

type IndorrClimate

type IndorrClimate struct {
	DeviceId string
	Reading  Measurement
}

type Measurement

type Measurement struct {
	Type, Value string
}

type MqttClient

type MqttClient struct {
	// contains filtered or unexported fields
}

func (*MqttClient) Run

func (client *MqttClient) Run(ctx context.Context) error

Directories

Path Synopsis
bin module
k8s module
lambda module
plugins module
targets module

Jump to

Keyboard shortcuts

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