Mirror of meteo - My environmental monitoring solution
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Felix 69211935ba
Ignore ini files
5 months ago
Sensors Improve reconnect handling 5 months ago
cmd/meteo-influx-gateway Fix reconnection behaviour 5 months ago
integrators/home-assistant Remove deprecated software 6 months ago
.gitignore Ignore ini files 5 months ago
.travis.yml Fixed requirements for CI 2 years ago
LICENSE Initial commit 6 years ago
Makefile Remove deprecated software 6 months ago
README.md Remove deprecated software 6 months ago
go.mod Fix reconnection behaviour 5 months ago
go.sum Fix reconnection behaviour 5 months ago
meteo-influx-gateway.ini.example Fix reconnection behaviour 5 months ago
meteo.png Icon 5 years ago

README.md

meteo

Build Status

Lightweight environmental monitoring solution

This project aims to provide a centralized environmental and room monitoring system for different sensors using mqtt. Data storage is supported via a meteo-influxdb gateway.

Nodes/Sensors

Current meteo sensors are ESP32 based nodes with a BME280 sensor, but in principal every node that is able to push data via MQTT can be attached to the server.

See the EPS32 folder in Sensors for the current supported node

MQTT packets

MQTT is considered as trusted network in meteod. New station will be automatically added. If you want to have better access control, please use http and disable MQTT in your config file.

Every node that publishes MQTT packets in the given format is accepted.

# Node ID: 1, replace in topic and payload

## meteo packets
TOPIC:    meteo/1
PAYLOAD:  {"id":1,"name":"Node","t":23.36,"hum":44.56,"p":99720.89}

## lightning packet
TOPIC:    meteo/lightning/1
PAYLOAD:  {"node":1,"timestamp":0,"distance":12.1}
# if the timestamp is 0, the server replaces it with it's current time

meteo-influx-gateway

The provided meteo-influx-gateway is a program to collect meteo data points from mqtt and push them to a influxdb database. This gateway is written in go and needs to be build

go build ./...

The gateway is configured via a simple INI file:

[mqtt]
remote = "127.0.0.1"

[influxdb]
remote = "http://127.0.0.1:8086"
username = "meteo"
password = "meteo"
database = "meteo"