home-assistant / home-assistant.io

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

Not enough instructions to set it up #34124

Open tingdahl opened 3 months ago

tingdahl commented 3 months 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 3 months 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 2 months 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 2 months 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.

MurrayEatonKWX commented 1 month ago

I have the HS103 which HA discovers fine. Problem is when adding I get a "cannot_connect" error and that's it. I assume its an authentication problem but no idea how to resolve it as theres no further interface.

MurrayEatonKWX commented 1 month ago

Here is what it auto discovers Screen Shot 2024-09-17 at 5 13 01 PM

Then I click submit

Screen Shot 2024-09-17 at 11 09 22 AM

and I dont get an option to enter authentication credentials.

rytilahti commented 1 month ago

@MurrayEatonKWX that's a different issue, please report it at https://github.com/home-assistant/core/issues/new/choose