Open goncalorijo opened 1 month ago
Same here! All Tapo plugs stopped working, as well as some TP Link LED’s around the house. Power cycled plugs, and they started working but with a huge delay - ie toggling them, and there’s a 5-10 second delay before they work. Then within half an hour, they stop working again.
Same here! All Tapo plugs stopped working, as well as some TP Link LED’s around the house. Power cycled plugs, and they started working but with a huge delay - ie toggling them, and there’s a 5-10 second delay before they work. Then within half an hour, they stop working again.
Same has happened to me today with my P110's have to power cycle every so often and reload integration for them to show.
same here, is not working for a few hours
Same here, I have P110 plugs. Super inconvenient, since my hot water supply is controlled with HA using two P110 plugs.
What I do not understand is how this issue could suddenly arise, since my plugs did not get any firmware updates, and the REST API is fully local as far as I understand.
Same here for me.. All automations respond differently now because the devices keep going unavailable
Very early conclusion, but what seems to fix it for me is to deny internet access of the P110 plugs in my router. In my case, after a minute or two, 4 out of 4 plugs started responding normally again. I'm currently re-enabling internet access for one of them to check whether the problem re-occurs. Note that I did allow NTP through, such that the plugs can sync the on-board RTC.
Herewith confirmation of my early conclusion: the issue disappears when the P110 is denied internet access except for NTP, then the issue re-appears after allowing internet access, and disappears again immediately after I deny access once more.
Herewith confirmation of my early conclusion: the issue disappears when the P110 is denied internet access except for NTP, then the issue re-appears after allowing internet access, and disappears again immediately after I deny access once more.
I can confirm that this works.
Same problem here with the P115.
Voici la confirmation de ma première conclusion : le problème disparaît lorsque le P110 se voit refuser l'accès à Internet, sauf pour NTP, puis le problème réapparaît après avoir autorisé l'accès à Internet, et disparaît à nouveau immédiatement après avoir refusé l'accès une fois de plus.
Je peux confirmer que cela fonctionne.
Bonjour, j'ai le même problème régulier. Comment procéder au blocage internet des adresses IP de mes P115 et laisser le "NTP" passer?
I still experience this with both my P115 plugs on HA core version 2024.7.3.
This is happening to me as well, EP25 model smart plugs.
If update your home assistant, reboot it and then power cycle the plug, go to the Home Assistant Settings, Devices & Services, TP-Link Smart Home, 3 dot and click Reload, the error should go away.
Same ... started by not seeing any power usage stats, I updated HA, power cycled the plugs, no solution. Removed the plug from HA, then it goes wrong when adding it again :-(
I get "Server response doesn't match our challenge on ip " when trying to authenticate with TPLink again ...
This is what i do to fix this problem.
https://github.com/user-attachments/assets/32062a74-50ce-4674-83f1-420554dc6d51
Same ... started by not seeing any power usage stats, I updated HA, power cycled the plugs, no solution. Removed the plug from HA, then it goes wrong when adding it again :-(
I get "Server response doesn't match our challenge on ip " when trying to authenticate with TPLink again ...
I have the same issues as well.. I could not get past the authentication process. It just gives me a 500 server error.
I fixed the issue by installing the HACS integration https://github.com/petretiandrea/home-assistant-tapo-p100 This one seems to work great and discovered all devices. Never using this integration again..
The problem
A few hours ago the integration stopped working and i'm having this message on the logs. Already reloaded the integration, rebooted Home Assistant and the result is always the same. It happens to all Tapo plugs that i have installed (4).
Any idea what could it be and how can i fix it?
`Logger: homeassistant.config_entries Source: config_entries.py:586 First occurred: 1:54:35 PM (5 occurrences) Last logged: 1:55:20 PM
Error setting up entry Piso 1 Termoacumulador P110 for tplink Error setting up entry Piso 0 Termoacumulador P110 for tplink Error setting up entry Solar Telhado P110 for tplink Error setting up entry Solar Barraco P110 for tplink Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/tplink/init.py", line 165, in async_setup_entry device: Device = await Device.connect(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/device.py", line 233, in connect return await connect(host=host, config=config) # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/device_factory.py", line 71, in connect return await _connect(config, protocol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/device_factory.py", line 110, in _connect await device.update() File "/usr/local/lib/python3.12/site-packages/kasa/smart/smartdevice.py", line 156, in update await self._negotiate() File "/usr/local/lib/python3.12/site-packages/kasa/smart/smartdevice.py", line 132, in _negotiate resp = await self.protocol.query(initial_query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/smartprotocol.py", line 68, in query return await self._query(request, retry_count) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/smartprotocol.py", line 73, in _query return await self._execute_query( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/smartprotocol.py", line 202, in _execute_query return await self._execute_multiple_query(request, retry_count) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/smartprotocol.py", line 145, in _execute_multiple_query response_step = await self._transport.send(smart_request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/klaptransport.py", line 356, in send decrypted_response = self._encryption_session.decrypt(response_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/kasa/klaptransport.py", line 491, in decrypt dp = decryptor.update(msg[32:]) + decryptor.finalize() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 184, in finalize data = self._ctx.finalize() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 223, in finalize raise ValueError( ValueError: The length of the provided data is not a multiple of the block length.`
What version of Home Assistant Core has the issue?
core-2024.7.2
What was the last working version of Home Assistant Core?
core-2024.7.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
TPLink Tapo
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tplink_tapo/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response