Skip to content

error setting ssh platform #13

Description

@AudriusTGo

sensor isnt created, and i receive following message. I can manually ssh from hassio to remote rpi.

Logger: homeassistant.components.sensor
Source: custom_components/ssh/sensor.py:136
Integration: Sensor (documentation, issues)
First occurred: 10:14:35 (1 occurrences)
Last logged: 10:14:35

Error while setting up ssh platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 179, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 483, in wait_for
return fut.result()
File "/usr/local/lib/python3.8/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/ssh/sensor.py", line 48, in async_setup_platform
dev.append(SSHSensor(hass, config))
File "/config/custom_components/ssh/sensor.py", line 66, in init
self._connect()
File "/config/custom_components/ssh/sensor.py", line 136, in _connect
self._ssh.login(self._host, self._username,
File "/usr/local/lib/python3.8/site-packages/pexpect/pxssh.py", line 426, in login
raise ExceptionPxssh('could not synchronize with original prompt')
pexpect.pxssh.ExceptionPxssh: could not synchronize with original prompt
Home Assistant has started!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions