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

 找回密码
 立即注册
查看: 5963|回复: 9

[技术探讨] 小米网关连不上

[复制链接]

2

主题

15

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
47
HASS币
0
发表于 2018-7-8 21:41:58 | 显示全部楼层 |阅读模式
2018-07-08 21:40:09 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2018-07-08 21:40:09 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform bitcoin is taking over 10 seconds.
2018-07-08 21:40:14 ERROR (Thread-14) [homeassistant.components.xiaomi_aqara] No gateway discovered
2018-07-08 21:40:14 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.


小米网关怎么都连不上
xiaomi_aqara:
  gateways:
    - mac: 34CE00FB7005
      key: 546kuyiyvq6bdzbu
    - mac: 34CE00FB6F68
      key: 2jjz7xn1nfac2n1f

使用空格,不是TAB。也是醉了。。。。

回复

使用道具 举报

75

主题

1976

帖子

8183

积分

元老级技术达人

积分
8183
金钱
6157
HASS币
430

活跃会员教程狂人

发表于 2018-7-8 22:11:29 | 显示全部楼层
mac小写试一试,我这大半年来基本没出过问题。
所有过往,皆为序章。
回复

使用道具 举报

2

主题

15

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
47
HASS币
0
 楼主| 发表于 2018-7-8 23:16:09 | 显示全部楼层
咸味土豆 发表于 2018-7-8 22:11
mac小写试一试,我这大半年来基本没出过问题。

改小写了也是一样~~
回复

使用道具 举报

5

主题

295

帖子

2062

积分

金牌会员

Rank: 6Rank: 6

积分
2062
金钱
1766
HASS币
0
发表于 2018-7-9 10:13:16 | 显示全部楼层
本帖最后由 liuyr 于 2018-7-9 10:18 编辑

这样设置试一下看看:
xiaomi_aqara:
  discovery_retry: 10
  gateways:
    - mac: 286c07f*****
      key: cbvmvpypsl******
      host: 192.168.***.***
进入小米APP,确认KEY是正确的。
HA重启,网关重新插一下电源
回复

使用道具 举报

2

主题

15

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
47
HASS币
0
 楼主| 发表于 2018-7-9 22:27:23 | 显示全部楼层
回复楼上的朋友,按这样的操作试过不行
尝试了双网关的配置还是不行。日志如下:
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_default_level, domain=logger>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_level, domain=logger>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=logger>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.loader] Loaded introduction from homeassistant.components.introduction
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up introduction
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.components.introduction]

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        Hello, and welcome to Home Assistant!

        We'll hope that we can make all your dreams come true.

        Here are some resources to get started:

         - Configuring Home Assistant:
           https://home-assistant.io/getting-started/configuration/

         - Available components:
           https://home-assistant.io/components/

         - Troubleshooting your configuration:
           https://home-assistant.io/gettin ... ting-configuration/

         - Getting help:
           https://home-assistant.io/help/

        This message is generated by the introduction component. You can
        disable it in configuration.yaml.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=introduction>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1976235952-1, service=create, domain=persistent_notification, service_data=title=Welcome Home!, message=
Here are some resources to get started:

- [Configuring Home Assistant](https://home-assistant.io/getting-started/configuration/)
- [Available components](https://home-assistant.io/components/)
- [Troubleshooting your configuration](https://home-assistant.io/docs/configuration/troubleshooting/)
- [Getting help](https://home-assistant.io/help/)

To not see this card popup in the future, edit your config in
`configuration.yaml` and disable the `introduction` component.
>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.notification=notifying; title=Welcome Home!, message=Here are some resources to get started:

- [Configuring Home Assistant](https://home-assistant.io/getting-started/configuration/)
- [Available components](https://home-assistant.io/components/)
- [Troubleshooting your configuration](https://home-assistant.io/docs/configuration/troubleshooting/)
- [Getting help](https://home-assistant.io/help/)

To not see this card popup in the future, edit your config in
`configuration.yaml` and disable the `introduction` component. @ 2018-07-09T14:25:52.404393+00:00>, entity_id=persistent_notification.notification, old_state=None>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976235952-1>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up http
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=http>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up api
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up system_log
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=clear, domain=system_log>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=write, domain=system_log>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=system_log>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=websocket_api>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.1 seconds.
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=api>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up recorder
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=purge, domain=recorder>
2018-07-09 14:25:52 INFO (MainThread) [homeassistant.setup] Setting up frontend
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 1.6 seconds.
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend>
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 2.3 seconds.
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=recorder>
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.setup] Setting up history
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2018-07-09 14:25:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=history>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded xiaomi_aqara from homeassistant.components.xiaomi_aqara
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded discovery from homeassistant.components.discovery
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded tts.google from homeassistant.components.tts.google
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up group
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=reload, domain=group>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set, domain=group>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=remove, domain=group>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=set_visibility, domain=group>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=group>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up map
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=map>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded sensor.yr from homeassistant.components.sensor.yr
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up sensor
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up sun
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.2 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sun>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config from homeassistant.components.config
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=above_horizon; azimuth=305.39, next_midnight=2018-07-10T00:05:23+00:00, elevation=49.21, next_rising=2018-07-10T06:01:42+00:00, friendly_name=Sun, next_noon=2018-07-10T12:05:18+00:00, next_setting=2018-07-09T18:08:46+00:00, next_dawn=2018-07-10T05:39:22+00:00, next_dusk=2018-07-09T18:31:07+00:00 @ 2018-07-09T14:25:55.444523+00:00>, entity_id=sun.sun, old_state=None>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up xiaomi_aqara
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up automation
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=trigger, domain=automation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=reload, domain=automation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=toggle, domain=automation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_on, domain=automation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_off, domain=automation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=automation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up conversation
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=process, domain=conversation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=conversation>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up logbook
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up script
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=reload, domain=script>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_on, domain=script>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_off, domain=script>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=toggle, domain=script>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=script>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up config
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=log, domain=logbook>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.config_entries from homeassistant.components.config.config_entries
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.customize from homeassistant.components.config.customize
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.customize>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.core from homeassistant.components.config.core
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.core>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.group from homeassistant.components.config.group
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.group>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.automation from homeassistant.components.config.automation
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.automation>
2018-07-09 14:25:55 INFO (Thread-4) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 1)
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.script from homeassistant.components.config.script
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.script>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.entity_registry from homeassistant.components.config.entity_registry
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.loader] Loaded config.hassbian from homeassistant.components.config.hassbian
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.3 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=logbook>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.entity_registry>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery>
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-07-09 14:25:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2018-07-09T14:25:56.145481+00:00>, entity_id=sensor.yr_symbol, old_state=None>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.setup] Setting up cloud
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=cloud>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.8 seconds.
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=google_say, domain=tts>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=clear_cache, domain=tts>
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.2 seconds.
2018-07-09 14:25:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=tts>
2018-07-09 14:25:58 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=4; attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=4;content_type=image/png, friendly_name=yr Symbol @ 2018-07-09T14:25:58.006975+00:00>, entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2018-07-09T14:25:56.145481+00:00>>
2018-07-09 14:25:58 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 2.8 seconds.
2018-07-09 14:25:58 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>
2018-07-09 14:26:00 INFO (Thread-4) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2018-07-09 14:26:00 INFO (Thread-4) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 2)
2018-07-09 14:26:05 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2018-07-09 14:26:05 INFO (Thread-4) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2018-07-09 14:26:05 INFO (Thread-4) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 3)
2018-07-09 14:26:10 INFO (Thread-4) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2018-07-09 14:26:10 ERROR (Thread-4) [homeassistant.components.xiaomi_aqara] No gateway discovered
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 15.4 seconds.
2018-07-09 14:26:10 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1976235952-2, service=create, domain=persistent_notification, service_data=title=Invalid config, notification_id=invalid_config, message=The following components and platforms could not be set up:

- [xiaomi-aqara](https://home-assistant.io/components/xiaomi_aqara/)

Please check your config.>
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:

- [xiaomi-aqara](https://home-assistant.io/components/xiaomi_aqara/)

Please check your config. @ 2018-07-09T14:26:10.832585+00:00>, entity_id=persistent_notification.invalid_config, old_state=None>
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976235952-2>
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 19.25s
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Starting Home Assistant core loop
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_start[L]>
2018-07-09 14:26:10 INFO (MainThread) [homeassistant.core] Timer:starting
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 192.168.50.40 (auth: False)
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.loader] Loaded sonos from homeassistant.components.sonos
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.loader] Loaded zone from homeassistant.components.zone
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.loader] Loaded hue from homeassistant.components.hue
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.loader] Loaded nest from homeassistant.components.nest
2018-07-09 14:26:13 INFO (MainThread) [homeassistant.loader] Loaded deconz from homeassistant.components.deconz
2018-07-09 14:26:15 INFO (MainThread) [homeassistant.components.http.view] Serving /states to 192.168.50.40 (auth: False)
2018-07-09 14:26:19 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 192.168.50.40 (auth: False)
2018-07-09 14:26:23 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: asus_router {'model_number': '3.0.0.4.384', 'name': 'RT-AC88U', 'port': 49756, 'model_name': 'RT-AC88U', 'udn': 'uuid:3ddcd1d3-2380-45f5-b069-1831bf5b6248', 'upnp_device_type': 'urn:schemas-upnp-org:device:InternetGatewayDevice:1', 'host': '192.168.50.1', 'ssdp_description': 'http://192.168.50.1:49756/rootDesc.xml', 'manufacturer': 'ASUSTeK Computer Inc.', 'serial': '18:31:bf:5b:62:48'}
2018-07-09 14:26:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=above_horizon; azimuth=305.29, next_midnight=2018-07-10T00:05:23+00:00, elevation=49.09, next_rising=2018-07-10T06:01:42+00:00, friendly_name=Sun, next_noon=2018-07-10T12:05:18+00:00, next_setting=2018-07-09T18:08:46+00:00, next_dawn=2018-07-10T05:39:22+00:00, next_dusk=2018-07-09T18:31:07+00:00 @ 2018-07-09T14:25:55.444523+00:00>, entity_id=sun.sun, old_state=<state sun.sun=above_horizon; azimuth=305.39, next_midnight=2018-07-10T00:05:23+00:00, elevation=49.21, next_rising=2018-07-10T06:01:42+00:00, friendly_name=Sun, next_noon=2018-07-10T12:05:18+00:00, next_setting=2018-07-09T18:08:46+00:00, next_dawn=2018-07-10T05:39:22+00:00, next_dusk=2018-07-09T18:31:07+00:00 @ 2018-07-09T14:25:55.444523+00:00>>
回复

使用道具 举报

0

主题

17

帖子

70

积分

注册会员

Rank: 2

积分
70
金钱
53
HASS币
0
发表于 2018-7-27 09:39:31 | 显示全部楼层
解决了么??我也是,一直连不上,都是配置有问题
回复

使用道具 举报

0

主题

19

帖子

84

积分

注册会员

Rank: 2

积分
84
金钱
65
HASS币
0
发表于 2020-5-3 19:55:13 | 显示全部楼层
请问楼主解决了么/i我也是一样的问题。
Logger: homeassistant.setup
Source: __main__.py:347
First occurred: 下午7:42:51 (1 occurrences)
Last logged: 下午7:42:51
Setup of xiaomi_aqara is taking over 10 seconds.

Logger: homeassistant.components.xiaomi_aqara
Source: components/xiaomi_aqara/__init__.py:150
Integration: xiaomi_aqara (documentation, issues)
First occurred: 下午7:42:56 (1 occurrences)
Last logged: 下午7:42:56

No gateway discovered


ogger: homeassistant.setup
Source: setup.py:191
First occurred: 下午7:42:56 (1 occurrences)
Last logged: 下午7:42:56

Setup failed for xiaomi_aqara: Integration failed to initialize.

回复

使用道具 举报

0

主题

19

帖子

1166

积分

金牌会员

Rank: 6Rank: 6

积分
1166
金钱
1147
HASS币
0
发表于 2020-6-20 22:28:14 | 显示全部楼层
aqara空调伴侣接入烟雾报警器和水浸报警器之后就会出现这种情况,把烟雾报警器和水浸报警器删掉就可以正常接入了。
回复

使用道具 举报

2

主题

46

帖子

861

积分

论坛技术达人

积分
861
金钱
805
HASS币
20
发表于 2020-6-22 21:57:35 | 显示全部楼层
是不是放在OpenWrt路由器上运行的?我在路由器上运行也发现不了网关,只能在NAS上运行了。
回复

使用道具 举报

5

主题

67

帖子

213

积分

论坛分享达人

积分
213
金钱
146
HASS币
0
QQ
发表于 2020-11-3 10:44:06 | 显示全部楼层
请问楼主问题解决了吗,到底是哪里出了问题,我也是怎么也接不进去了
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 14:56 , Processed in 0.085530 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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