找回密码
 立即注册
搜索
查看: 5225|回复: 8

[技术探讨] 叮咚和HA Bridge最新版配对失败

[复制链接]

1

主题

5

回帖

33

积分

新手上路

积分
33
金钱
27
HASS币
0
发表于 2017-11-23 19:38:13 | 显示全部楼层 |阅读模式
配对失败叮咚app可以发现网关 出现进度条提示按网关link按钮 点击HA Bridge页面上的link没有用 超时后显示配对失败

HA BridgeV5.0.0
叮咚appV3.2.7.456
叮咚音箱 V3.2.2.434

哪位大神测试过?

回复

使用道具 举报

 手机认证

123

主题

4549

回帖

1万

积分

管理员

囧死

积分
16577
金钱
11820
HASS币
45
发表于 2017-11-23 19:44:13 | 显示全部楼层
HaBridge需要运行在80端口,看看你是不是没用80端口。
回复

使用道具 举报

1

主题

5

回帖

33

积分

新手上路

积分
33
金钱
27
HASS币
0
 楼主| 发表于 2017-11-23 20:16:12 | 显示全部楼层
附上HA Bridge的log
11-23-2017 22:58:52.058        INFO        Hue emulator service started....        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:58:52.064        INFO        Traceupnp: upnp config address: 192.168.1.111-useIface:false on web server: 0.0.0.0:80        com.bwssystems.HABridge.HABridge
11-23-2017 22:58:52.065        INFO        Description xml service started....        com.bwssystems.HABridge.upnp.UpnpSettingsResource
11-23-2017 22:58:52.069        INFO        UPNP Discovery Listener starting....        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.071        INFO        Traceupnp: Interface: hassio valid usable IP address: /172.30.32.1        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.073        INFO        Traceupnp: Adding hassio to our upnp join interface set.        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.076        INFO        Traceupnp: Interface: eth0 valid usable IP address: /192.168.1.111        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.077        INFO        Traceupnp: Adding eth0 to our upnp join interface set.        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.078        INFO        Traceupnp: Interface: lo valid usable IP address: /127.0.0.1        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.079        INFO        Traceupnp: Adding lo to our upnp join interface set.        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:52.080        INFO        UPNP Discovery Listener running and ready....        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:54.008        INFO        Traceupnp: request of description.xml from: 192.168.1.202:80 filled in with address: 192.168.1.111:80        com.bwssystems.HABridge.upnp.UpnpSettingsResource
11-23-2017 22:58:57.124        INFO        Traceupnp: SSDP M-SEARCH packet from 192.168.1.101:1901        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:57.126        INFO        Traceupnp: send upnp discovery template 1 with response address: 192.168.1.111:80 to address: /192.168.1.101:1901        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:57.129        INFO        Traceupnp: send upnp discovery template 2 with response address: 192.168.1.111:80 to address: /192.168.1.101:1901        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:58:57.131        INFO        Traceupnp: send upnp discovery template 3 with response address: 192.168.1.111:80 to address: /192.168.1.101:1901        com.bwssystems.HABridge.upnp.UpnpListener
11-23-2017 22:59:04.829        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:04.837        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:05.871        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:05.878        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:06.913        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:06.922        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:07.945        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:07.952        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:09.010        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:09.018        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:09.493        INFO        Link button pressed....        com.bwssystems.HABridge.SystemControl
11-23-2017 22:59:10.046        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:10.128        INFO        Traceupnp: hue api user create requested for device type: DingDong#Allwinner-Tablet and username: 0a92b251590a44cfa8e82650b9042da7 /api/ called        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:10.130        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:11.184        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:11.284        INFO        Traceupnp: hue api user create requested for device type: DingDong#Allwinner-Tablet and username: 9c97806bd35f47c8bcae83e9523120e0 /api/ called        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:11.288        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:12.321        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:12.418        INFO        Traceupnp: hue api user create requested for device type: DingDong#Allwinner-Tablet and username: 01afd8b0b58a483091f32bfa20692a2e /api/ called        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:12.421        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:13.446        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:13.529        INFO        Traceupnp: hue api user create requested for device type: DingDong#Allwinner-Tablet and username: df9b0142d92846f49bdcc65379c264e6 /api/ called        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:13.533        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:14.577        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:14.667        INFO        Traceupnp: hue api user create requested for device type: DingDong#Allwinner-Tablet and username: 747c7b3abc434c59814f96c1cc2cf1aa /api/ called        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:14.670        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter
11-23-2017 22:59:15.738        INFO        Traceupnp: hue api user create requested: {"devicetype":"DingDong#Allwinner-Tablet"} from address: 192.168.1.101        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:15.872        INFO        Traceupnp: hue api user create requested for device type: DingDong#Allwinner-Tablet and username: 00d8e1cd6acb402195ff335ab700e57a /api/ called        com.bwssystems.HABridge.hue.HueMulator
11-23-2017 22:59:15.875        INFO        The requested route [/api] has not been mapped in Spark for Accept: [null]        spark.http.matching.MatcherFilter

回复

使用道具 举报

1

主题

5

回帖

33

积分

新手上路

积分
33
金钱
27
HASS币
0
 楼主| 发表于 2017-11-23 20:17:52 | 显示全部楼层
Jones 发表于 2017-11-23 19:44
HaBridge需要运行在80端口,看看你是不是没用80端口。

是80端口没错

http://192.168.1.111/api/devices 返回:
[{"id":"1","uniqueid":"00:17:88:5E3:01-01","name":"灯","mapId":"HA1-light.yeelight_rgb_34ce008e8fa0","mapType":"hassDevice","deviceType":"light","targetDevice":"HA1","offUrl":"[{\"item\":\"{\\\"entityId\\\":\\\"light.yeelight_rgb_34ce008e8fa0\\\",\\\"hassName\\\":\\\"HA1\\\",\\\"state\\\":\\\"off\\\"}\",\"type\":\"hassDevice\"}]","dimUrl":"[{\"item\":\"{\\\"entityId\\\":\\\"light.yeelight_rgb_34ce008e8fa0\\\",\\\"hassName\\\":\\\"HA1\\\",\\\"state\\\":\\\"on\\\"}\",\"type\":\"hassDevice\"}]","onUrl":"[{\"item\":\"{\\\"entityId\\\":\\\"light.yeelight_rgb_34ce008e8fa0\\\",\\\"hassName\\\":\\\"HA1\\\",\\\"state\\\":\\\"on\\\"}\",\"type\":\"hassDevice\"}]","inactive":false,"noState":false,"offState":false}]
回复

使用道具 举报

0

主题

6

回帖

40

积分

新手上路

积分
40
金钱
34
HASS币
0
发表于 2017-12-3 15:35:03 | 显示全部楼层
这个应该是5.0的bug,有不少人都反映了。开发者正在看是什么问题。
回复

使用道具 举报

4

主题

188

回帖

1580

积分

金牌会员

积分
1580
金钱
1388
HASS币
0
发表于 2017-12-14 23:15:59 | 显示全部楼层
5.1也连不上,只能降级到岡帅版才连上
回复

使用道具 举报

3

主题

29

回帖

129

积分

注册会员

积分
129
金钱
97
HASS币
0
发表于 2017-12-19 16:08:36 | 显示全部楼层
好大一个坑,幸亏我进来看了一眼。正在安装5.0。。。。。。。。。。。。。。。。
回复

使用道具 举报

0

主题

20

回帖

68

积分

注册会员

积分
68
金钱
48
HASS币
0
发表于 2018-1-4 16:38:13 | 显示全部楼层
之前树莓派上移植时,更新了HA,版本5.0.0,叮咚上就一直显示要按飞利浦网桥上面的按钮才能完成配对,辛亏当初备份了4.5.6老版本,替换上去才解决。
回复

使用道具 举报

20

主题

697

回帖

3229

积分

论坛元老

积分
3229
金钱
2512
HASS币
0
发表于 2018-1-25 19:27:45 | 显示全部楼层
黎明小升 发表于 2018-1-4 16:38
之前树莓派上移植时,更新了HA,版本5.0.0,叮咚上就一直显示要按飞利浦网桥上面的按钮才能完成配对,辛亏 ...

为什么我4.5.6版也是配对失败???
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-21 08:41 , Processed in 0.068494 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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