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

 找回密码
 立即注册
查看: 3417|回复: 8

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

[复制链接]

1

主题

6

帖子

33

积分

新手上路

Rank: 1

积分
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

哪位大神测试过?

回复

使用道具 举报

124

主题

4634

帖子

1万

积分

管理员

囧死

Rank: 9Rank: 9Rank: 9

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

使用道具 举报

1

主题

6

帖子

33

积分

新手上路

Rank: 1

积分
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

主题

6

帖子

33

积分

新手上路

Rank: 1

积分
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

帖子

38

积分

新手上路

Rank: 1

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

使用道具 举报

4

主题

192

帖子

1570

积分

金牌会员

Rank: 6Rank: 6

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

使用道具 举报

3

主题

32

帖子

129

积分

注册会员

Rank: 2

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

使用道具 举报

0

主题

20

帖子

68

积分

注册会员

Rank: 2

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

使用道具 举报

19

主题

690

帖子

3001

积分

论坛元老

Rank: 8Rank: 8

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

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

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-20 08:25 , Processed in 1.138126 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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