0.0.6 • Published 3 years ago

@petro-kushchak/homebridge-ch-ac-globals v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Cooper&Hunter AC plugin for Homebridge

This plugins is based on https://github.com/norberttech/homebridge-ch-ac

Should work with all Cooper&Hunter AC controlled by EWPE Smart APP.

Requirements

  • NodeJS (>=8.9.3) with NPM (>=6.4.1)

For each AC device you need to add an accessory and specify the IP address of the device. Some of Cooper&Hunter AC does not provide current temperature information, so this plugin allows to fetch this data from another Homebridge plugin using "globals" dictionary

Usage Example:

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "123-45-568"
    },
    "accessories": [
        {
            "accessory": "CooperHunterAC",
            "host": "192.168.1.X",
            "name": "Bedroom AC",
            "serial": "ch-00-00-01",
            "model": "CH-S09FTXE WIFI",
            "globalsTemperaturePath": "Mi/Humidifier/6/values/0/characteristic/value",
            "updateInterval": 10000
        },
        {
            "accessory": "CooperHunterAC",
            "host": "192.168.1.Y",
            "name": "Living room AC",
            "serial": "ch-00-00-02",
            "model": "CH-S09FTXE WIFI",
            "globalsTemperaturePath": "Mi/Humidifier2/6/values/0/characteristic/value",
            "updateInterval": 10000
        }
    ]
}

Example path "Mi/Humidifier/6/values/0/characteristic/value" here is value of temperature sensor written by homebridge-mi-humidifier-globals plugin for model deerma.humidifier.mjjsq (depends on humidifier model)

C&H AC communication protocol

Communication protocol for C&H AC is the same as for GreeSmart. It is described in open source project Gree Remote.