arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
469 stars 103 forks source link

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

Open piejanssens opened 4 years ago

piejanssens commented 4 years ago

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.

        {
            "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"
        }
xyz4tech commented 2 years ago

@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.

BonRm commented 2 years ago

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

Thura69 commented 1 year ago

How can I add dynamite temperature?