chrisp250 / daikin_mqtt

MQTT interface to Daikin ACs
6 stars 1 forks source link

MQTT integration for Daikin airconditoners

I developed this integration to get my AC to work again with Home Assistant after Daikin upgraded the firmware to 2.8.0 and the native integration no longer works.
This is fairly basic at the moment but I'm hoping it fills the gap while a more polished solution is available

Installation Home Assistant (simple)

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

  1. Add reposotory to Home Assistant (clink on the badge above)
  2. Go to Settings -> Add-on Store -> ADD-ON Store -> Daikin MQTT -> Install
  3. Change configuration in /config/daikin-mqtt/configuration.yaml
  4. Start the add-on

Installation Home Assistant (manual)

  1. Go to Settings -> Add-on Store -> 3 dots -> Repositories -> Add repository -> Enter https://github.com/chrisp250/daikin_mqtt -> Add
  2. Go to Settings -> Add-on Store -> ADD-ON Store -> Daikin MQTT -> Install
  3. Change configuration in /config/daikin-mqtt/configuration.yaml
  4. Start the add-on

Installation

Installation steps are very simple:

Docker build

Build the image:

Run the image:

Example Daikin MQTT config

You can find configuration in the /config/daikin-mqtt/configuration.yaml

general:
mqtt:
  server: localhost
  port: 1883
  username: mqtt_user
  password: mqtt_password
units:
  - name: studio
    address: 192.168.1.101

MQTT topics have the following format: climate/<unit_name>/<topic> for example climate/studio/temperature

Sample MQTT config in Home Assistant

mqtt:
  - climate:
      name: Studio Climate
      modes:
        - "off"
        - "cool"
        - "dry"
        - "heat"
        - "fan_only"
        - "auto"
      fan_modes:
        - "auto"
        - "Quiet"
        - "1"
        - "2"
        - "3"
        - "4"
        - "5"        
      temperature_command_topic: "climate/studio/settemperature"
      current_humidity_topic: "climate/studio/humidity"
      current_temperature_topic: "climate/studio/temperature"
      temperature_state_topic: "climate/studio/temperaturesp"
      mode_state_topic: "climate/studio/mode"
      mode_command_topic: "climate/studio/modecommand"
      fan_mode_state_topic: "climate/studio/fanmode"
      temperature_command_topic: "climate/studio/temperaturecommand"
      precision: 0.5

What's implemented

The integration reads data from the AC unit and pushes it to MQTT.
The parameters it reads from the unit are:

Controls functionality is limited to switching the unit to different modes: off,fan,heat,cool,auto,dry, and setting the temperature only when in heating or cooling mode at this stage. Enjoy!

Ask

If you find my app useful, please consider upvoting my feauture request for an expiry_after option for the MQTT HVAC integration for Home Assistant.
This will allow Home Assistant show the device offline if it stops receiving updates for a period of time.
Thank you