Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.1.2] KE100 no longer recognized, integration crashes #773

Open
jpirnay opened this issue May 27, 2024 · 11 comments
Open

[3.1.2] KE100 no longer recognized, integration crashes #773

jpirnay opened this issue May 27, 2024 · 11 comments

Comments

@jpirnay
Copy link

jpirnay commented May 27, 2024

The smart thermostats (Tapo KE100) are no longer recognized. The integration chokes on unknown responses.

Versions:
Integration 3.1.2
Hub KH100 1.5.10
Thermostat KE100 2.8.0

2024-05-27 05:52:52.007 ERROR (MainThread) [custom_components.tapo.coordinators] Error fetching tapo data: Unexpected exception: 
2024-05-27 06:17:01.173 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
  Invalid method encountered:

    b'\x16\x03\x01'
      ^
2024-05-27 06:17:01.414 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
  Invalid method encountered:

    b'\x16\x03\x01'
      ^
2024-05-27 18:16:43.153 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
  Invalid method encountered:

    b'MGLNDD_188.195.133.144_8123\n'
@jpirnay
Copy link
Author

jpirnay commented May 27, 2024

Update with Hub firmware 1.5.12 it no longer crashes but fully stops recognizing things:

2024-05-27 19:17:34.245 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-27 19:17:34.246 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-27 19:17:34.246 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tapo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-27 19:17:35.321 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-05-27 19:17:44.618 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-05-27 19:19:27.834 INFO (MainThread) [custom_components.tapo.hass_tapo] Found discovered data, avoid to guess protocol
2024-05-27 19:19:32.987 INFO (MainThread) [custom_components.tapo.hass_tapo] Found discovered data, avoid to guess protocol
2024-05-27 19:19:35.939 INFO (MainThread) [custom_components.tapo.hass_tapo] Found discovered data, avoid to guess protocol
2024-05-27 19:19:43.152 INFO (MainThread) [custom_components.tapo.hass_tapo] Found discovered data, avoid to guess protocol
2024-05-27 19:19:56.185 INFO (MainThread) [custom_components.tapo.hass_tapo] Found discovered data, avoid to guess protocol
2024-05-27 19:20:23.263 INFO (MainThread) [custom_components.tapo.hass_tapo] Found discovered data, avoid to guess protocol

Copy link

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

@github-actions github-actions bot added the stale label Jun 26, 2024
@jpirnay
Copy link
Author

jpirnay commented Jun 27, 2024

Unfortunately it is still relevant - the integration has become useless

@github-actions github-actions bot removed the stale label Jun 27, 2024
@whyshouldi21
Copy link

I am also experiencing this issue. KE100 devices are not recognised. My KH100 hub is recognised however the KE100 thermostats which are linked to it are not.

@jpirnay
Copy link
Author

jpirnay commented Jul 21, 2024

Afaics this is still an issue within 3.1.4

Copy link

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

@github-actions github-actions bot added the stale label Aug 20, 2024
@jpirnay
Copy link
Author

jpirnay commented Aug 21, 2024

It's unfortunately still unresolved

@github-actions github-actions bot removed the stale label Aug 21, 2024
@Redgewell
Copy link

just bumping as I have the same problem.

@wehrmannit
Copy link

Issue identified... need to wait until this repository updates the p100 library and updates its requirements. But hey, simple fix :)

Copy link

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

@github-actions github-actions bot added the stale label Oct 21, 2024
@jpirnay
Copy link
Author

jpirnay commented Oct 22, 2024

Still relevant

@github-actions github-actions bot removed the stale label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants