fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
843 stars 73 forks source link

[Bug!] Cannot install Eufy integration #1043

Closed lancercncs1 closed 6 months ago

lancercncs1 commented 6 months ago

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)

If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.

Describe the bug

A clear and concise description of what the bug is.

I had been able to use the Eufy security integration and view my streams (albeit slowly since I do not use WebRTC). for my outdoor camera. However, the integration entities and camera feed stopped working one day. The HA integration add-on states that it "failed to set up"

Steps to reproduce the behavior:

  1. Go to Settings ---> Devises & Services -->
  2. The Eufy Security add-on fails to set up

Expected behavior

The integration should install and the entities + camera feed should be working. Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Hardware Information;

Logger: homeassistant.config_entries Source: config_entries.py:402 First occurred: 9:42:30 AM (1 occurrences) Last logged: 9:42:30 AM

Error setting up entry localhost for eufy_security Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eufy_security/init.py", line 50, in async_setup_entry await coordinator.initialize() File "/config/custom_components/eufy_security/coordinator.py", line 39, in initialize await self._api.connect() File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 71, in connect await self._set_schema(SCHEMA_VERSION) File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 147, in _set_schema await self._send_message_get_response(OutgoingMessage(OutgoingMessageType.set_api_schema, schema_version=schema_version)) File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 324, in _send_message_get_response return await future ^^^^^^^^^^^^ custom_components.eufy_security.eufy_security_api.exceptions.FailedCommandException: {'type': 'result', 'success': False, 'messageId': 'set_api_schema.b5c06399464343b7a367a4cd69b0f3fb', 'errorCode': 'schema_incompatible'}

Additional context

I think that's everything. I greatly appreciate your help with this issue. Thank you!

fuatakgun commented 6 months ago

Update to add-on latest version

lancercncs1 commented 6 months ago

This was indeed the issue. Thank you very much fuatakgun!