Categorygithub.com/tommzn/hdb-datasource-indoorclimate/targets

# README

Go Reference GitHub go.mod Go version Go Report Card

Indoor Climate Data Targets

This package contains different targets indoor climate data can be send to. You can assign such a target to the SensorDataCollector using it's AppendTarget method-

Stdout Publisher

Writes indoor climate data to stout using fmt.

Log Publisher

Target, which writes indoor climate data to given logger with log level Info. See Log for more details about used logger.

AWS SQS Publisher

This target will send indoor climate measurements to a AWS SQS queue if one has been defined in config as followed.

hdb:
  queue: sqs-queue

See Metrics for ore details about timesteam integration.

AWS Timestream Publisher

To collect indoor climate data in a timestream database (AWS Timestream) you can provide a timestream config and a correcponding publisher will be added.

aws:
  timestream:
    region: eu-west-1
    database: timestreamdb
    table: timestreamtable
    batch_size: 10

Note: In addition to this config you've to provide AWS access keys with correct permissions.

Links