(I know there are alot of topics around this subject, but I can’t find any with my preconditions.)
I am running Home Assistans on Docker, on an Ubuntu 20 machine and am trying to configure my old Tellstick Duo. I have the Tellstick running on my host after custom building it (as the official build is outdated for latest versions of Ubuntu) and it’s working fine on the host.
However, when trying to install it into my Home Assistant docker I get the error: “Could not connect to the Telldus Service (-6)”.
How can I make Home Assistant use my custom build of the Tellstick tools? Or is it just a configuration error on my part? I’m not proficient enough on Docker…
Error during setup of component tellstick
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/tellstick/__init__.py", line 112, in setup
tellcore_devices = tellcore_lib.devices()
File "/usr/local/lib/python3.8/site-packages/tellcore/telldus.py", line 173, in devices
count = self.lib.tdGetNumberOfDevices()
File "/usr/local/lib/python3.8/site-packages/tellcore/library.py", line 257, in check_int_result
raise TelldusError(result)
tellcore.library.TelldusError: Could not connect to the Telldus Service (-6)
My docker-compose.yml reads:
version: '3'
services:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant:stable
volumes:
- ~/homeassistant-config:/config
- /etc/tellstick.conf:/etc/tellstick.conf
devices:
- /dev/bus/usb:/dev/bus/usb
restart: always
network_mode: host
privileged: true
My homeassistant/configuration.yaml reads:
tellstick:
signal_repetitions: 3
From what I gather that should be enought for the Tellstick Duo(?)