homebridge-mqttthing icon indicating copy to clipboard operation
homebridge-mqttthing copied to clipboard

Heater Cooler with AirCon MQTT (HiSense, Beko, Tornado, Winia, ..)

Open piejanssens opened this issue 4 years ago • 3 comments

Massive thanks for the efforts to everyone involved in this project.

I am a new user, trying to integrate https://github.com/deiger/AirCon with Homebridge using your plugin and have a couple of questions. AirCon is a middleware utility that interacts with many different AC units and supports MQTT. Getting AirCon to work with homebridge-mqtthing would mean that a lot of users can then control their ACs via Homebridge. There isn't any specific Homebridge plugin for these AC units.

  • heating/cooling threshold temperatures are not supported by AirCon. Should I use fixed values for getCoolingThresholdTemperature/getHeatingThresholdTemperature via apply fn? This is set in fahrenheit?
  • "Get Online" is shown in the config UI, but missing from the "Heater Cooler" config documentation. Is this expecting a boolean?
  • currentHeaterCoolerValues: AirCon supports [FAN, HEAT, COOL, DRY, AUTO], what should I put in the array for mqttthing?
  • targetHeaterCoolerValues: AirCon supports [FAN, HEAT, COOL, DRY, AUTO], what should I put in the array for mqttthing?
  • horizontal swing mode isn't supported by HomeKit I guess?
  • Heater Cooler doesn't use humidity, right?
  • rotationSpeed: AirCon's t_fan_speed supports "AUTO, LOWER, LOW, MEDIUM, HIGH, HIGHER". I can map all values to some percentage, but what to do with 'AUTO'?
        {
            "type": "heaterCooler",
            "name": "Hi Sense AC",
            "topics": {
                "getActive": {
                    "topic": "hisense_ac/t_power",
                    "apply": "return message === 'ON';"
                },
                "setActive": {
                    "topic": "hisense_ac/t_power",
                    "apply": "return message ? 'ON' : 'OFF';"
                },
                "getCurrentTemperature": "hisense_ac/t_temp",
                "getSwingMode": "hisense_ac/t_fan_power",
                "setSwingMode": "hisense_ac/t_fan_power",
                "getTargetHeaterCoolerState": "hisense_ac/t_work_mode",
                "setTargetHeaterCoolerState": "hisense_ac/t_work_mode",
                "getTemperatureDisplayUnits": "hisense_ac/t_temptype",
                "setTemperatureDisplayUnits": "hisense_ac/t_temptype",
                "getRotationSpeed": {
                    "topic": "hisense_ac/t_fan_speed",
                    "apply": "return 50;"
                },
                "setRotationSpeed": {
                    "topic": "hisense_ac/t_fan_speed",
                    "apply": "return 50;"
                },
                "getHeatingThresholdTemperature": {
                    "topic": "hisense_ac/t_power",
                    "apply": "return 0;"
                },
                "getCoolingThresholdTemperature": {
                    "topic": "hisense_ac/t_power",
                    "apply": "return 40;"
                }
            },
            "targetHeaterCoolerValues": [
                "AUTO",
                "HEAT",
                "COOL"
            ],
            "swingModeValues": [
                "OFF",
                "ON"
            ],
            "minTemperature": 61,
            "maxTemperature": 86,
            "accessory": "mqttthing"
        }

piejanssens avatar Aug 11 '20 16:08 piejanssens

@piejanssens have you been successful with integrating AirCon with help of MQTT in Homebridge? I'm planning currently the integration of my Fujitsu air conditioner in Homekit and would be very interested in existing expereince and configuration details.

Many thanks.

xyz4tech avatar Jan 01 '22 16:01 xyz4tech

@piejanssens hi! Did you succeed with your integration? I would like it too to use homekit with my HiSense AC…

BonRm avatar Jul 02 '22 15:07 BonRm

How can I add dynamite temperature?

Thura69 avatar Mar 30 '23 09:03 Thura69