kongkx / homebridge-gree-air-conditioner

Apache License 2.0
20 stars 8 forks source link

The current temperature in Celsius is not displaying correctly. #24

Open burunia opened 1 year ago

burunia commented 1 year ago

Describe Your Problem:

The current temperature is not displaying correctly on my home app. Please see the screenshot.

Logs:

This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 218 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

{
    "bridge": {
        "name": "Homebridge 7CA7",
        "username": "XXXXXXXXXXXX",
        "port": 51722,
        "pin": "XXX-XX-XXX",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": XXXX,
            "platform": "config"
        },
        {
            "name": "Gree AC",
            "language": "en",
            "port": 22,
            "scanAddress": "192.168.55.115",
            "defaultValue": {
                "statusUpdateInterval": 3,
                "sensorOffset": 0,
                "hasFanMode": true,
                "hasDryMode": true,
                "defaultSpeed": 3,
                "defaultVerticalSwing": 0,
                "defaultHorizontalSwing": 0
            },
            "devices": [
                {
                    "mac": "XXXXXXXXX",
                    "name": "Klima Salon",
                    "statusUpdateInterval": 10,
                    "hasFanMode": true,
                    "hasDryMode": true,
                    "sensorOffset": 0,
                    "defaultSpeed": 3
                }
            ],
            "platform": "GreeAirConditioner"
        }
    ]
}

Screenshots:

Environment:

IMG_197D2F781FDD-1

kongkx commented 10 months ago

Try setting the sensorOffset and see if it works. If it's not a constant offset, how details is required to make it work.