eufy_security icon indicating copy to clipboard operation
eufy_security copied to clipboard

HomeBase 3 (S380) not working

Open michaeleberhardt opened this issue 2 years ago • 4 comments

With introduction of Homebase 3 it seems like it is not compatible yet. Log:

2022-10-01 16:01:15.310 INFO Eufy Security server listening on host 0.0.0.0, port 3000 2022-10-01 16:01:25.563 INFO Push notification connection successfully established 2022-10-01 16:01:31.968 ERROR P2PClientProtocol.lookup(): station: T8030P23222xxxxx - All address lookup tentatives failed. 2022-10-01 16:01:31.970 INFO Timeout connecting to station T8030P23222xxxxx 2022-10-01 16:01:51.979 ERROR P2PClientProtocol.lookup(): station: T8030P23222xxxxx - All address lookup tentatives failed. 2022-10-01 16:01:51.980 INFO Timeout connecting to station T8030P23222xxxxx 2022-10-01 16:02:16.990 ERROR P2PClientProtocol.lookup(): station: T8030P23222xxxxx - All address lookup tentatives failed. 2022-10-01 16:02:16.991 INFO Timeout connecting to station T8030P23222xxxxx 2022-10-01 16:02:52.010 ERROR P2PClientProtocol.lookup(): station: T8030P23222xxxxx - All address lookup tentatives failed. 2022-10-01 16:02:52.010 INFO Timeout connecting to station T8030P23222xxxxx 2022-10-01 16:03:37.022 ERROR P2PClientProtocol.lookup(): station: T8030P23222xxxxx - All address lookup tentatives failed. 2022-10-01 16:03:37.022 INFO Timeout connecting to station T8030P23222xxxxx 2022-10-01 16:04:32.063 ERROR P2PClientProtocol.lookup(): station: T8030P23222xxxxx - All address lookup tentatives failed. 2022-10-01 16:04:32.064 INFO Timeout connecting to station T8030P23222xxxxx

Are there plans to support HomeBase 3?

Thanks a lot & best regards, Michael :-)

michaeleberhardt avatar Oct 01 '22 16:10 michaeleberhardt

I'm getting the following errors in the logs:

eufy_security - Exception - process_messages: 19 is not a valid DEVICE_TYPE - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 57, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 68, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 313, in on_message await self.process_get_device_properties_response( File "/config/custom_components/eufy_security/coordinator.py", line 260, in process_get_device_properties_response device.set_properties(properties) File "/config/custom_components/eufy_security/const.py", line 446, in set_properties type = DEVICE_TYPE(self.type_raw) File "/usr/local/lib/python3.10/enum.py", line 385, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in __new__ raise ve_exc ValueError: 19 is not a valid DEVICE_TYPE - message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"get_device_properties","result":{"serialNumber":"T8160XXXXXXXXXXX","properties":{"name":"Backyard","model":"T8160","serialNumber":"T8160XXXXXXXXXXX","type":19,"hardwareVersion":"P1","softwareVersion":"3.1.7.8","stationSerialNumber":"T8030XXXXXXXXXXX"}}}', extra='') eufy_security - Exception - process_messages: 19 is not a valid DEVICE_TYPE - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 57, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 68, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 313, in on_message await self.process_get_device_properties_response( File "/config/custom_components/eufy_security/coordinator.py", line 260, in process_get_device_properties_response device.set_properties(properties) File "/config/custom_components/eufy_security/const.py", line 446, in set_properties type = DEVICE_TYPE(self.type_raw) File "/usr/local/lib/python3.10/enum.py", line 385, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in __new__ raise ve_exc ValueError: 19 is not a valid DEVICE_TYPE - message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"get_device_properties","result":{"serialNumber":"T8160XXXXXXXXXXX","properties":{"name":"Porch","model":"T8160","serialNumber":"T8160XXXXXXXXXXX","type":19,"hardwareVersion":"P1","softwareVersion":"3.1.7.8","stationSerialNumber":"T8030XXXXXXXXXXX"}}}', extra='') eufy_security - Exception - process_messages: 19 is not a valid DEVICE_TYPE - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 57, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 68, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 313, in on_message await self.process_get_device_properties_response( File "/config/custom_components/eufy_security/coordinator.py", line 260, in process_get_device_properties_response device.set_properties(properties) File "/config/custom_components/eufy_security/const.py", line 446, in set_properties type = DEVICE_TYPE(self.type_raw) File "/usr/local/lib/python3.10/enum.py", line 385, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in __new__ raise ve_exc ValueError: 19 is not a valid DEVICE_TYPE - message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"get_device_properties","result":{"serialNumber":"T8160XXXXXXXXXXX","properties":{"name":"Front Door","model":"T8160","serialNumber":"T8160XXXXXXXXXXX","type":19,"hardwareVersion":"P1","softwareVersion":"3.1.7.8","stationSerialNumber":"T8030XXXXXXXXXXX"}}}', extra='') eufy_security - Exception - process_messages: 19 is not a valid DEVICE_TYPE - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 57, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 68, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 313, in on_message await self.process_get_device_properties_response( File "/config/custom_components/eufy_security/coordinator.py", line 260, in process_get_device_properties_response device.set_properties(properties) File "/config/custom_components/eufy_security/const.py", line 446, in set_properties type = DEVICE_TYPE(self.type_raw) File "/usr/local/lib/python3.10/enum.py", line 385, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in __new__ raise ve_exc ValueError: 19 is not a valid DEVICE_TYPE - message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"get_device_properties","result":{"serialNumber":"T8160XXXXXXXXXXX","properties":{"name":"Side Door","model":"T8160","serialNumber":"T8160XXXXXXXXXXX","type":19,"hardwareVersion":"P1","softwareVersion":"3.1.7.8","stationSerialNumber":"T8030XXXXXXXXXXX"}}}', extra='') eufy_security - Exception - process_messages: 18 is not a valid DEVICE_TYPE - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 57, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 68, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 328, in on_message await self.process_get_station_properties_response( File "/config/custom_components/eufy_security/coordinator.py", line 279, in process_get_station_properties_response device.set_properties(properties) File "/config/custom_components/eufy_security/const.py", line 446, in set_properties type = DEVICE_TYPE(self.type_raw) File "/usr/local/lib/python3.10/enum.py", line 385, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in __new__ raise ve_exc ValueError: 18 is not a valid DEVICE_TYPE - message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"get_station_properties","result":{"serialNumber":"T8030XXXXXXXXXXX","properties":{"name":"Home base 3","model":"T8030","serialNumber":"T8030XXXXXXXXXXX","type":18,"hardwareVersion":"V05","softwareVersion":"3.1.0.3","macAddress":"XXXXXXXXXXXX","timeFormat":0,"alarmVolume":26,"alarmTone":1,"notificationStartAlarmDelay":false,"notificationSwitchModeSchedule":false,"notificationSwitchModeGeofence":false,"notificationSwitchModeApp":true,"notificationSwitchModeKeypad":false,"lanIpAddress":"192.168.1.118","guardMode":1}}}', extra='')

I have the new S380 Home Base 3, and 4 new S330 cameras.

Looks like it's being address with #471 Could the maintainer approve it please?

Chahk avatar Oct 05 '22 18:10 Chahk

Don't forget the S300 (3C) too

ajma avatar Oct 13 '22 00:10 ajma

The PR got merged so are we able to create a new release for this?

ajma avatar Oct 14 '22 15:10 ajma

Done.

cdnninja avatar Oct 14 '22 22:10 cdnninja

Those PRs didn't seem like it was enough to get the homebase 3 support. I've updated my plugin and it's still not showing the new homebase.

ajma avatar Oct 20 '22 16:10 ajma

I figured what that I did. I thought the device_type were defined by this project but they're in fact returned by the API, so I made another update to fix this: #491 after this gets merged, can we please create new release for this. It should fix the issue for me and @aszymanik

ajma avatar Oct 23 '22 22:10 ajma

I am going to re-open this until confirmed working. I noticed this on the underlying library: https://github.com/bropat/eufy-security-ws/issues/139

cdnninja avatar Oct 23 '22 22:10 cdnninja

It may not be related though.

cdnninja avatar Oct 23 '22 22:10 cdnninja

I am still experience the same issue:

2022-10-24 12:29:24.993  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2022-10-24 12:29:27.994  INFO  Push notification connection closed 
2022-10-24 12:29:35.361  INFO  Push notification connection successfully established 
2022-10-24 12:29:35.364  INFO  Push notification connection successfully established 
2022-10-24 12:29:50.171  ERROR P2PClientProtocol.lookup(): station: T8030P2322290D06 - All address lookup tentatives failed. 
2022-10-24 12:29:50.175  INFO  Timeout connecting to station T8030P2322290D06 
2022-10-24 12:30:10.185  ERROR P2PClientProtocol.lookup(): station: T8030P2322290D06 - All address lookup tentatives failed. 
2022-10-24 12:30:10.186  INFO  Timeout connecting to station T8030P2322290D06 
2022-10-24 12:30:35.192  ERROR P2PClientProtocol.lookup(): station: T8030P2322290D06 - All address lookup tentatives failed. 
2022-10-24 12:30:35.195  INFO  Timeout connecting to station T8030P2322290D06 

KyleDoherty1 avatar Oct 24 '22 12:10 KyleDoherty1

Same issue, here is my output if useful.

2022-10-24 17:07:13.258 INFO Timeout connecting to station T8122P102135104E 2022-10-24 17:11:34.042 ERROR P2PClientProtocol.lookup(): station: T8030P2322290C13 - All address lookup tentatives failed. 2022-10-24 17:11:34.043 INFO Timeout connecting to station T8030P2322290C13 2022-10-24 17:17:28.459 ERROR P2PClientProtocol.lookup(): station: T8122P102135104E - All address lookup tentatives failed. 2022-10-24 17:17:28.460 INFO Timeout connecting to station T8122P102135104E 2022-10-24 17:21:35.181 ERROR P2PClientProtocol.lookup(): station: T8030P2322290C13 - All address lookup tentatives failed. 2022-10-24 17:21:35.182 INFO Timeout connecting to station T8030P2322290C13 2022-10-24 17:27:43.467 ERROR P2PClientProtocol.lookup(): station: T8122P102135104E - All address lookup tentatives failed. 2022-10-24 17:27:43.467 INFO Timeout connecting to station T8122P102135104E 2022-10-24 17:31:36.040 ERROR P2PClientProtocol.lookup(): station: T8030P2322290C13 - All address lookup tentatives failed. 2022-10-24 17:31:36.041 INFO Timeout connecting to station T8030P2322290C13 2022-10-24 17:37:58.475 ERROR P2PClientProtocol.lookup(): station: T8122P102135104E - All address lookup tentatives failed. 2022-10-24 17:37:58.475 INFO Timeout connecting to station T8122P102135104E 2022-10-24 17:41:37.038 ERROR P2PClientProtocol.lookup(): station: T8030P2322290C13 - All address lookup tentatives failed.

hotmachina avatar Oct 24 '22 19:10 hotmachina

Also have this later in the log:

NotSupportedError This functionality is not implemented or supported by T8160P2122320971 error stack: • station.ts:2917 startLivestream node_modules/eufy-security-client/src/http/station.ts:2917:19 • message_handler.ts:124 handle src/lib/device/message_handler.ts:124:39 • task_queues:96 processTicksAndRejections node:internal/process/task_queues:96:5 • server.ts:103 receiveMessage src/lib/server.ts:103:21

hotmachina avatar Oct 24 '22 19:10 hotmachina

@cdnninja any update? I can help with the coding if needs be just need to get up to speed with how HA and these addons using npm packages.

KyleDoherty1 avatar Oct 26 '22 15:10 KyleDoherty1

@cdnninja any update? I can help with the coding if needs be just need to get up to speed with how HA and these addons using npm packages.

I think this is a parent integration issue as linked above but don't know the code well enough to know for sure. @fuatakgun would know.

cdnninja avatar Oct 26 '22 15:10 cdnninja

@cdnninja @fuatakgun any update on this one?

KyleDoherty1 avatar Dec 13 '22 12:12 KyleDoherty1

Did you check with latest integration version?

fuatakgun avatar Dec 13 '22 14:12 fuatakgun

@fuatakgun yeah few things still not working like:

  • https://github.com/fuatakgun/eufy_security/issues/536
  • https://github.com/fuatakgun/eufy_security/issues/495

Has there been updates to address the above that I have missed?

KyleDoherty1 avatar Dec 13 '22 14:12 KyleDoherty1

if you are having issues inside add-on even in 1.3.0, please raise an issue on eufy-security-ws repository

fuatakgun avatar Dec 27 '22 21:12 fuatakgun