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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
MQTT2Excel.py
README.md
demo.ino
example.py

README.md

MQTT2Excel

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.

Installation

You will need:

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

How to use

Read example/example.py 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: https://www.gsampallo.com/blog/2019/10/08/mqtt-a-excel/

You can’t perform that action at this time.