Skip to content

trong63/python_mqtt_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

#python_mqtt_sample

This is a python mqtt client sample code to allow to subscribe to the Conduit's MQTT server and echoing/send (publish) the data back to mDot.

Installation:

  1. ssh into the Conduit and type the following command to install pip. Make sure your Conduit is connected to the internet.

    opkg update

    opkg install python-pip

  2. Type: pip install paho-mqtt

  3. scp the mqtt-client.py to your Conduit

  4. Run it: chmod +x mqtt-client.py

    python mqtt-client.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages