找回密码
 立即注册
查看: 53058|回复: 52

[插件集成] 智米智能电暖器插件

[复制链接]

16

主题

201

回帖

2243

积分

论坛技术达人

积分
2243
金钱
1991
HASS币
140
发表于 2020-2-5 12:46:49 | 显示全部楼层 |阅读模式
本帖最后由 fineemb 于 2020-2-6 19:18 编辑

游客,如果您要查看本帖隐藏内容请回复

智米智能电暖器

hacs_badge

This is a custom component for home assistant to integrate the Smartmi smart heater.

Smartmi_smart_heater

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.

功能

zhimi.heater.za1 目前只测试过这个型号, 因为其他型号我没有

  • Sensors
    • hvac_modes: heat,off
    • min_temp
    • max_temp
    • target_temp_step
    • current_temperature
    • temperature
    • curr_tempe
    • power
    • humidity
    • target_temperature
  • Chart
    • Temperature History
  • Services
    • set_hvac_mode
    • set_temperature

TODO

  • 蜂鸣器开关
  • 童锁
  • 恒温设置
  • 延时关机
  • 定时关机

Setup

# configuration.yaml

climate: 
  - platform: miheater
    host: 192.168.1.13
    token: a9bd32552dc9bd4e156954c20ddbcb38
    name: 取暖器

Configuration variables:

  • host (Required): The IP of your cooker.
  • token (Required): The API token of your cooker.
  • name (Optional): The name of your cooker.

Platform services

Service climate.set_hvac_mode

Specify the heater mode.

Service data attribute Optional Description
entity_id yes Only act on a specific heater.
hvac_mode yes Specify the heater mode (heat/off).

Service climate.set_temperature

Set the temperature of heater.

Service data attribute Optional Description
entity_id yes Only act on a specific heater.
temperature yes Set the temperature of heater.
回复

使用道具 举报

6

主题

549

回帖

3520

积分

论坛元老

积分
3520
金钱
2965
HASS币
0
发表于 2020-2-5 12:53:49 | 显示全部楼层
学习学习再学习,谢谢谢谢再谢谢!

回复

使用道具 举报

1

主题

219

回帖

867

积分

高级会员

积分
867
金钱
647
HASS币
0
发表于 2020-2-5 12:57:51 来自手机 | 显示全部楼层
赞               
回复

使用道具 举报

4

主题

87

回帖

465

积分

中级会员

积分
465
金钱
374
HASS币
0
发表于 2020-2-5 13:03:31 | 显示全部楼层
看看吧,但是不知道小米的可用性够不够
回复

使用道具 举报

0

主题

90

回帖

761

积分

高级会员

积分
761
金钱
671
HASS币
0
发表于 2020-2-5 16:20:27 | 显示全部楼层
赞 谢谢分享
回复

使用道具 举报

9

主题

373

回帖

3738

积分

论坛元老

积分
3738
金钱
3356
HASS币
0
发表于 2020-2-6 10:53:05 | 显示全部楼层
大神太棒了!!!
回复

使用道具 举报

6

主题

549

回帖

3520

积分

论坛元老

积分
3520
金钱
2965
HASS币
0
发表于 2020-2-6 16:58:02 | 显示全部楼层
可惜了,我的 取暖器型号是:zhimi.heater.za1,不能用
回复

使用道具 举报

16

主题

201

回帖

2243

积分

论坛技术达人

积分
2243
金钱
1991
HASS币
140
 楼主| 发表于 2020-2-6 19:18:08 | 显示全部楼层
hundajdx 发表于 2020-2-6 16:58
可惜了,我的 取暖器型号是:zhimi.heater.za1,不能用

不要难过, 是我错了
文档写错.
回复

使用道具 举报

1

主题

114

回帖

1135

积分

金牌会员

积分
1135
金钱
1020
HASS币
0
发表于 2020-2-6 21:41:27 | 显示全部楼层
赞                 
回复

使用道具 举报

olly 

1

主题

11

回帖

61

积分

注册会员

积分
61
金钱
49
HASS币
0
发表于 2020-2-7 12:33:59 | 显示全部楼层
請問一下LZ這能接到HOMEKIT嗎?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-5-6 19:15 , Processed in 0.330880 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表