『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 29543|回复: 51

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

[复制链接]

16

主题

217

帖子

2204

积分

论坛技术达人

积分
2204
金钱
1952
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

主题

556

帖子

3476

积分

论坛元老

Rank: 8Rank: 8

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

回复

使用道具 举报

1

主题

220

帖子

865

积分

高级会员

Rank: 4

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

使用道具 举报

4

主题

91

帖子

465

积分

中级会员

Rank: 3Rank: 3

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

使用道具 举报

0

主题

90

帖子

761

积分

高级会员

Rank: 4

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

使用道具 举报

8

主题

377

帖子

3536

积分

论坛元老

Rank: 8Rank: 8

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

使用道具 举报

6

主题

556

帖子

3476

积分

论坛元老

Rank: 8Rank: 8

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

使用道具 举报

16

主题

217

帖子

2204

积分

论坛技术达人

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

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

使用道具 举报

1

主题

106

帖子

984

积分

高级会员

Rank: 4

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

使用道具 举报

1

主题

12

帖子

61

积分

注册会员

Rank: 2

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

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-20 10:49 , Processed in 0.077361 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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