MQTT Mongo DB Connector. Plugin to collect all MQTT messages into Mongo DB.
Switch branches/tags
Nothing to show
Clone or download
Ranjith Kumar
Latest commit 2946b50 Mar 12, 2018

README.md

mqttroute-mongodb-connector

This plugin connects MQTTRoute with the Mongodb to store received payload info into Mongodb for further analysis and decision making.

MQTTRoute

MQTTRoute is a powerful and high performance MQTTBroker that enables communication between various MQTT Devices and MQTT Sensors. MQTTRoute has FREE and affordable premium versions.

configure and setup mqttroute-mongodb-connector

1. Open plugin.conf and configure the 
	1. update hostname and port no of the MongoDB Server in MONGO section.
	2. set AUTHENTICATION_ENABLED = TRUE and update the Mongodb credentials otherwise set AUTHENTICATION_ENABLED = FALSE  
	3. update log file path in log section. [default = Bevywise/MQTTRoute/log]
2. Copy and paste the mongo folder and pugin.conf in to Bevywise/MQTTRoute/lib.
3. Replace custom_store.py with Bevywise/MQTTRoute/lib/custom_store.py.
4. Open Bevywise/MQTTRoute/conf/data_store.conf 
	1. Update CUSTOMSTORAGE = ENABLED
	2. Update DATASTORE = CUSTOM 
5. Start the MQTTRoute and it will start storing all the payload into Mongo DB Server.