|
我的貌似安装成功了,但是网页版输入:“我路由IP:8123”,无法连接,路由是D2
[RT-N56U_B1 /opt/home/admin]# hass -c /opt/home/admin/.homeassistant
Config directory: /opt/home/admin/.homeassistant
2019-05-09 00:04:07 WARNING (MainThread) [homeassistant.config] Incomplete core configuration. Auto detected latitude: None, longitude: None, name: None, time_zone: None
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.setup] Setting up group
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded sensor.template from homeassistant.components.sensor.template
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded switch.phicomm_dc1m from custom_components.switch.phicomm_dc1m
2019-05-09 00:04:07 WARNING (MainThread) [homeassistant.loader] You are using a custom component for switch.phicomm_dc1m which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-05-09 00:04:07 INFO (MainThread) [homeassistant.loader] Loaded switch.template from homeassistant.components.switch.template
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.template
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.7 seconds.
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.5 seconds.
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.setup] Setting up switch
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.components.switch] Setting up switch.phicomm_dc1m
2019-05-09 00:04:08 WARNING (SyncWorker_1) [custom_components.switch.phicomm_dc1m] PhicommDC1Switch server got [Errno 125] Address already in use
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.components.switch] Setting up switch.phicomm_dc1m
2019-05-09 00:04:08 WARNING (SyncWorker_6) [custom_components.switch.phicomm_dc1m] PhicommDC1Switch server got [Errno 125] Address already in use
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.components.switch] Setting up switch.template
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.components.switch] Setting up switch.template
2019-05-09 00:04:08 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform phicomm_dc1m
Traceback (most recent call last):
File "/opt/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/tasks.py", line 416, in wait_for
File "/thread.py", line 57, in run
File "/opt/home/admin/.homeassistant/custom_components/switch/phicomm_dc1m.py", line 71, in setup_platform
devs.append(PhicommDC1Switch(hass, ip, PhicommDC1Switch.connection_list, name, portls))
File "/opt/home/admin/.homeassistant/custom_components/switch/phicomm_dc1m.py", line 166, in __init__
self.sock = PhicommDC1Switch.connection_list[0]
IndexError: list index out of range
2019-05-09 00:04:08 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform phicomm_dc1m
Traceback (most recent call last):
File "/opt/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/tasks.py", line 416, in wait_for
File "/thread.py", line 57, in run
File "/opt/home/admin/.homeassistant/custom_components/switch/phicomm_dc1m.py", line 71, in setup_platform
devs.append(PhicommDC1Switch(hass, ip, PhicommDC1Switch.connection_list, name, portls))
File "/opt/home/admin/.homeassistant/custom_components/switch/phicomm_dc1m.py", line 166, in __init__
self.sock = PhicommDC1Switch.connection_list[0]
IndexError: list index out of range
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.1 seconds.
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 2.55s
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-05-09 00:04:08 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 总功率, the state is unknown.
2019-05-09 00:04:08 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 总功率, the state is unknown.
2019-05-09 00:04:08 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 总电压, the state is unknown.
2019-05-09 00:04:08 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template 总电压, the state is unknown.
2019-05-09 00:04:08 INFO (MainThread) [homeassistant.core] Timer:starting
|
|