other database
This commit is contained in:
@ -18,9 +18,9 @@ PID_FILE = "/tmp/mqtt2mongo.pid"
|
|||||||
LOG_FILE = "/tmp/mqtt2mongo.log"
|
LOG_FILE = "/tmp/mqtt2mongo.log"
|
||||||
BROKER = "mqttbroker"
|
BROKER = "mqttbroker"
|
||||||
TOPICS = ['IoT/Measurement/#', 'IoT/WiFiPowerMeter/Measurement']
|
TOPICS = ['IoT/Measurement/#', 'IoT/WiFiPowerMeter/Measurement']
|
||||||
MONGO_HOST = "172.16.2.15"
|
MONGO_HOST = "localhost"
|
||||||
MONGO_DATABASE = "test"
|
MONGO_DATABASE = "iot"
|
||||||
MONGO_COLLECTION = "test"
|
MONGO_COLLECTION = "iot"
|
||||||
|
|
||||||
|
|
||||||
if BACKGROUND:
|
if BACKGROUND:
|
||||||
|
Reference in New Issue
Block a user