Giter Club home page Giter Club logo

Comments (8)

archyc avatar archyc commented on June 7, 2024

另外如何同时控制两台空调伴侣,谢谢

from homebridge-mi-acpartner.

LASER-Yi avatar LASER-Yi commented on June 7, 2024

格力二号因为有校验码,适配比较复杂,可能还需要一段时间

控制两个空调,填入两个accessory的信息就可以了,像这样:

"accessories": [
        {
            "accessory": "XiaoMiAcPartner",
            "token": "token-as-hex",
            "name": "AcPartner",
            "brand": "media",
            "preset_no": "1"
        },
        {
            "accessory": "XiaoMiAcPartner",
            "token": "token-as-hex",
            "name": "AcPartner",
            "ip": "192.168.1.1",
            "customize": {
                "off": "You_AC_Signal_Here",
                "auto": "",
                "heat":{
                    "30": "",
                    "29": "",
                    "17": ""
                },
                "cool":{
                    "30": "",
                    "29": "",
                    "17": ""
                }
            }
        }
    ]

from homebridge-mi-acpartner.

archyc avatar archyc commented on June 7, 2024

多谢回复,添加第二台空调伴侣以后不能正常使用,不知道是不是我代码的问题。更新了插件,gree2没办法控制,不知道什么原因

from homebridge-mi-acpartner.

licuhui avatar licuhui commented on June 7, 2024

如果有2台空调伴侣,2台空调伴侣的名字不一样就行了,格力2号没有的话可以自己抓码

from homebridge-mi-acpartner.

LASER-Yi avatar LASER-Yi commented on June 7, 2024

gree2还没有测试过 明天晚上才能测试适配,先用自己抓到的空调码吧

from homebridge-mi-acpartner.

archyc avatar archyc commented on June 7, 2024

谢谢

from homebridge-mi-acpartner.

LASER-Yi avatar LASER-Yi commented on June 7, 2024

@archyc 格力2适配好了,可以用了

from homebridge-mi-acpartner.

archyc avatar archyc commented on June 7, 2024

@LASER-Yi 已经测试了,非常完美,多谢

from homebridge-mi-acpartner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.