luokui

Results 4 comments of luokui

class Plug: """ 程序控制小米蓝牙插座 https://www.mi.com/buy/detail?product_id=12777 1. 使用米家添加蓝牙插座 2. 使用 https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor.git 获取到蓝牙插座的ip和token """ def __init__(self, ip, token): self.device = Device(ip, token, model='chuangmi.plug.212a01') def status(self): reply = self.device.send(command='get_properties', parameters=[{'did': 'MYDID', 'siid': 2,...

我用这个方式解决了这个问题,希望对各位兄弟有帮助

应该是OLE对象吧