Categorygithub.com/JulianSauer/Weather-Station-Sensor
repositorypackage
0.0.0-20220607221202-525a9261a7b7
Repository: https://github.com/juliansauer/weather-station-sensor.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Weather Station Sensor

Reads data from a Tinkerforge Weather Station or a Mobile Alerts temperature sensor and sends it to a message hub (AWS Simple Notification Service). The service sends the weather data only once on execution and is meant to be run as a cron job.

Example config.json:

{
  "sensorType":  "",
  "tinkerforgeWeatherStationAddress": "",
  "tinkerforgeWeatherStationPort":  "",
  "tinkerforgeWeatherStationUID": "",
  "mobileAlertsUrl":  "",
  "mobileAlertsDeviceId": "",
  "AWS-SNS-Weather-Topic":  "",
  "AWS-SNS-Battery-Topic": ""
}

The sensor type has to be Tinkerforge or MobileAlerts. Depending on that either fill in the values for the Tinkerforge weather station or for the Mobile Alerts sensor. The topics are ARNs.

This also requires a .aws/credentials file with an access key and a secret access key that can push messages to the SNS topics.