how/where do I find the Rest API URL of an Apple TV? I would like to set one up as thread border router in Home Assistant via the thread integration. The config UI of thread integration displays automatically all my devices which qualify as border router, but the UI asks for the API URL.
Neither [devicename].local or the IP address work. What is the URL scheme? And where do I find the one of my devices?
Apparently I’m to stupid for finding it on google and this forum. Pls help!
dns-sd -B type domain
browse for instances of service type in domain.
For valid types see http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml. as
described above. Omitting the domain or using "." means "pick a sensible default."
btw. … reason why I’m asking is to set up a preferred thread network. HASS seems to recognize my Apple TBR capable devices and lists them in “other networks”.
I assume this is done via the Homekit integration. Am I right?
However, I do also have TBR capable powerplugs (Eve Energy) that are integrated via Homekit in HASS, too and are listed in HASS devices UI with thread attributes. Why don’t they show up in the list above?
I can see them inside the discovery app UI (the 5 Eve Energy devices):
And I can control them via HASS and also get their energy consumption data into HASS.
Do I even need to set-up a preferred thread network in HASS? Is HASS using thread to connect with those devices or homekit protocol? I though this was built on thread since the most recent homekit updates.
I’m really disappointed there hasn’t been anyone to at least answer you, but no, I do not believe HomeKit will mesh with our HA thread network yet. There are ways to get the credential but you need a paid for developer account to technically access the apple API’s for it. You can get access to the downloadable profile to make details accessible but to get the actual DETAILS like the network key for it you need the entitlement from apple for the ability to actually get the pairing credentials. It’s a security thing partially but also a thing for apple to just get more money out of us (well, maybe) if I had the time to spare I would DEFINITELY do it, but I barely have the time these days to read through documentation AND get new things up and running. I do honestly wish there was more details added in HA Documentation that explain certain things LIKE THIS as well as plainly, not the vague stuff on it I read so they didn’t have to dig around for details related to it. For example it could just plainly give the status of joining home assistant thread border router with each smart home ecosystem. I understand it’s not always possible to make everything so thoroughly detailed but that would save so much time digging or asking the questions in this forum without any clear answers or a lack of anyone with a response. But I do know only google home gives a method so far that I know of for things like this. There may be ways but as of now it is a very very complicated thing to get. Apple won’t let non official HomeKit devices have the thread credentials as far as I know and can tell. So, hopefully things change in iOS 17. I really was surprised apple released thread 1.3 as soon as they did honestly but it made thread and matter finally workable with others smart home so lets hope the future has thread be more open on apples side as well as all smart home ecosystems. It would finally be so much easier and more options for all involved.
Also, HA may not be fully read to mesh with HomeKit but with the way things move with it, we will have something figured out to be possible. I am pretty sure with the amazing people here contributing and doing amazing things it will only be a matter of time. Home Assistant’s developers and contributors are making it so frickin awesome and have that goal in mind, and despite me not succeeding yet and finally just giving up a little until progress on it is farther along, I know someone will make it work. These developers doing work on everything all have it in the goal list, and will get it there. I have to remind myself this is a beta test version still, it doesn’t feel like it is and I forget that part so easily cause it works so well except my eve devices haha. It’s really good work and I appreciate that they do such good work I can’t even remember its in beta.
Those Eve devices are on the Thread Mesh network that is being operated by the Apple Border Routers. As of the nature of thread, those devices can then be reached on the local network via IP, which is how they are connected to Home Assistant into the standard Homekit integration. So: Eve Device <-thread-> Apple Border Router <-WiFi/LAN-> Home Assistant
As for why the devices don’t show up in the Thread integration list? This list only shows border routers.
Yeah, I just got some Nanoleaf Essentials Matter bulbs and kind of feeling dumb trying to add them to Home Assistant. I have several Apple TV 4Ks, HomePods, HomePod minis, which I understand should all act as Thread Border Routers.
But yeah having no luck trying to add them explicitly with “Add an OpenThread border routes”, tried using different variations of great-room-apple-tv.local:49154 for example.
I wasn’t sure if maybe they didn’t need to be explicitly added to the ‘preferred network’ (?), so I tried adding the bulb explicitly with the “Add Matter device” flow in the companion app, but that fails when trying to “connect” to the bulb.
At this point I’m wondering if this is a working configuration at all, and maybe the only immediate solution to get a Home Assistant Yellow?
I tried simply adding Thread devices to HA via HomePod mini using the Matter integration and it worked just fine! No need to add the HomePod mini as a TBR with Rest API. It just remains there under “Other Networks” but it works.
All I had to do is go to the Home Assistant APP on my phone, under devices, add matter device, scan the matter QR code on the device, you wait… and voila! I can see my devices only under the Matter integration only. They do NOT show up under the Thread integration.
Note: The devices I’m using are Nanoleaf Essentials Light Bulbs (Thread - Matter version).