/ControlXiaomiDevices

This repository is a set of python scripts to control xiaomi IoT device。这个项目是一组Python脚本程序,用来控制小米智能家居设备

Primary LanguagePython

ControlXiaomiDevices

This repository is a set of python scripts to control xiaomi IoT device。

测试环境

Ubuntu 18.04 64bit
Python 3.6

依赖包

先安装pip3: sudo apt-get install python3-pip
pip3 install -r requirements.txt

脚本列表

  • testbulb.py 控制小米智能台灯脚本
  • testGateway.py 控制网关设备脚本,正在编写中...
  • testAirpurifier.py 控制小米空气净化器脚本
  • UDP_Resend.py UDP重放攻击脚本

数据包列表

pcap 文件夹中查看

参考资料

https://github.com/Danielhiversen/PyXiaomiGateway
https://github.com/skorokithakis/python-yeelight
https://github.com/rytilahti/python-miio