1.1.1 • Published 5 years ago

mqtt-firebase v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

mqtt-firebase

A CLI tool for subscribing to MQTT topics and dumping them to a firebase firestore DB.

All messages are stored under an mqtt collection where each doc is referenced by a timestamp and contains fields for topic, timestamp, and msg.

Install

npm install -g mqtt-firebase

Setup

mqtt-firebase start \
  --host <url> \
  --username <username> \
  --password <password> \
  --firebase <path> \
  --topics <list>

options

All options listed are required. You can also run mqtt-firebase start -h for more details.

optionsdescription
hosturl for the MQTT broker. e.g. wss://mqtt.example.com
usernameusername for MQTT broker if available
passwordusername for MQTT broker if available
firebaserelative path to firebase service account JSON config
topicslist of comma seperated topics. e.g. test,test/nested
1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago