I am running HA in a VM inside TrueNAS. I've put in a PCI USB card which I throughput to the VM to make my Conbee II stick work. And that is working fine for my Zigbee network.
Now I've added a ZBT-2 and followed all steps from https://www.home-assistant.io/integrations/thread/#to-make-home-assistant-your-first-thread-network
I also tried "Set Thread credentials" from inside the Matter Integration, but that just gives an empty "Dataset" field.
Whenever I try to add a device (in this case Ikea Myggbett or Myggspray), it says "This device requires a Thread border router".
The ZBT-2 is recognized in HA and in the OTBR log it says "Role detached -> leader".
I also tried updating the firmware to the Beta version, but that didn't help.
Last thing I tried is asking ChatGPT, but it just made everything worse and kept whining about disabling TREL in OTBR. But there is no option to disable that. And I am not allowed to edit the YAML file.
My TrueNAS is in my main network VLAN and the HA VM is in my IOT VLAN.
I tried with my phone connected to the main network and with my phone connected to the IOT network, but both gave the same error.
Both networks can talk to each other and IPV6 is enabled and have access to the internet (apparantly that is required for adding devices to Matter too).
I also tried it as a Zigbee router instead of the Conbee II and that worked ok. But that's not why I bought it.
Did I forget to do something or is ZBT-2 Matter not supported in a VM?