do you have multiple USB devices attached to your system (apart from HDDs etc)? If so, try with only the USB-interface connected to the host and try again. Other than that, no idea, google might be your friend (knxd issues with MDT …).
Once the USB connectoin issue is resolved, you can point xknx to the local IP if your HA host
I can’t tell you how the config for your particular USB device has to look like - some USB devices seem to require certain “usb_filters”, others don’t. You will have to search the web if the MDT one requires certain filters or not (or try some filters, see knxd documentation for possible filters and what they do).
But in general, the default config of the add-on should work for most USB KNX-interfaces from what I have read. So Interface driver set to USB and the filter to single. The setting Interface IP-Address is ONLY needed for the drivers mentioned in description of this setting, no others (so for UART interfaces over IP). So for a USB KNX interface you do NOT have to configure anything IP related in the knxd add-on. I was talking about the HA component. You can try to use IP auto-detection (as described in the settings of the HA component) or enter the IP of the device you run the add-on on. I doubt that 127.0.0.1 would work since knxd is running in a container and not directly on localhost, so you would probably need the internal IP of the container within the docker VLAN, or just use your “external” local IP.
there appears to be a new version of knxd available since 16 days, but it appears to be missing other changes that had been merged to the main branch of knxd, which might fix some USB issues from what I have seen. I created a ticket over at knxd and asked if this was intentional. Once I got feedback from them, I’ll create a new version of the add-on with the latest knxd version, which might or might not fix your USB issue.
yeah, I noticed that something it broken in the images, but I can’t figure out what. If I compile the same add-on locally on my RPI, it’s starting up fine. But the image compiled via github actions has startup issues (something about permissions). Still investigating. It’s best to not update for now and stick to 0.4.4
I am still at 0.4.2 as there are problems starting up since each update after 0.4.2. It seems there is no image on github.
I have HA running in a linux virtual machine in unraid and the error message says:
‘Image Package hass-io-addons-amd64-addon-knxd · GitHub does not exist for addon_ecaeb50e_knxd’
In my humble opinion it could have to do sth. with the point you already mentioned: The “SHA of the GIT repo”… Hope this helps - if you need more info, please let me know!
images are there. 0.4.2 was the last version without precompiled images. If every version after that fails for you to install, I suspect that something maybe is blocking the access to the Github container repo. The amd64 version of 0.4.7 has been downloaded 7 times so far, so it must be working for others.
edit:
my suggestion would be:
create a backup of your 0.4.2 version
uninstall the add-on
add the add-on again and see if this fixes things
if this is still not working for you, maybe check if something is blocking the access to the container repo
Hi @da-anda
thank you for the new release and for your effort.
I stayed on 0.4.3 for months as newer releases didn’t work for me (mainly cause ETS connections were unstable at best)
Just wanted to let you know that 0.4.7 works like a charm for me (using the HA integration to connect to the bus as well as ETS)
You made not my day, but at least half my year
That did the trick!!
I did not try to uninstall and reinstall it - but now everything works like a charm.
Thanks for your answer and the whole add-on!
The knxd docs say about usb devices that “You may need a UDEV rule that changes the USB device’s ownership to knxd.”.
I am running hassos on my rpi 4 and there this is not possible.
After updating to the latest version of your addon I will also follow this instructions (No UDEV Rules?) and try ttyUSB0 or ttyUSB1 (I hope they are available…).
Is anybody running this add on within hassos directly?