HomeSmartMesh / py_db_proxy

Python proxy for the database access from the front end

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%