Skip to content
Python script that subscribes to one or more themes of an mqtt server and saves them in a spreadsheet.
Python C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


MQTT2Excel it is a Python library that connects to an mqtt server and subscribes to one or more themes. Save the published data in a spreadsheet.


You will need:

  • Python
  • xlwt: pip install xlwt
  • paho.mqtt: pip install paho.mqtt

How to use

Read example/ to know how its work.

If you work with ESP8266 or ESP32, you will find a file named demo.ino is just an example that connect to a public mqtt broker a publish the read of the analog value to fill the spreadsheet.

Also you can read the article in the blog:

You can’t perform that action at this time.