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

 找回密码
 立即注册
楼主: skiong

[基础教程] homekit下开关太多,怎么分组

[复制链接]

4

主题

43

帖子

473

积分

中级会员

Rank: 3Rank: 3

积分
473
金钱
430
HASS币
0
发表于 2021-7-23 18:14:52 | 显示全部楼层
735473216 发表于 2021-7-23 16:36
https://github.com/rdmtc/RedMatic/wiki/Homekit

我去研究研究,多谢大佬
回复

使用道具 举报

4

主题

43

帖子

473

积分

中级会员

Rank: 3Rank: 3

积分
473
金钱
430
HASS币
0
发表于 2021-7-23 18:17:32 | 显示全部楼层
735473216 发表于 2021-7-23 16:36
https://github.com/rdmtc/RedMatic/wiki/Homekit

装的是这个,但是没有找到那个啥CCU防火墙的设置。
是需要前置安装一个homeMATIC么?
回复

使用道具 举报

3

主题

13

帖子

256

积分

中级会员

Rank: 3Rank: 3

积分
256
金钱
243
HASS币
0
发表于 2021-7-26 11:23:48 | 显示全部楼层
Solita 发表于 2021-7-23 17:57
楼上这个很好用,多个插座可以组合成插排,多个开关也可以组合

有集成好的成品图吗 展示看一下效果
回复

使用道具 举报

1

主题

158

帖子

872

积分

高级会员

Rank: 4

积分
872
金钱
714
HASS币
0
发表于 2021-7-26 12:15:05 | 显示全部楼层
我也想这样,但是找不到好的方法
回复

使用道具 举报

12

主题

176

帖子

2068

积分

金牌会员

Rank: 6Rank: 6

积分
2068
金钱
1892
HASS币
0
发表于 2021-7-28 17:27:53 | 显示全部楼层
ylr2512 发表于 2021-7-23 18:17
装的是这个,但是没有找到那个啥CCU防火墙的设置。
是需要前置安装一个homeMATIC么? ...

我不太了解homematic是什么东西,但是显然这个节点跟咱们这套没什么关系。
这个主题需要用到universal这个节点,你从这个节点建立bridge尝试下。
回复

使用道具 举报

4

主题

43

帖子

473

积分

中级会员

Rank: 3Rank: 3

积分
473
金钱
430
HASS币
0
发表于 2021-7-29 04:25:24 | 显示全部楼层
735473216 发表于 2021-7-28 17:27
我不太了解homematic是什么东西,但是显然这个节点跟咱们这套没什么关系。
这个主题需要用到universal这 ...

我用了这个东西了,但是看debug信息,homematic节点创建HomeKit bridge的桥一直在报错 iShot2021-07-29 04.24.29.png
回复

使用道具 举报

12

主题

176

帖子

2068

积分

金牌会员

Rank: 6Rank: 6

积分
2068
金钱
1892
HASS币
0
发表于 2021-7-29 13:51:08 | 显示全部楼层
如果你一定要用redmatic的homematic-node,肯定需要有装了homematic的机器,然后像https://github.com/rdmtc/RedMatic/wiki/Homekit里写的去设置上面ccu的端口开放情况。

如果你只是用redmatic把设备接入homekit,没必要用到这个节点
回复

使用道具 举报

4

主题

43

帖子

473

积分

中级会员

Rank: 3Rank: 3

积分
473
金钱
430
HASS币
0
发表于 2021-7-31 00:17:43 | 显示全部楼层
735473216 发表于 2021-7-29 13:51
如果你一定要用redmatic的homematic-node,肯定需要有装了homematic的机器,然后像https://github.com/rdmt ...

求只用redmatic把设备接入HomeKit的方法……查了半天资料都是说创建一个homematic的节点,然后就开始报错……
回复

使用道具 举报

12

主题

176

帖子

2068

积分

金牌会员

Rank: 6Rank: 6

积分
2068
金钱
1892
HASS币
0
发表于 2021-8-1 12:25:57 | 显示全部楼层
ylr2512 发表于 2021-7-31 00:17
求只用redmatic把设备接入HomeKit的方法……查了半天资料都是说创建一个homematic的节点,然后就开始报错 ...

给你个简单流图吧 微信截图_20210801122334.png
[{"id":"8156e53a.b080a8","type":"tab","label":"流程 1","disabled":false,"info":""},{"id":"1fd79b2c.e293f5","type":"change","z":"8156e53a.b080a8","name":"处理payload","rules":[{"t":"change","p":"payload","pt":"msg","from":"on","fromt":"str","to":"true","tot":"bool"},{"t":"change","p":"payload","pt":"msg","from":"off","fromt":"str","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":220,"wires":[["f7b67acc.6ff828"]]},{"id":"864614cd.6053b8","type":"server-state-changed","z":"8156e53a.b080a8","name":"空净灯光变化","server":"4fe495c1.9b0e5c","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"switch.xiaomi_ap_light","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"0/On","valueType":"str"}],"x":130,"y":160,"wires":[["1fd79b2c.e293f5"]]},{"id":"fa321585.6b3b28","type":"server-state-changed","z":"8156e53a.b080a8","name":"空净童锁变化","server":"4fe495c1.9b0e5c","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"switch.xiaomi_ap_childlock","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"1/On","valueType":"str"}],"x":130,"y":220,"wires":[["1fd79b2c.e293f5"]]},{"id":"a7095fc8.547da","type":"server-state-changed","z":"8156e53a.b080a8","name":"空净提示音变化","server":"4fe495c1.9b0e5c","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"switch.xiaomi_ap_buzzer","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"2/On","valueType":"str"}],"x":140,"y":280,"wires":[["1fd79b2c.e293f5"]]},{"id":"f7b67acc.6ff828","type":"redmatic-homekit-universal","z":"8156e53a.b080a8","bridgeConfig":"a3e56d23.6b363","name":"空气净化器","services":[{"subtype":"0","service":"Switch","name":"灯"},{"subtype":"1","service":"Switch","name":"儿童锁"},{"subtype":"2","service":"Switch","name":"提示音"}],"x":470,"y":220,"wires":[["3fe5063a.474c3a","ada752fa.410d3"]]},{"id":"335014cc.a7f52c","type":"api-call-service","z":"8156e53a.b080a8","name":"打开空净灯光","server":"4fe495c1.9b0e5c","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.xiaomi_ap_light","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":120,"wires":[[]]},{"id":"3fe5063a.474c3a","type":"switch","z":"8156e53a.b080a8","name":"判断什么开关","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"0/On","vt":"str"},{"t":"eq","v":"1/On","vt":"str"},{"t":"eq","v":"2/On","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":640,"y":220,"wires":[["d1db3940.ed04b8"],["f9fd95b1.3db168"],["a30a1c2c.1d368"]]},{"id":"d1db3940.ed04b8","type":"switch","z":"8156e53a.b080a8","name":"状态","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"true","vt":"jsonata"},{"t":"eq","v":"false","vt":"jsonata"}],"checkall":"true","repair":false,"outputs":2,"x":830,"y":160,"wires":[["335014cc.a7f52c"],["ac7f5960.6f3e88"]]},{"id":"ac7f5960.6f3e88","type":"api-call-service","z":"8156e53a.b080a8","name":"关闭空净灯光","server":"4fe495c1.9b0e5c","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"switch.xiaomi_ap_light","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":180,"wires":[[]]},{"id":"203c6735.411be8","type":"api-call-service","z":"8156e53a.b080a8","name":"打开空净童锁","server":"4fe495c1.9b0e5c","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.xiaomi_ap_childlock","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":240,"wires":[[]]},{"id":"f9fd95b1.3db168","type":"switch","z":"8156e53a.b080a8","name":"状态","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"true","vt":"jsonata"},{"t":"eq","v":"false","vt":"jsonata"}],"checkall":"true","repair":false,"outputs":2,"x":830,"y":280,"wires":[["203c6735.411be8"],["4cb01bb.1074be4"]]},{"id":"4cb01bb.1074be4","type":"api-call-service","z":"8156e53a.b080a8","name":"关闭空净童锁","server":"4fe495c1.9b0e5c","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"switch.xiaomi_ap_childlock","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":300,"wires":[[]]},{"id":"b221669e.7cf6a8","type":"api-call-service","z":"8156e53a.b080a8","name":"打开空净提示音","server":"4fe495c1.9b0e5c","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.xiaomi_ap_buzzer","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":360,"wires":[[]]},{"id":"a30a1c2c.1d368","type":"switch","z":"8156e53a.b080a8","name":"状态","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"true","vt":"jsonata"},{"t":"eq","v":"false","vt":"jsonata"}],"checkall":"true","repair":false,"outputs":2,"x":830,"y":400,"wires":[["b221669e.7cf6a8"],["e9d55ff2.12869"]]},{"id":"e9d55ff2.12869","type":"api-call-service","z":"8156e53a.b080a8","name":"关闭空净提示音","server":"4fe495c1.9b0e5c","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"switch.xiaomi_ap_buzzer","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":420,"wires":[[]]},{"id":"ada752fa.410d3","type":"debug","z":"8156e53a.b080a8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":600,"y":380,"wires":[]},{"id":"4fe495c1.9b0e5c","type":"server","name":"Home Assistant","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"a3e56d23.6b363","type":"redmatic-homekit-bridge","name":"RedMatic Bridge","username":"CC:22:3D:5D:86:35","pincode":"590-41-447","port":"51820"}]

回复

使用道具 举报

4

主题

43

帖子

473

积分

中级会员

Rank: 3Rank: 3

积分
473
金钱
430
HASS币
0
发表于 2021-8-1 23:58:55 | 显示全部楼层
735473216 发表于 2021-8-1 12:25
给你个简单流图吧

我去研究研究,多谢大佬。家里无主灯装修,想把灯按屋做个合并,那天看了下,似乎用redmatic模拟的lighthub不能像hass直接过去的那样在HomeKit里调节亮度和色温
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 23:45 , Processed in 0.079454 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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