I upgraded my RT-AC66U router to Asuswrt-Merlin and installed python3/python3-pip.
Then the homeassistant 0.46 was installed successfully.
pip3 list
aiohttp (2.1.0)
astral (1.4)
async-timeout (1.2.1)
asyncio (3.4.3)
chardet (3.0.2)
homeassistant (0.46.0)
Jinja2 (2.9.6)
MarkupSafe (1.0)
multidict (2.1.6)
pip (9.0.1)
pytz (2017.2)
PyYAML (3.12)
requests (2.14.2)
ruamel.yaml (0.14.12)
setuptools (33.1.1)
typing (3.6.1)
urllib3 (1.21.1)
voluptuous (0.10.5)
wheel (0.29.0)
yarl (0.10.2)
But when I launched the hass, it reports:
hass --open-ui
Config directory: /root/.homeassistant
Traceback (most recent call last):
File “/opt/bin/hass”, line 11, in
sys.exit(main())
File “/opt/lib/python3.6/site-packages/homeassistant/main.py”, line 406, in main
exit_code = setup_and_run_hass(config_dir, args)
File “/opt/lib/python3.6/site-packages/homeassistant/main.py”, line 307, in setup_and_run_hass
log_rotate_days=args.log_rotate_days)
File “/opt/lib/python3.6/site-packages/homeassistant/bootstrap.py”, line 161, in from_config_file
hass = core.HomeAssistant()
File “/opt/lib/python3.6/site-packages/homeassistant/core.py”, line 114, in init
self.loop = loop or asyncio.get_event_loop()
File “/events.py”, line 678, in get_event_loop
File “/events.py”, line 581, in get_event_loop
File “/events.py”, line 599, in new_event_loop
File “/unix_events.py”, line 56, in init
File “/selector_events.py”, line 64, in init
File “/selectors.py”, line 399, in init
OSError: [Errno 89] Function not implemented
Exception ignored in: <bound method BaseEventLoop.del of <_UnixSelectorEventLoop running=False closed=False debug=False>>
Traceback (most recent call last):
File “/base_events.py”, line 511, in del
File “/unix_events.py”, line 63, in close
File “/selector_events.py”, line 110, in close
File “/selector_events.py”, line 120, in _close_self_pipe
AttributeError: ‘_UnixSelectorEventLoop’ object has no attribute ‘_ssock’