Apache License 2.0

项目介绍

syssi/xiaomi_airconditioningcompanion 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Apache License 2.0 许可证,目前获得 411 个 Star、99 次 Fork。

仓库全名
syssi/xiaomi_airconditioningcompanion
开源许可证
Apache License 2.0
Star 数
411
Fork 数
99
未关闭 Issue
54

README 摘要

Xiaomi Mi and Aqara Air Conditioning Companion This is a custom component for home assistant to integrate the Xiaomi Mi and Aqara Air Conditioning Companion: Model ID | Model number | Product name | Shape | acpartner.v1 | KTBL01LM | Aqara Air Conditioning Companion | square | acaprtner.v2 | KTBL02LM | Xiaomi Mi Air Conditioner Companion | round | acpartner.v3 | KTBL11LM | Aqara Air Conditioning Companion | square |…

完整内容见 GitHub 原始 README 或本页 。

常见问题

xiaomi_airconditioningcompanion 用什么语言开发?

主要使用 Python 编写,采用 Apache License 2.0 许可证,目前有 411 个 Star。

xiaomi_airconditioningcompanion 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 xiaomi_airconditioningcompanion 的源码?

可以直接克隆仓库:git clone https://github.com/syssi/xiaomi_airconditioningcompanion.git,默认分支为 develop;安装与运行步骤见仓库 README。

xiaomi_airconditioningcompanion 最近还在维护吗?

仓库最近一次更新为 10月1日,当前有 54 个未关闭 Issue;Star 数为 411,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
635
价值分
276
活跃状态
活跃

语言占比

Python

Release

README

Xiaomi Mi and Aqara Air Conditioning Companion

GitHub actions GitHub stars GitHub forks GitHub watchers "Buy Me A Coffee"

This is a custom component for home assistant to integrate the Xiaomi Mi and Aqara Air Conditioning Companion:

Model ID Model number Product name Shape
acpartner.v1 KTBL01LM Aqara Air Conditioning Companion square
acaprtner.v2 KTBL02LM Xiaomi Mi Air Conditioner Companion round
acpartner.v3 KTBL11LM Aqara Air Conditioning Companion square

Unsupported devices: lumi.acpartner.mcn02

Please follow the instructions on Retrieving the Access Token to get the API token to use in the configuration.yaml file.

Credits: Thanks to Rytilahti for all the work.

Features

  • Power (on, off)
  • Operation Mode (Heat, Cool, Auto, Dehumidify, Ventilate)
  • Fan Speed (Low, Medium, High, Auto)
  • Swing Mode (On, Off)
  • Target Temperature
  • Capture and replay infrared commands
  • Attributes
    • ac_model
    • ac_power (on, off)
    • load_power (Wh)
    • operation_mode
    • fan_speed
    • swing_mode

Install

You can install this custom component by adding this repository (https://github.com/syssi/xiaomi_airconditioningcompanion) to HACS in the settings menu of HACS first. You will find the custom component in the integration menu afterwards, look for ‘Xiaomi Mi and Aqara Air Conditioning Companion Integration’. Alternatively, you can install it manually by copying the custom_component folder to your Home Assistant configuration folder.

Setup

# configuration.yaml

climate:
  - platform: xiaomi_miio_airconditioningcompanion
    name: Aqara Air Conditioning Companion
    host: 192.168.130.71
    token: b7c4a758c251955d2c24b1d9e41ce47d
    target_sensor: sensor.temperature_158d0001f53706
    scan_interval: 60

climate entity

Debugging

If the custom component doesn’t work out of the box for your device please update your configuration to enable a higher log level:

# configuration.yaml

logger:
  default: warn
  logs:
    custom_components.xiaomi_miio_airconditioningcompanion: debug
    miio: debug

Platform services

Service xiaomi_miio_airconditioningcompanion.climate_learn_command

Capture an infrared command.

Service data attribute Optional Description
entity_id no Only act on a specific Xiaomi miIO fan entity.
slot yes Storage slot. Defaults to slot ID 30.
timeout yes Capturing timeout. Defaults to 10 seconds.
Service xiaomi_miio_airconditioningcompanion.climate_send_command

Send captured infrared command or device configuration.

Service data attribute Optional Description
entity_id no Only act on a specific Xiaomi miIO fan entity.
command no Infrared command. Must start with FE or 01.

评论

暂无评论