iobroker--鸿雁/博联的排插mp1接入hk

我们先来看看经过苹果认证的排插多少钱?

那么我们最具便宜可以接入homekit的排插是啥呢?

但是tc1作为斐讯的遗产,需要很强的动手能力,还要一系列的操作才能把它接入。

教程在这

https://bbs.iobroker.cn/t/topic/824/1

如果不想那么烦,还有没有其他选择呢?

** 对,它就是今天的主角鸿雁排插mp1**

直入主题吧

具体步骤
1.按照[基础教程]iobroker–系统安装–各类型设备安装iobroker方法](iobroker--系统安装--各类型设备安装iobroker方法),安装好iobroker
**
2.登录iobroker系统**

3.进入应用商店,输入ham搜索相关插件,点击+安装ham插件

**4.****配置ham插件,**三个关键点:

  • Homebridge适配器模式,选择本地模式
  • 添加额外的npm模块:homebridge-broadlink-platform
  • 勾选从npm更新

5.获取mp1的ip地址和mac。你可以在路由器获取,也可以在百度下载ipscan软件,通过它获取

6.把一下的配置代码复制到ham配置文件的那一栏
{
“bridge”: {
“name”: “mp1hub”,
“username”: “CD:21:3D:E3:CE:99”,
“port”: 51826,
“pin”: “123-45-678”
},
“description”: “This is an example configuration for the Broadlink MP homebridge plugin”,
“platforms”: [{
“platform”: “broadlinkPlatform”,
“accessories”: [{
“name”: “washroommp1”,
“type”: “MP”,
“mac”: “34:ea:34:f1:7c:b5”,
“local_ip_address”: “192.168.31.103”
}]
}]
}
7.把配置文件代码修改自己对应的信息,修改好保存并关闭。

更正:mac大小写不影响,你的路由复制过来是大写就大写,是小写就小写。


8.启动并运行ham插件

9.把ham日志调节为debug模式,查看ham运行情况,日志如果没有红色,则运行正常。

10.在homekit里面把设备接入

带usb插口得 能接入吗

像公牛 萤石这类WIFI 智能插座,如何连接?

要抓包 太费劲了,我以前也是八国联军,都闲鱼出掉了,换了开放性比较强的设备。

哈哈,你说的有道理,感谢你的回复

大佬们辛苦了 马上就能覆盖到我的所有设备了

非常感谢大佬~经过试验 sp也可以正常接入 只要吧
“description”: “This is an example configuration for the Broadlink SP homebridge plugin”,
“type”: “SP”, 这两项修改好~其他都是一样的~

我能成功了,但是过了半小时就掉线了,提示有错误

info.0 2020-02-20 19:22:56.002 error (19864) Error: connect ETIMEDOUT 151.101.228.133:443
info.0 2020-02-20 18:52:55.986 error (19864) Error: connect ETIMEDOUT 151.101.228.133:443
admin.0 2020-02-20 18:24:14.301 info (14944) Repository received successfully.
host.DESKTOP-FVLIMP7(SmartHome) 2020-02-20 18:24:12.692 info Update repository “default” under “http://download.iobroker.net/sources-dist.json
admin.0 2020-02-20 18:24:12.684 info (14944) Request actual repository…
info.0 2020-02-20 18:22:55.992 error (19864) Error: connect ETIMEDOUT 151.101.108.133:443
ham.0 2020-02-20 18:09:41.218 info (22248) stateChange ham.0.客厅排插s2.s2.On {“val”:true,“ack”:true,“ts”:1582193381217,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1582193381217}
ham.0 2020-02-20 18:09:32.205 info (22248) stateChange ham.0.客厅排插s2.s2.On {“val”:false,“ack”:true,“ts”:1582193372204,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1582193372204}
info.0 2020-02-20 17:52:55.987 error (19864) Error: connect ETIMEDOUT 151.101.108.133:443

这个info.0和设备没有关系.

关注ham的log

大佬,请教一下接入homekit后插排一直是未响应。应该去查哪里的问题。

ham.0 2020-04-20 20:57:49.601 info (6569) stateChange ham.0.卫生间排插s4.s4.Name {“val”:"",“ack”:true,“ts”:1587387469559,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402073}
ham.0 2020-04-20 20:57:49.601 info (6569) stateChange ham.0.卫生间排插s4.s4.Name {“val”:“s4”,“ack”:true,“ts”:1587387469559,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587387469559}
ham.0 2020-04-20 20:57:49.600 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Accessory-Flags {“val”:0,“ack”:true,“ts”:1587387469559,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402073}
ham.0 2020-04-20 20:57:49.600 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Hardware-Revision {“val”:"",“ack”:true,“ts”:1587387469559,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402073}
ham.0 2020-04-20 20:57:49.600 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Firmware-Revision {“val”:“1.0”,“ack”:true,“ts”:1587387469558,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.600 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Serial-Number {“val”:“s4”,“ack”:true,“ts”:1587387469558,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.599 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Name {“val”:“卫生间排插s4”,“ack”:true,“ts”:1587387469558,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.594 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Model {“val”:“MP”,“ack”:true,“ts”:1587387469558,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.593 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Manufacturer {“val”:“Broadlink”,“ack”:true,“ts”:1587387469558,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.593 info (6569) stateChange ham.0.卫生间排插s4.Accessory-Information.Identify {“val”:false,“ack”:true,“ts”:1587387469558,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.593 info (6569) stateChange ham.0.卫生间排插s3.s3.Name {“val”:"",“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402072}
ham.0 2020-04-20 20:57:49.592 info (6569) stateChange ham.0.卫生间排插s3.s3.Name {“val”:“s3”,“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587387469557}
ham.0 2020-04-20 20:57:49.592 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Accessory-Flags {“val”:0,“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.592 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Hardware-Revision {“val”:"",“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.592 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Firmware-Revision {“val”:“1.0”,“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.591 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Serial-Number {“val”:“s3”,“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.591 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Name {“val”:“卫生间排插s3”,“ack”:true,“ts”:1587387469557,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.591 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Model {“val”:“MP”,“ack”:true,“ts”:1587387469556,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.591 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Manufacturer {“val”:“Broadlink”,“ack”:true,“ts”:1587387469556,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.590 info (6569) stateChange ham.0.卫生间排插s3.Accessory-Information.Identify {“val”:false,“ack”:true,“ts”:1587387469556,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.590 info (6569) stateChange ham.0.卫生间排插s2.s2.Name {“val”:"",“ack”:true,“ts”:1587387469555,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402071}
ham.0 2020-04-20 20:57:49.590 info (6569) stateChange ham.0.卫生间排插s2.s2.Name {“val”:“s2”,“ack”:true,“ts”:1587387469555,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587387469555}
ham.0 2020-04-20 20:57:49.590 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Accessory-Flags {“val”:0,“ack”:true,“ts”:1587387469555,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.589 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Hardware-Revision {“val”:"",“ack”:true,“ts”:1587387469555,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.589 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Firmware-Revision {“val”:“1.0”,“ack”:true,“ts”:1587387469555,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.589 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Serial-Number {“val”:“s2”,“ack”:true,“ts”:1587387469555,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.588 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Name {“val”:“卫生间排插s2”,“ack”:true,“ts”:1587387469554,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.588 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Model {“val”:“MP”,“ack”:true,“ts”:1587387469554,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.588 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Manufacturer {“val”:“Broadlink”,“ack”:true,“ts”:1587387469554,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.588 info (6569) stateChange ham.0.卫生间排插s2.Accessory-Information.Identify {“val”:false,“ack”:true,“ts”:1587387469554,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587385214716}
ham.0 2020-04-20 20:57:49.587 info (6569) stateChange ham.0.卫生间排插s1.s1.Name {“val”:"",“ack”:true,“ts”:1587387469554,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402070}
ham.0 2020-04-20 20:57:49.587 info (6569) stateChange ham.0.卫生间排插s1.s1.Name {“val”:“s1”,“ack”:true,“ts”:1587387469523,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587387469523}
ham.0 2020-04-20 20:57:49.587 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Accessory-Flags {“val”:0,“ack”:true,“ts”:1587387469520,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.587 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Hardware-Revision {“val”:"",“ack”:true,“ts”:1587387469517,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.586 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Firmware-Revision {“val”:“1.0”,“ack”:true,“ts”:1587387469514,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.586 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Serial-Number {“val”:“s1”,“ack”:true,“ts”:1587387469510,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.586 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Name {“val”:“卫生间排插s1”,“ack”:true,“ts”:1587387469483,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.585 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Model {“val”:“MP”,“ack”:true,“ts”:1587387469482,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.585 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Manufacturer {“val”:“Broadlink”,“ack”:true,“ts”:1587387469481,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402069}
ham.0 2020-04-20 20:57:49.584 info (6569) stateChange ham.0.卫生间排插s1.Accessory-Information.Identify {“val”:false,“ack”:true,“ts”:1587387469479,“q”:0,“from”:“system.adapter.ham.0”,“user”:“system.user.admin”,“lc”:1587351402068}
ham.0 2020-04-20 20:57:49.140 info (6569) updateState 卫生间排插s4.s4.Name: value = /common= {“type”:“string”,“read”:true,“write”:false,“role”:“text”,“name”:“Name”,“unit”:""}
ham.0 2020-04-20 20:57:49.139 info (6569) updateState 卫生间排插s4.s4.On: value = false /common= {“type”:“boolean”,“read”:true,“write”:true,“role”:“switch”,“name”:“On”,“unit”:""}
ham.0 2020-04-20 20:57:49.138 info (6569) updateState 卫生间排插s4.s4.Name: value = s4 /common= {“type”:“string”,“read”:true,“write”:false,“role”:“text”,“name”:“Name”,“unit”:""}
ham.0 2020-04-20 20:57:49.138 info (6569) updateChannel 卫生间排插s4.s4: name = s4

详细信息截图 :joy:

![ham配置文件|690x289, 75%](upload://rham设置 nPxlp54ng7eZSbDoFepn7169Es.png)
确定设备mac和ip是正确的,请大佬帮忙看一下。

ham配置文件


插排是博联的


该小写,然后:,记得是英文输入法下的。试试看

更改小写了homekit里还是未响应。
把插件都重新运行过也没有报错,插排、手机也重开了。还是不行。
我怀疑可能是插排不支持…

你的插座是啥型号的,别搞错了哦。你拍照或者购买记录截图给我看看?

大佬竟然在线,为这几天的解答先谢过大佬。多谢。
我这里只有个板子连外壳都没有,哈哈。
我只知道能联网,还真不确定型号。
我找下朋友看能不能找到购买记录啥的。

微信图片_20200422141019
跪了,这插排不是博联也不是鸿雁的。