Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 293 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 293 Bytes

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