Hi!
I´m new to Home Assistant and as one of my first tries, I want to get control of the users connected to the WiFi.
I have a Asus router, which I can connect to by using telnet.
But when I try to add the asuswrt into my config file I get the below error message.
Any idea what is the problem?
Log Details (ERROR)
Tue Jul 16 2019 09:37:50 GMT+0200 (W. Europe Daylight Time)
Invalid config for [asuswrt]: expected a dictionary for dictionary value @ data[‘asuswrt’]. Got ‘host:192.168.1.1 username:admin password:MyAsusPwd protocol:telnet’. (See ?, line ?). Please check the docs at https://home-assistant.io/components/asuswrt/
I run version 0.95.4 and my configuration.yaml file looks like this:
Thanks!
After correcting this, and also resetting my configuration.yaml file to make sure there are no other issues, I now get another error:
´´´Wed Jul 17 2019 12:09:18 GMT+0200 (W. Europe Daylight Time)
Error during setup of component asuswrt
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 153, in _async_setup_component
hass, processed_config)
File “/usr/src/homeassistant/homeassistant/components/asuswrt/init.py”, line 55, in async_setup
await api.connection.async_connect()
File “/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py”, line 123, in async_connect
self._host, self._port)
File “/usr/local/lib/python3.7/asyncio/streams.py”, line 77, in open_connection
lambda: protocol, host, port, **kwds)
File “uvloop/loop.pyx”, line 1904, in create_connection
File “uvloop/loop.pyx”, line 1883, in uvloop.loop.Loop.create_connection
ConnectionRefusedError: [Errno 111] Connection refused
But when I look in usr/src there is no file at all.
Any clue what I need to correct?
Thanks @DavidFW1960. Adding the port 22 did the trick!
Reason why I did not use SSH was that I thought it looked more complex to setup, but maybe I should I hvae tried that instead!
Anyway, now it works!
Thanks all for your friendly support!