# Python Paho MQTT IoT Examples

**URL:** <https://community.solace.com/t/python-paho-mqtt-iot-examples/490>\
**Category:** General Discussions\
**Tags:** mqtt, python, iot\
**Created:** [November 17, 2020, 8:07pm UTC](https://community.solace.com/t/python-paho-mqtt-iot-examples/490 "2020-11-17T20:07:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [November 17, 2020, 8:07pm UTC](https://community.solace.com/t/python-paho-mqtt-iot-examples/490/1 "2020-11-17T20:07:33Z")

</div>

Hi,  
I just wanted to share a [github repo](https://github.com/SolaceLabs/makeuoft-hackathon) that was created in support of a hackathon earlier this year. It shows how to quickly get started using Python and MQTT on an IoT device such as Raspberry PI. If you don’t have a device it also includes a script that simulates a sensor [here](https://github.com/SolaceLabs/makeuoft-hackathon/blob/master/raspberrypi2solace/publish/virtual_solace_publish_json.py).

? Bonus points for anyone that re-writes the scripts using the new [Python SMF API](https://pypi.org/project/solace-pubsubplus/)

 ![image.jpg](https://canada1.discourse-cdn.com/solace/original/1X/bdb031b997e34939665c5820d372ac4cdbeeb039.jpeg)

---

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [November 17, 2020, 8:11pm UTC](https://community.solace.com/t/python-paho-mqtt-iot-examples/490/2 "2020-11-17T20:11:19Z")

</div>

Hey @ValdemarLeiras you might find this interesting!
