An open API service indexing awesome lists of open source software.

https://github.com/tobymurray/mqtt-to-timescaledb

Subscribe to MQTT topic, save it to a TimescaleDB database
https://github.com/tobymurray/mqtt-to-timescaledb

Last synced: 2 months ago
JSON representation

Subscribe to MQTT topic, save it to a TimescaleDB database

Awesome Lists containing this project

README

        

# Glue together MQTT and TimescaleDB

Add a `.env` file with the configuration needed to connect to your TimescaleDB (PostgreSQL) instance. For example:
```
PGHOST=192.168.1.1
PGUSER=postgres
PGPASSWORD=password
PGDATABASE=mqtt_database
PGPORT=5432

MQTT_BROKER_ADDRESS=mqtt://192.168.1.1
```