Skip to content

tobymurray/mqtt-to-timescaledb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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