home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.76k stars 7.18k forks source link

Not enough instructions to set it up #34124

Open tingdahl opened 1 month ago

tingdahl commented 1 month ago

Feedback

I have a few Tapo P110 and P115 devices I wish to connect to home assistant. All plugs are available on the network, and accessible in TP-Link's tapo app.

When I enable the tplink integration it asks for a host. If I leave it empty, it fails do discover the plugs. If I fill in the IP number of one of the plugs, it gives a "failed to connect". I wonder if the documentation could be filled in with some info on what type of host is thought of? Is it a central service that I should run, or a service of tp-link in the cloud? Or the host of the plug? The plugs have port 80 open, and replies a 200 OK.

URL

https://www.home-assistant.io/integrations/tplink/

Version

2024.7.4

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @rytilahti, @bdraco, @sdb9696, mind taking a look at this feedback as it has been labeled with an integration (tplink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tplink` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign tplink` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
palros commented 1 week ago

Just to add to this, i am getting exactly this issue. I even bought a Tapo hub in the hope that that would fix it, but it has not. This is the only device that I have been unable to get connected to my setup.

rytilahti commented 1 week ago

The discovery uses UDP broadcast to detect the devices, so they have to be in the same network (/broadcast domain) as your homeassistant instance. Is that the case?

The host is indeed the host of the device, so inputting the IP address (or hostname) of your device in the field should also work as long as you are not blocking connectivity between the homeassistant host and the device.

For testing, you can also use python-kasa and it's kasa cli tool to verify that the communications are working as expected.