Skip to content

This image reads weather information from the openweather api and submit it to a mqtt broker.

License

Notifications You must be signed in to change notification settings

dbck/docker-openweather2mqtt

Repository files navigation

Purpose

This image reads weather information from the openweather api and submit it to a mqtt broker.

Configuration (Enviroment variables)

Please specify at least the OPENWEATHER_API_KEY to be able to access the openweather api and OPENWEATHER_CITY to receive the correct data.

OPENWEATHER_LANG=en
OPENWEATHER_UNITS=metric
OPENWEATHER_CRON_TIMEZONE=Europe/Berlin
OPENWEATHER_CRON_SCHEDULE="*/30 * * * * *"
OPENWEATHER_API_URL=api.openweathermap.org
OPENWEATHER_API_KEY=
OPENWEATHER_CITY=Berlin
OPENWEATHER_MQTT_TOPIC=openweather/current_weather

License

This software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this files except in compliance with the License.

A copy is included in this repository in the LICENSE.txt file or you may obtain a copy of the License at here:

Unless required by applicable law or agreed to in writing, software and documentation distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributor covenant code of conduct

Please have a look in the CODE_OF_CONDUCT.adoc for information about Contributor covenant code of conduct.

Changelog

Changes will be tracked in CHANGELOG.adoc.

Contribution and development

Please take a look at CONTRIBUTING.adoc file for informations about contribution and development.

About

This image reads weather information from the openweather api and submit it to a mqtt broker.

Resources

License

Stars

Watchers

Forks

Packages

No packages published