Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

米家 空调伴侣pro 缺失功耗统计的传感器 #1635

Open
Vivi-Chen opened this issue Apr 21, 2024 · 0 comments
Open

米家 空调伴侣pro 缺失功耗统计的传感器 #1635

Vivi-Chen opened this issue Apr 21, 2024 · 0 comments

Comments

@Vivi-Chen
Copy link

Device model / 设备型号

lumi.acpartner.mcn04

Component version / 插件版本

0.7.17

HA core version / HA版本

20240119163101

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

米家空调伴侣pro 在N1上用docker安装
ha

系统显示功耗统计就2个传感器,实体ID :
sensor.lumi_mcn04_3793_power_cost_today
sensor.lumi_mcn04_3793_power_cost_month

看起来分别是一个每日功耗统计,一个每月功耗统计,它也没区分10A位和16A位,而且我看了下月度耗电的数据应该是16A位的,日耗电数据应该是10A位的,所以情况大致如下:
image

如何把另外两个传感器弄出来?

Entity attributes / 实体属性

hvac_modes: auto, cool, heat, dry, fan_only, off
min_temp: 16
max_temp: 30
target_temp_step: 1
fan_modes: auto, low, medium, high
swing_modes: off, vertical
current_temperature: null
temperature: 23
fan_mode: auto
hvac_action: off
swing_mode: off
model: lumi.acpartner.mcn04
lan_ip: 192.168.86.155
mac_address: 54:48:E6:E7:37:93
entity_class: MiotClimateEntity
home_room: VIVI的家 86次卧
miot_type: urn:miot-spec-v2:device:air-condition-outlet:0000A045:lumi-mcn04:1
air_conditioner.on: false
air_conditioner.mode: 1
air_conditioner.fault: 0
target_temperature-3-4: 23
indicator_light: 1
indicator_light.effective_time: 589845
ac_function.brand_id: 147
ac_function.remote_id: 1752
ac_function.ac_mode: 1
ac_function.ac_type: 2
ac_function.ac_ctrl_range: {"models":[{"mode":0,"speeds":[0,1,2,3],"temps":[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],"directs":[1,2,3,4,5],"type":2},{"mode":1,"speeds":[0,1,2,3],"temps":[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],"directs":[1,2,3,4,5],"type":2},{"mode":2,"speeds":[0,1,2,3],"temps":[],"directs":[1,2,3,4,5],"type":2},{"mode":3,"speeds":[0,1,2,3],"temps":[],"directs":[1,2,3,4,5],"type":2},{"mode":4,"speeds":[0,1,2,3],"temps":[],"directs":[1,2,3,4,5],"type":2}]}
ac_function.ac_state: P1_M1_T23_S0_D1
ac_function.quick_cool_enable: false
ac_function.quick_cool_time: 10
ac_function.quick_cool_status: 0
ac_function.sleep_cfg: [0]
ac_function.sleep_status: 0
power_consumption: 569.28
electric_power-7-2: 1
power_consumption-7-3: 87.799
electric_power-7-4: 6
fan_control.fan_level: 0
fan_control.vertical_swing: false
state_updater: lan
power_cost_today: 0.039
power_cost_month: 3.108
sub_entities: power_cost_today, power_cost_month, ac_function-8.quick_cool_enable-8, indicator_light-9.indicator_light-1, ac_function-8.ac_mode-4, power_consumption-7.electric_power-2, power_consumption-7.electric_power-4
friendly_name: 小米空调插座PRO Air Conditioner
supported_features: 425

Home Assistant Logs / 系统日志

home-assistant_2024-04-21T00-51-09.426Z.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant