Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Mi Acpartner doesn't work with Homebridge any more with 1.3.x #95

Open
Ugmaxie opened this issue Feb 23, 2021 · 3 comments
Open

Mi Acpartner doesn't work with Homebridge any more with 1.3.x #95

Ugmaxie opened this issue Feb 23, 2021 · 3 comments

Comments

@Ugmaxie
Copy link

Ugmaxie commented Feb 23, 2021

Describe The Bug:
After updating to Homebridge v1.3.0, managing AC is broken.
Plugin used: MiACPartner @latest

No errors.
Apple HomeKit sees AC as expected but any actions doesn't manage AC.

To Reproduce:
Update HB from 1.2.5 to 1.3.0.

Expected behavior:
AC actions should work and manage AC device via Apple Home.

Homebridge Config:

{
            "name": "Config",
            "port": 8080,
            "auth": "form",
            "theme": "auto",
            "restart": "sudo -n systemctl restart homebridge",
            "tempUnits": "c",
            "lang": "auto",
            "sudo": true,
            "log": {
                "method": "systemd",
                "service": "homebridge"
            },
            "platform": "config",
            "sessionTimeout": 28800
        }
{
    "bridge": {
        "name": "RasBri",
        "username": "MAC",
        "port": 51826,
        "pin": "000-00-000",
        "advertiser": "ciao"
    },
    "description": "Homebridge",
    "platforms": [
        {
            "platform": "MiAqaraPlatform",
            "manage": {
                "port": 11128,
                "password": "1111111111"
            },
            "gateways": {
                "7c49eb7feba4": "apo6zi1dylght6h4"
            },
            "defaultValue": {
                "7c49eb7feba4": {
                    "AcPartner_LightSensor": {
                        "name": "gateway light sensor",
                        "disable": true
                    },
                    "AcPartner_Switch_JoinPermission": {
                        "name": "gateway join permission switch",
                        "disable": true
                    }
                }
            }
        },
        {
            "platform": "XiaoMiAcPartner",
            "devices": {
                "ipAddress": "deviceToken"
            },
            "accessories": [
                {
                    "name": "AC Partner",
                    "type": "climate",
                    "sensorSid": "lumi.158d0002272e48",
                    "breaker": false
                }
            ]
        },
        {
            "name": "Config",
            "port": 8080,
            "auth": "form",
            "theme": "auto",
            "restart": "sudo -n systemctl restart homebridge",
            "tempUnits": "c",
            "lang": "auto",
            "sudo": true,
            "log": {
                "method": "systemd",
                "service": "homebridge"
            },
            "platform": "config",
            "sessionTimeout": 28800
        }
    ],
    "accessories": [
        {
            "name": "Cleaner",
            "ip": "IP address",
            "token": "myToken",
            "waterBox": false,
            "pause": false,
            "dock": false,
            "accessory": "XiaomiRoborockVacuum"
        }
    ]
}

Screenshots:

Environment:

  • Node.js Version: v14.15.0
  • NPM Version: v6.14.8
  • Homebridge Version: 1.3.0
  • Operating System: Raspbian
  • Process Supervisor: don't know
@Ugmaxie
Copy link
Author

Ugmaxie commented Feb 23, 2021

Unfortunately, v1.3.1 has the same issue as v1.3.0.

For both cases (works/doesn't work) Apple Home app works almost the same, but with v1.3.0 and v1.3.1 sometimes when I set an action like HEAT or COOL it automatically foes to off. Sometimes not... But anyway it doesn't manage AC device.

This is for v1.2.5. start
Screenshot 2021-02-23 at 18 47 29

These are for 1.3.1 start
Screenshot 2021-02-23 at 18 50 37
Screenshot 2021-02-23 at 18 50 45

@Ugmaxie Ugmaxie changed the title Mi Acpartner doesn't work with Homebridge any more with 1.3.0 and 1.3.1 Mi Acpartner doesn't work with Homebridge any more with 1.3.x Mar 18, 2021
@Hcreak
Copy link

Hcreak commented Mar 26, 2021

As far as I know, this project has ceased maintenance (ノへ ̄、)

@Charliecheung2
Copy link

I encounter with the same problem like you, I update to 1.4.0, the ac partner just doesn't work like it was expected. Not much information in the pics you posted, if you have time, can you try to disable other devices for a test, just leave the ac partner on, and try to start homebridge with DEBUG=* homebridge -D, and try to interact with the ac partner in Home App. See what information it provides. If I can find the problem I might fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants