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

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

[插件集成] HomeAssistant的Hue模拟器组件,抛弃你的ha-bridge

  [复制链接]

23

主题

659

帖子

4647

积分

元老级技术达人

积分
4647
金钱
3973
HASS币
30

教程狂人

QQ
发表于 2018-3-19 20:39:57 | 显示全部楼层
虫神怎么换马甲了
回复

使用道具 举报

4

主题

531

帖子

4029

积分

论坛元老

Rank: 8Rank: 8

积分
4029
金钱
3488
HASS币
120
发表于 2018-3-19 20:58:49 | 显示全部楼层
提示配对失败
无法配对网桥,确保在时限内按下网桥中心的按钮。如果希望连接到其他网络,请确保其已连接电源并在同一网络内。
已经设置了auto_link: true,没有报错信息。
http://192.168.123.100:8300/description.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.123.100:8300/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>HASS Bridge (192.168.123.100)</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://www.philips.com</manufacturerURL>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2015</modelName>
<modelNumber>BSB002</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>b827eb97ffdf</serialNumber>
<UDN>uuid:01234567-89ab-cdef-0123-b827eb97ffdf</UDN>
</device>
</root>

http://192.168.123.100:8300/api/pi/lights
{"1": {"modelid": "HASS123", "name": "\u53a8\u623f\u706f", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.kitchen"}, "2": {"modelid": "HASS123", "name": "\u536b\u751f\u95f4\u706f", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.bathroom"}, "3": {"modelid": "HASS123", "name": "\u9633\u53f0\u706f", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.balcony"}, "39": {"modelid": "HASS123", "name": "\u5ba2\u5385\u706f", "state": {"bri": 255, "on": true, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.livingroom"}, "41": {"modelid": "HASS123", "name": "\u5367\u5ba4\u53f0\u706f", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.bedroom"}, "42": {"modelid": "HASS123", "name": "\u8fc7\u9053\u706f", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.aisle"}, "43": {"modelid": "HASS123", "name": "\u53a8\u623f\u591c\u706f", "state": {"bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.gateway_light_7811dcb229d4"}}

http://192.168.123.100:8300/api/emulated_hue:Config:state
{"config": {"apiversion": "1.19.0", "bridgeid": "b827ebfffe97ffdf", "dhcp": true, "factorynew": false, "gateway": "192.168.123.100", "ipaddress": "192.168.123.100", "linkbutton": true, "localtime": "2018-03-19t20:57:01", "mac": "b8:27:eb:97:ff:df", "modelid": "HomeAssistant", "netmask": "255.255.255.0", "portalservices": false, "proxyaddress": "none", "proxyport": 0, "swupdate": {"checkforupdate": false, "devicetypes": {}, "notify": false, "text": "", "updatestate": 0, "url": ""}, "swversion": "9999999999", "timezone": "Asia/Shanghai", "utc": "2018-03-19t12:57:01", "whitelist": {"ab2633c3ed104604afc5709d4d9cac9e": {"createdate": "2018-03-19t20:57:01", "lastusedate": "2018-03-19t20:57:01", "name": "dingdong#allwinner-tablet#192.168.123.200"}}, "zigbeechannel": "6"}, "groups": {}, "lights": {"1": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u53a8\u623f\u706f", "state": {"alert": "none", "bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.kitchen"}, "2": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u536b\u751f\u95f4\u706f", "state": {"alert": "none", "bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.bathroom"}, "3": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u9633\u53f0\u706f", "state": {"alert": "none", "bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.balcony"}, "39": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u5ba2\u5385\u706f", "state": {"alert": "none", "bri": 255, "on": true, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.livingroom"}, "41": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u5367\u5ba4\u53f0\u706f", "state": {"alert": "none", "bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.bedroom"}, "42": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u8fc7\u9053\u706f", "state": {"alert": "none", "bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.aisle"}, "43": {"manufacturername": "philips", "modelid": "HASS123", "name": "\u53a8\u623f\u591c\u706f", "state": {"alert": "none", "bri": 0, "on": false, "reachable": true}, "swversion": "123", "type": "Dimmable light", "uniqueid": "light.gateway_light_7811dcb229d4"}}, "rules": {}, "scenes": {}, "schedules": {}, "sensors": {}}
回复

使用道具 举报

14

主题

660

帖子

3973

积分

论坛元老

Rank: 8Rank: 8

积分
3973
金钱
3308
HASS币
10
发表于 2018-3-19 21:23:39 | 显示全部楼层
d=====( ̄▽ ̄*)b厉害 对虫大的崇拜一发不可收拾
回复

使用道具 举报

123

主题

4665

帖子

1万

积分

管理员

囧死

Rank: 9Rank: 9Rank: 9

积分
16452
金钱
11702
HASS币
45
发表于 2018-3-20 00:39:51 | 显示全部楼层
我也没配置成功
回复

使用道具 举报

8

主题

219

帖子

3338

积分

论坛元老

Rank: 8Rank: 8

积分
3338
金钱
3119
HASS币
0
发表于 2018-3-20 08:20:32 | 显示全部楼层
我也玩不来
回复

使用道具 举报

17

主题

417

帖子

2825

积分

金牌会员

Rank: 6Rank: 6

积分
2825
金钱
2408
HASS币
0

教程狂人

发表于 2018-3-20 08:46:06 | 显示全部楼层
自动按下Link按钮,请问这个是什么作用的呀
回复

使用道具 举报

7

主题

43

帖子

863

积分

超级版主

Rank: 8Rank: 8

积分
863
金钱
805
HASS币
40
 楼主| 发表于 2018-3-20 09:13:13 | 显示全部楼层
killadm 发表于 2018-3-19 20:58
提示配对失败
无法配对网桥,确保在时限内按下网桥中心的按钮。如果希望连接到其他网络,请确保其已连接电 ...

忘记了,端口必须80
回复

使用道具 举报

4

主题

531

帖子

4029

积分

论坛元老

Rank: 8Rank: 8

积分
4029
金钱
3488
HASS币
120
发表于 2018-3-20 09:19:15 | 显示全部楼层
本帖最后由 killadm 于 2018-3-20 12:45 编辑
charley 发表于 2018-3-20 09:13
忘记了,端口必须 80

谢谢,中午回家试试

更新:连接成功,感谢




回复

使用道具 举报

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2018-3-20 09:45:49 | 显示全部楼层
charley 发表于 2018-3-20 09:13
忘记了,端口必须80

@charley 请问
github库中发现dingdong.py 这个是干嘛的啊?需要拷贝么?
回复

使用道具 举报

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2018-3-20 09:53:13 | 显示全部楼层
与叮咚配对成功,在手机端app中可以看到全部的entity_id,怎么屏蔽不想看到的设备呢?貌似不像habridge那样能够自定义啊
另外,需要注意的是这个emulated_hue也用到80端口,和habridge存在冲突,所以只能运行一个。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-25 21:07 , Processed in 0.196445 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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