Hi,
I Just started to work with Home Assistant. Setup on my Raspberry worked fine. I Just added mei KNX Interface, also worked.
But then I tried to import my ETS Project and Home assistent says “Upload failed Could not parse XML namespace.”
Can someone help me with that?
Hi !
Which version of HA Core are you using?
What version of ETS was used to create the project file?
Home Assistant
- Core2024.10.1
- Supervisor2024.09.1
- Operating System13.1
- Frontend20241002.2
ETS 4.1.1
AFAIK ETS 4.2 files are supported.
I don’t know the differences between 4.1 and 4.2 project files. If you can’t update your ETS, you could send me the project file and I can see if I can add 4.1 support to the parser.
that sounds great. How can I send you the file?
DM me a share link.
I can’t DM you. Here is the Link:
Removed
hm… awkward, that used to work. Nevertheless, it was an easy fix. Should work in some future version of HA then. Thanks for pointing out and sharing your project file
That worked! Thank You!
Hi @farmio - First of all, thank you for all the work on this great project.
I so far had great success importing a version ETS 4.2.0 (Build 3884) file (namespace/shema 11
). Meanwhile, a more recent version of the knxproj file is in version 5.6.1190.34059 (namespace/shema 14
) and is failing to import/find any group addresses.
Log : Found 0 group addresses, 35 devices and 0 used communication objects
Any suggestions ?
PS: I cannot export the knxproj file myself and don’t have the ESP software.
PS2: Running
- Core: 2025.2.5
- Supervisor: 2025.03.2
- Operating System: 14.2
- Frontend: 20250221.0
- XKNXProject version: 3.8.1
Hi !
Afaic this message only appears if no parsing error occurred. So it seems like there are just no group addresses defined in this project… which would be awkward…
So you could just open the project to verify - which is a bit quirky without ETS
- you’d open the file with an unzip tool
- find a directory with name beginning with
P-
- open
0.xml
there in an editor of choice - search for
<GroupAddress
or<ComObjectInstanceRef
tags there
Sure it’s there. As you say, weired.
0.xml
file sent via DM.
Oh, I don’t need that file. You can just open it in any editor (or browser probably).
To confirm, my 0.xml
file contains:
- 312
<GroupAddress
items - 4553
<ComObjectInstanceRef
items
Hm… then I guess there is some problem with the parser. If you want, you can send me the file (the whole .knxproject file + password if there is one) and I’ll try to have a look.