selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
ecowitt2mqtt logo

Self-host ecowitt2mqtt

2024.10.0

Weather station to MQTT bridge for Fine Offset devices

ReleaseOpen SourceMIT
Updated9 hours ago
LanguagePython
Setup difficultyModerate
Stars
299
Port
8080 (HTTP endpoint for receiving weather station data)
Requires
MQTT Broker
Docker
bachya/ecowitt2mqtt
Install with Docker Compose
ecowitt2mqtt screenshot 1ecowitt2mqtt screenshot 2

What is ecowitt2mqtt?

A Python CLI and web service that collects readings from Fine Offset weather stations — such as Ecowitt, Ambient Weather, and Froggit models — over HTTP, transforms the measurements, and publishes them to MQTT brokers. It can automatically register sensors in Home Assistant through MQTT Discovery, computes extra values like dew point and heat index, lets you manage several gateways with distinct settings, and converts units between imperial and metric. You can deploy it with pip, Docker, Docker Compose, systemd, or supervisord; the only external dependency is an MQTT broker.

Should you self-host ecowitt2mqtt?

ecowitt2mqtt scores 49/100 on selfhost.directory (how scoring works) and ranks #7 of 10 in IoT. It has 299 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Mosquitto (76/100, 11 306 stars). It scores higher overall, so compare the two before you pick. See ecowitt2mqtt vs Mosquitto side by side.

Features

  • Battery configuration handling
  • Calculated Sensors
  • Diagnostics mode
  • Home Assistant MQTT discovery
  • MQTT publishing
  • Multiple gateway support
  • Multiple input data formats
  • Raw data passthrough
  • Unit Conversion
  • Weather station data ingestion

ecowitt2mqtt README

How to install ecowitt2mqtt

Install ecowitt2mqtt with Docker Compose

Docker Compose

version: "3"

services: ecowitt2mqtt: build: context: . container_name: ecowitt2mqtt environment: ECOWITT2MQTT_MQTT_BROKER: vernemq ECOWITT2MQTT_MQTT_PASSWORD: password ECOWITT2MQTT_MQTT_TOPIC: Test ECOWITT2MQTT_MQTT_USERNAME: ecowitt ECOWITT2MQTT_VERBOSE: "true" ports: - "8080:8080/tcp" restart: unless-stopped

Example development configuration; use published images for production

ecowitt2mqtt releases & version history

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…