petretiandrea / home-assistant-tapo-p100

A custom integration to control Tapo devices from home assistant.
MIT License
816 stars 101 forks source link

Can't add T31x sensors to the KH100 hub #751

Closed ghervasze closed 2 months ago

ghervasze commented 6 months ago

I am trying to add some temp sensors, that is T310 and T315. Managed to add the hub via the custom HACS integration but no devices (temp and humidity sensors) to it. They are simply not discovered. They do however show in the Tapo app and work fine. I get no errors regarding authentication or anything else. They should work as they are supported per the integration documentation. I appreciate any help. Using the newest version of the integration. Attaching log and some screens.

I am new to all this so if anything is missing, kindly tell me how to get it and I will send it if needed.

home-assistant_2024-04-16T16-02-48.791Z.log

devices hub config integrations

Gruffnco commented 6 months ago

I have a similar problem I have the kh100 hub with 6 radiator valves which worked great in home assistant but since yesterday when the tapo hacs updated I now only get the kh100 device with 3 entities and no rad valves. Please help.

iambenmitchell commented 6 months ago

Yep same problem, all 6 of my KE100 devices have become broken in the new update.

image
Seliaks65 commented 6 months ago

@Gruffnco @iambenmitchell - I found that the recent updates to the HACS Tapo integration killed my T310 temp sensors off and TRVs and made them unavailable. In the end, the only way I found to fix it was to redownload version 3.0.0 using HACs and restart Home Assistant and the sensors and TRVs came back. Not sure what's going on there with the 3.1.x versions. Info on how to redownload older packages is here https://community.home-assistant.io/t/how-do-i-down-grade-a-hacs-loaded-custom-integration/683859

ThiSchmidt commented 6 months ago

Same with me, after updating to V3.1.2 all entities of the KH100 were no longer found. I had registered 4 T110 sensors and 8 KE100 thermostats on KH100. No entity was updated anymore. After deleting the device and adding it again, only 3 entities are still there (firmware, signal level, overheat)

Seliaks65 commented 6 months ago

@ThiSchmidt - looks like you'll have to roll back to v3.0.0 to get those entities back.

ghervasze commented 6 months ago

I think it's safe to say this is a known issue and I expect it will be approached soon. That said, let's see how soon. Myself, I am at the moment waiting for a fix rather than roll back to 3.0.0. Hopefully it will come soon.

Another work around I red on the forums about, is to add the hub via matter. Apparently this method works well. If interested you can google for it. But I feel adding a separate integration for each device (from the same manufacturer) unnecessarily complicates the HA config and makes it harder to troubleshoot.

Strangely enough, I also lost a P100 plug on the way - to the now popular invalid auth error. But even stranger is that it's twin sibling (bought them in a 2 pack) works flawlessly. Obviously same fw, batch and all that. How weird is that?

cmilanf commented 5 months ago

I have the H100 and while initially I faced the same problem as commented here, it was solved when I added

tapo:
  discovery: true

in configuration.yaml file and fully restarted Home Assistant.

Seliaks65 commented 4 months ago

@cmilanf that workaround didn't work for me

laxdog commented 4 months ago

Downgrading worked for me. Thanks.

Link above was broken for instructions, but I found them here

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

iambenmitchell commented 2 months ago

Is this still an issue? downgrading is such a hassle I haven't bothered upgrading to find out

ThiSchmidt commented 2 months ago

Yes, it is still an issue. It is also mentioned in #789 I tried it for myself today again. Installed 3.1.4, restarted HA and only 3 entities in den KH100 hub are still there (firmware, signal level, overheat). I delete the integration totally and reinstalled 3.1.4, config all my Tapo devices new, same again. I downgraded to 3.0.0 and all entities in the KH100 hub are back. But only max 12 devices as mentioned in #650

Seliaks65 commented 2 months ago

After finding the issue was still there in 3.1.4 I've switched to using the TP-Link Smart Home integration now. All is working well - but I had to update some entity names in my automations and on my Home/Overview page.