technyon / mqmiio

Exposes sensors and settings of MIot devices to MQTT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mqmiio uses the python-miio (https://github.com/rytilahti/python-miio) library to connect to connect to MIoT devices and make sensor readings and settings available via MQTT.

Installation

  • Install python 3
  • Install python-miio, use the latest version directly from github
  • Instal Paho MQTT
  • Checkout mqmiio
  • Copy the example mqmiio.cfg to /etc and modify according to your settings. To get the token for your MIoT device, use the command line tool miiocli of the python-miio library
  • Start mqmiio: python main.oy

Note: Currently user name and encryption for MQTT is not implemented yet.

About

Exposes sensors and settings of MIot devices to MQTT

License:MIT License


Languages

Language:Python 100.0%