Hi @ all,
ich recently installed the custom extension via HACS even after reboot the extension canât detect the USB-Stick. Here is the log entry of the extension:
Logger: homeassistant.components.cover
Source: custom_components/becker/pybecker/becker_helper.py:178
Integration: Abdeckung (documentation, issues)
First occurred: 6. Januar 2023 um 21:59:39 (1 occurrences)
Last logged: 6. Januar 2023 um 21:59:39
Error while setting up becker platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 289, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/becker/cover.py", line 105, in async_setup_platform
PyBecker.setup(hass, device=device, filename=filename)
File "/config/custom_components/becker/rf_device.py", line 58, in setup
cls.becker = Becker(device_name=device, init_dummy=False, db_filename=filename, callback=callback)
File "/config/custom_components/becker/pybecker/becker.py", line 57, in __init__
self.communicator = BeckerCommunicator(device_name, callback)
File "/config/custom_components/becker/pybecker/becker_helper.py", line 216, in __init__
self._connection = BeckerConnection(device=device)
File "/config/custom_components/becker/pybecker/becker_helper.py", line 98, in __init__
self._device, self._is_serial = self._validate_device(device)
File "/config/custom_components/becker/pybecker/becker_helper.py", line 178, in _validate_device
raise BeckerConnectionError("{} is not existing".format(device))
custom_components.becker.pybecker.becker_helper.BeckerConnectionError: /dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00 is not existing
my yaml looks like this:
cover:
- platform: becker
# Optional device path (useful when running from docker container)
# Default device:
# "/dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00"
#device: "/dev/beckercentronicusb"
device: "/dev/serial/by-id/usb-BECKER-ANTRIEBE_GmbH_CDC_RS232_v125_Centronic-if00"
# Optional database filename (database is stored in HA config folder)
filename: "centronic-stick.db"
covers:
garden:
friendly_name: "Sonnenschutz Terasse 1"
# Using Unit 1 - Channel 1
channel: "1:1"
# Optional Travel Time to track cover position by time
# one time is sufficient if up and down travel time is equal
#travelling_time_up: 30
# Optional Travel Time for direction down
#travelling_time_down: 27
# Optional Remote ID from your Becker Remote, e.g. your master sender (multiple ID's separated by comma are possible)
# to find out the Remote ID of your Becker Remote enable debug log for becker
#remote_id: "12345:2"
logger:
default: info
logs:
custom_components.hacs: debug
aiogithubapi: debug
And the console says, that the USB stick is there:
Can anyone see my mistake? Iâm stuck here.
Kind Regards
MrIcemanLE