Skip to content

Python proxy for the database access from the front end

Notifications You must be signed in to change notification settings

HomeSmartMesh/py_db_proxy

Repository files navigation

MQTT client

pip install paho-mqtt

Mongodb client

pip install pymongo

Websocket server

pip install websockets

#influxDB client

pip install influxdb

MQTT broquer

sudo apt-get install Mosquitto

config file: /etc/mosquitto/mosquitto.conf

/usr/share/doc/mosquitto/examples/mosquitto.conf.example

config should be placed in /etc/mosquitto/conf.d/

##mosquitto service sudo service mosquitto stop

##Test with command line ###Install sudo apt-get install mosquitto-clients ###Run in one window

mosquitto_sub -t 'test/topic' -v

in another window

mosquitto_pub -t 'test/topic' -m 'hello world5' -h 10.0.0.2

About

Python proxy for the database access from the front end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages