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
- Host: GitHub
- URL: https://github.com/tobymurray/mqtt-to-timescaledb
- Owner: tobymurray
- Created: 2018-03-18T22:14:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-23T18:27:03.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T15:21:27.915Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 249 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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=5432MQTT_BROKER_ADDRESS=mqtt://192.168.1.1
```