Closed codyc1515 closed 1 year ago
Logger: homeassistant.components.stream.stream.camera.back_yard_floodlight
Source: components/stream/__init__.py:431
Integration: Stream (documentation, issues)
First occurred: 14:46:22 (16 occurrences)
Last logged: 15:23:34
Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://localhost:4558/T8423XXXXX7
Error from stream worker: Stream ended; no additional packets
Error from stream worker: Error opening stream (HTTP_BAD_REQUEST, Server returned 400 Bad Request) rtsp://localhost:4558/T8423XXXXX7
Logger: homeassistant.components.camera
Source: components/camera/__init__.py:846
Integration: Camera (documentation, issues)
First occurred: 14:46:14 (1 occurrences)
Last logged: 14:46:14
Error requesting stream: camera.back_yard_floodlight does not support play stream service
RTSP Simple Server Logs
2023/10/20 02:16:35 I [-2/0] [RTSP] [conn 172.30.32.1:53440] opened
2023/10/20 02:16:35 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:16:35 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:16:45 I [-2/0] [RTSP] [conn 172.30.32.1:48222] opened
2023/10/20 02:16:45 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:16:45 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:16:45 I [-2/0] [RTSP] [conn 172.30.32.1:53440] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:16:45 I [-2/0] [RTSP] [conn 172.30.32.1:53440] closed
2023/10/20 02:16:45 I [-2/0] [RTSP] [conn 172.30.32.1:48222] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:16:45 I [-2/0] [RTSP] [conn 172.30.32.1:48222] closed
2023/10/20 02:16:55 I [-2/0] [RTSP] [conn 172.30.32.1:50882] opened
2023/10/20 02:16:55 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:16:55 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:17:05 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:17:05 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:17:05 I [-2/0] [RTSP] [conn 172.30.32.1:50882] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:17:05 I [-2/0] [RTSP] [conn 172.30.32.1:50882] closed
2023/10/20 02:17:05 I [-2/0] [RTSP] [conn 172.30.32.1:37670] opened
2023/10/20 02:17:05 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:17:05 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:17:15 I [-2/0] [RTSP] [conn 172.30.32.1:60196] opened
2023/10/20 02:17:15 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:17:15 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:17:15 I [-2/0] [RTSP] [conn 172.30.32.1:37670] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:17:15 I [-2/0] [RTSP] [conn 172.30.32.1:37670] closed
2023/10/20 02:17:15 I [-2/0] [RTSP] [conn 172.30.32.1:60196] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:17:15 I [-2/0] [RTSP] [conn 172.30.32.1:60196] closed
2023/10/20 02:17:25 I [-2/0] [RTSP] [conn 172.30.32.1:38578] opened
2023/10/20 02:17:25 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:17:25 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:17:35 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:17:35 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:17:35 I [-2/0] [RTSP] [conn 172.30.32.1:38578] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:17:35 I [-2/0] [RTSP] [conn 172.30.32.1:38578] closed
2023/10/20 02:17:44 I [-2/0] [RTSP] [conn 172.30.32.1:53012] opened
2023/10/20 02:17:44 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:17:44 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:17:54 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:17:54 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:17:54 I [-2/0] [RTSP] [conn 172.30.32.1:53012] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:17:54 I [-2/0] [RTSP] [conn 172.30.32.1:53012] closed
2023/10/20 02:19:29 I [-2/0] [RTSP] [conn 172.30.32.1:37042] opened
2023/10/20 02:19:29 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:19:29 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:19:39 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:19:39 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:19:39 I [-2/0] [RTSP] [conn 172.30.32.1:37042] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:19:39 I [-2/0] [RTSP] [conn 172.30.32.1:37042] closed
2023/10/20 02:21:24 I [-2/0] [RTSP] [conn 172.30.32.1:51792] opened
2023/10/20 02:21:24 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:21:24 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:21:34 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:21:34 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:21:34 I [-2/0] [RTSP] [conn 172.30.32.1:51792] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:21:34 I [-2/0] [RTSP] [conn 172.30.32.1:51792] closed
2023/10/20 02:23:29 I [-2/0] [RTSP] [conn 172.30.32.1:46658] opened
2023/10/20 02:23:29 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:23:29 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:23:39 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:23:39 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:23:39 I [-2/0] [RTSP] [conn 172.30.32.1:46658] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:23:39 I [-2/0] [RTSP] [conn 172.30.32.1:46658] closed
2023/10/20 02:23:46 I [-2/0] [RTSP] [conn 172.30.32.1:57778] opened
2023/10/20 02:23:46 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:23:46 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:23:56 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:23:56 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:23:56 I [-2/0] [RTSP] [conn 172.30.32.1:57778] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:23:56 I [-2/0] [RTSP] [conn 172.30.32.1:57778] closed
2023/10/20 02:24:35 I [-2/0] [RTSP] [conn 172.30.32.1:33534] opened
2023/10/20 02:24:35 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:24:35 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:24:45 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:24:45 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:24:45 I [-2/0] [RTSP] [conn 172.30.32.1:33534] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:24:45 I [-2/0] [RTSP] [conn 172.30.32.1:33534] closed
2023/10/20 02:25:44 I [-2/0] [RTSP] [conn 172.30.32.1:44166] opened
2023/10/20 02:25:44 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:25:44 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:25:47 I [-2/0] [RTSP] [conn 172.30.32.1:44168] opened
2023/10/20 02:25:54 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:25:54 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:25:54 I [-2/0] [RTSP] [conn 172.30.32.1:44168] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:25:54 I [-2/0] [RTSP] [conn 172.30.32.1:44168] closed
2023/10/20 02:25:54 I [-2/0] [RTSP] [conn 172.30.32.1:44166] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:25:54 I [-2/0] [RTSP] [conn 172.30.32.1:44166] closed
2023/10/20 02:28:09 I [-2/0] [RTSP] [conn 172.30.32.1:40072] opened
2023/10/20 02:28:09 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:28:09 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:28:19 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:28:19 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:28:19 I [-2/0] [RTSP] [conn 172.30.32.1:40072] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:28:19 I [-2/0] [RTSP] [conn 172.30.32.1:40072] closed
2023/10/20 02:30:44 I [-2/0] [RTSP] [conn 172.30.32.1:46552] opened
2023/10/20 02:30:44 I [-2/0] [path T8423XXXXX7] created
2023/10/20 02:30:44 I [-2/0] [path T8423XXXXX7] runOnDemand command started
2023/10/20 02:30:54 I [-2/0] [path T8423XXXXX7] runOnDemand command stopped
2023/10/20 02:30:54 I [-2/0] [path T8423XXXXX7] destroyed
2023/10/20 02:30:54 I [-2/0] [RTSP] [conn 172.30.32.1:46552] ERR: source of path 'T8423XXXXX7' has timed out
2023/10/20 02:30:54 I [-2/0] [RTSP] [conn 172.30.32.1:46552] closed
Will you post home assistant logs as it is described in the bug template?
I’ve posted every log (including those from Home Assistant).
No you just posted the error logs, i need debug logs.
please use the proper bug template and share all the information asked over it.
bug template provides the method to get debug logs from home assistant.
my gut feeling: with latest version, I have introduced a clean up method if integration is reloaded (forcefully because of connection issues or manually by the user) and I might have missed a point to do a proper clean up and previous instance of loaded integration might be still looking for regular updates.
having proper logs would enable me to understand this, on the other hand, it might be hard to come up with similar issue, let's see.
`Logger: homeassistant.components.camera Source: components/camera/init.py:846 Integration: Camera (documentation, issues) First occurred: 10:26:44 (2 occurrences) Last logged: 10:27:45
Error requesting stream: camera.back_yard_floodlight does not support play stream service`
`Logger: homeassistant.components.homekit.type_cameras Source: components/homekit/type_cameras.py:348 Integration: HomeKit Bridge (documentation, issues) First occurred: 09:34:08 (13 occurrences) Last logged: 10:32:43
Camera has no stream source`
`Logger: pyhap.camera Source: runner.py:186 First occurred: 09:34:08 (26 occurrences) Last logged: 10:33:13
Requested to stop stream for session bc5e1c6e-9f3c-42a1-8b8c-b79b3aff50fc, but no such session was found [09b7ae92-273e-4dab-a35c-081630f71e6e] Failed to start/reconfigure stream, deleting session. Requested to stop stream for session 09b7ae92-273e-4dab-a35c-081630f71e6e, but no such session was found [fd2de0b9-8944-4362-891d-20672faee199] Failed to start/reconfigure stream, deleting session. Requested to stop stream for session fd2de0b9-8944-4362-891d-20672faee199, but no such session was found `
`This error originated from a custom integration.
Logger: custom_components.eufy_security.eufy_security_api Source: custom_components/eufy_security/eufy_security_api/p2p_stream_handler.py:107 Integration: Eufy Security (documentation, issues) First occurred: 10:33:47 (1 occurrences) Last logged: 10:33:47
Exception [Errno 104] Connection reset by peer - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/p2p_stream_handler.py", line 103, in setup client_socket.sendall(bytearray(self.camera.video_queue.get())) ConnectionResetError: [Errno 104] Connection reset by peer`
`Logger: homeassistant.components.homekit.type_cameras Source: components/homekit/type_cameras.py:474 Integration: HomeKit Bridge (documentation, issues) First occurred: 10:37:03 (1 occurrences) Last logged: 10:37:03
[3ad9ede2-5929-4264-9487-1c2ccbf0d966] Failed to close stream Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/homekit/type_cameras.py", line 474, in stop_stream await getattr(stream, shutdown_method)() File "/usr/local/lib/python3.11/site-packages/haffmpeg/core.py", line 159, in close await self._loop.run_in_executor(None, _close) File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/haffmpeg/core.py", line 154, in _close self._proc.stdin.write(b"q") BrokenPipeError: [Errno 32] Broken pipe `
`Logger: homeassistant.components.homekit.type_cameras Source: components/homekit/type_cameras.py:474 Integration: HomeKit Bridge (documentation, issues) First occurred: 10:37:03 (1 occurrences) Last logged: 10:37:03
[3ad9ede2-5929-4264-9487-1c2ccbf0d966] Failed to kill stream Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/homekit/type_cameras.py", line 474, in stop_stream await getattr(stream, shutdown_method)() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/haffmpeg/core.py", line 171, in kill self._proc.kill() ^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'kill' `
May be duplicate of #753. I am capturing the debug logs now.
I think this is the debug log, with configuration.yaml debug setting applied. home-assistant_eufy_security_2023-10-22T21-52-03.444Z.log
I get similar errors mentioning "poll_refresh". If helpful, I will also record the debug log.
More examples will help, so I recommend you to do it.
HA Core Logs says:
Logger: custom_components.eufy_security Source: custom_components/eufy_security/coordinator.py:86 Integration: Eufy Security (documentation, issues) First occurred: 22. Oktober 2023 um 21:49:20 (237 occurrences) Last logged: 10:51:06
Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data return await self.update_method() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local await self._api.poll_refresh() ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'poll_refresh'
FURTHERMORE:
Logger: homeassistant.components.stream.stream.camera.vordertur Source: components/stream/init.py:434 Integration: Stream (documentation, issues) First occurred: 08:47:23 (2 occurrences) Last logged: 10:45:09
Error from stream worker: Stream ended; no additional packets Error from stream worker: Error opening stream (HTTP_UNAUTHORIZED, Server returned 401 Unauthorized (authorization failed)) rtsp://:@192.168.107.144/live0
FURTHERMORE:
Logger: homeassistant.components.stream.stream.camera.terrasse Source: components/stream/init.py:434 Integration: Stream (documentation, issues) First occurred: 10:43:17 (1 occurrences) Last logged: 10:43:17
Error from stream worker: Error opening stream (HTTP_UNAUTHORIZED, Server returned 401 Unauthorized (authorization failed)) rtsp://:@192.168.107.144/live1
Debug log attached:
home-assistant_eufy_security_2023-10-23T08-45-35.722Z.log
version | core-2023.9.3 installation_type | Home Assistant OS Eufy Security Add-on Version: 1.6.4 Eufy Security Integration Version: 7.7.1
Camera Model: 2C PRO Homebase: S380 Live Streaming Protocol (RTSP/P2P): RTSP
As mentioned in another thread before, each stream can be started once, so setup in general seams to be ok.
HA Core Logs for T8441 says: This error originated from a custom integration.
Logger: custom_components.eufy_security Source: helpers/update_coordinator.py:290 Integration: Eufy Security (documentation, issues) First occurred: October 25, 2023 at 14:25:06 (1545 occurrences) Last logged: 16:09:14
Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh' Traceback (most recent call last): File "/srv/homeassistant3.11/lib/python3.11/site-packages/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/homeassistant3.11/lib/python3.11/site-packages/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data return await self.update_method() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/homeassistant/.homeassistant/custom_components/eufy_security/coordinator.py", line 86, in _update_local await self._api.poll_refresh() ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'poll_refresh'
Logs for T8410 says:
2023-10-26 16:10:37.130 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - driver - EventSourceType.driver - driver.poll_refresh - {} - {}
2023-10-26 16:10:37.131 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.93eae7c74c174c0984cb2b636db8ecb7'}
2023-10-26 16:10:37.132 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.93eae7c74c174c0984cb2b636db8ecb7'}
2023-10-26 16:10:37.526 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'station', 'event': 'property changed', 'serialNumber': 'T8410P41222424BD', 'name': 'sdCapacityAvailable', 'value': 1013}}
2023-10-26 16:10:37.919 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'driver.poll_refresh.93eae7c74c174c0984cb2b636db8ecb7', 'result': {}}
2023-10-26 16:10:37.920 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.790 seconds (success: True)
Both entries every minute Please let me know if you need more information
@rogerthn2019 , I do not see anything on the logs about error, you might have trimmed it.
@marcokitzmann , your issue is irrelevant, please enable basic authentication for your RTSP stream on eufy app
@codyc1515 , I do not see error from eufy_security in your debug logs, there are similar errors from homekit
I still do not have proper logs showing the error you are mentioning
@rogerthn2019 , I do not see anything on the logs about error, you might have trimmed it.
The log for my T8410 do not have any error while T8441 do have
Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
I know not among supported devices but it's working besides the error.
did you post these logs you are mentioning here?
did you post these logs you are mentioning here?
My post from Oct 26 starts with
HA Core Logs for T8441 says:
This error originated from a custom integration.
Logger: custom_components.eufy_security
Source: helpers/update_coordinator.py:290
Integration: Eufy Security (documentation, issues)
First occurred: October 25, 2023 at 14:25:06 (1545 occurrences)
Last logged: 16:09:14
Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
there are not debug logs, they are error logs,
think about this, please in a logical way. you are telling me that you are having an issue about something and as a technician, I am asking you to share more information about the issue.
You are sharing over and over the same thing, which just validates what you are claiming but adding nothing to the investigation.
What do you expect from me now?
Error logs are the final place that the issue was captured. debug logs are telling the story how the issue is happening.
If you or OP had followed the bug template, it would be seen that I am asking them explicitly for each bug.
Sorry and I mean it! I did enable custom_components.eufy_security: debug right now and nothing related to my T8410 can be seen. Strange but sort of OK.
@codyc1515 please help the community and share your knowledge, contribute it back. Moreover, please share other solutions, this is not a place to suppress this kind of important information.
@marcokitzmann , your issue is irrelevant, please enable basic authentication for your RTSP stream on eufy app
Your hint is irrelevant, doesn't make a difference.
I am having a hard time to understand the ask here.
We have basic rule of engagement, if you are facing an issue, you are expected to share debug logs so i can read the story behind it and fix it.
Initial post is created without debug logs even though i put the disclaimer on the bug template that i would resolve it automatically without debug logs
I asked for debug logs as it looks like a genuine problem and some of you shared it but these logs do not include corresponding issue you are facing, so you need to run further until you reach a point you have these recorded in the logs
Some of you didn't like me asking me for logs, threatening me to create a fork and fix the issue there or use some other solution. This is great, please do it, this is my free time activity and i do not have to help any of you, but just doing it as I enjoy fixing it.
Some of you didn't like my guidance on what might be the issue and firing back on my response.
So, what do you want from me? How do you expect me to help you to fix the aforementioned problem?
Thank you all, please enjoy whatever you have and whatever i can come up and follow the rules.
Sorry, if it came across as threatening - it was not the intention. We are all here to support each other using these devices. While these issues are frustrating, for sure, the logs provided didn't evidence any of the issues we have been experiencing.
That said, I see that @bropat has released new versions of eufy-security-ws and eufy-security-client which may be worth trying? There is specific mention of fixing some P2P decryption response issues which are along the lines of the description of this issue.
I am happy to test this if you would make a beta release.
Please get the latest version of bropat's add-on but just looking at the error, it is definitely an issue on the integration side (my ownership). So fixes on add-on side would not eliminate this issue.
I have some hypotheses around the issue (improper handling of unused objects) but without exact debug logs I don't have a solution. And sadly i am not facing this issue to get the logs myself.
I'm not seeing this error anymore and able to get 8+ minute streams with the latest add-on and integration versions. Getting some other warnings but these appear to be unrelated to this.
Later saw around ten different errors.
@fuatakgun Does this DEBUG log maybe help you further in your investigation of this 'poll_refresh' issue?
2023-11-07 18:53:32.417 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.005 seconds (success: False)
2023-11-07 18:55:02.412 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': True}}
2023-11-07 18:55:02.413 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 18:55:02.420 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': True}}
2023-11-07 18:55:06.143 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'picture', 'value': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 0, 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40, 26, 24, 22, 22, 24, 49, 35, 37, 29, 40, 58, 51, 61, 60, 57, 51, 56, 55, 64, 72, 92, 78, 64, 68, 87, 69, 55, 56, 80, 109, 81, 87, 95, 98, 103, 104, 103, 62, 77, 113, 121, 112, 100, 120, 92, 101, 103, 99, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 1, 17, 18, 18, 24, 21, 24, 47, 26, 26, 47, 99, 66, 56, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 255, 192, 0, 17, 8, 2, 208, 3, 192, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 3, 0, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 6, 0, 0, 0, 0, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 224, 104, 162, 138, 0, 41, 105, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 90, 40, 1, 41, 104, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 164, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 41, 104, 1, 40, 165, 164, 160, 2, 138, 40, 160, 5, 164, 162, 138, 0, 40, 162, 138, 0, 40, 165, 164, 160, 2, 138, 40, 160, 5, 162, 138, 74, 0, 90, 40, 162, 128, 10, 40, 162, 128, 10, 41, 41, 104, 0, 162, 138, 40, 0, 162, 138, 40, 1, 41, 104, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 22, 138, 74, 90, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 41, 41, 105, 40, 0, 162, 138, 40, 0, 162, 150, 146, 128, 28, 172, 85, 178, 58, 215, 73, 163, 234, 2, 88, 196, 82, 31, 152, 116, 174, 102, 166, 183, 152, 195, 42, 184, 236, 104, 3, 182, 205, 33, 53, 90, 202, 233, 110, 98, 12, 15, 61, 197, 88, 52, 0, 211, 77, 52, 227, 76, 52, 0, 211, 76, 52, 243, 76, 52, 0, 211, 76, 52, 227, 77, 52, 0, 211, 76, 52, 227, 77, 52, 0, 195, 79, 179, 148, 197, 54, 1, 198, 14, 69, 48, 212, 78, 74, 178, 176, 237, 64, 29, 141, 188, 166, 88, 131, 1, 82, 97, 179, 84, 52, 105, 247, 197, 176, 158, 156, 138, 212, 197, 0, 53, 80, 48, 42, 220, 228, 84, 176, 18, 83, 105, 234, 188, 83, 64, 193, 205, 46, 66, 78, 15, 103, 254, 116, 1, 56, 21, 90, 250, 29, 201, 184, 14, 69, 92, 2, 157, 229, 239, 66, 13, 0, 115, 82, 38, 42, 9, 23, 34, 180, 174, 161, 216, 228, 98, 169, 58, 208, 4, 218, 92, 185, 6, 34, 121, 94, 149, 168, 87, 112, 172, 20, 99, 12, 202, 227, 177, 230, 183, 162, 33, 212, 17, 208, 244, 160, 12, 109, 66, 15, 42, 109, 234, 62, 87, 235, 245, 170, 82, 166, 87, 35, 168, 174, 134, 242, 223, 206, 129, 144, 117, 237, 88, 96, 117, 7, 183, 20, 1, 167, 163, 92, 249, 176, 249, 76, 126, 101, 167, 106, 118, 249, 30, 96, 31, 90, 202, 181, 148, 218, 221, 134, 236, 79, 53, 210, 21, 89, 225, 245, 12, 40, 3, 145, 184, 143, 107, 103, 181, 66, 69, 106, 94, 64, 85, 153, 72, 228, 86, 105, 24, 52, 1, 30, 41, 49, 79, 197, 24, 160,
2023-11-07 18:55:06.144 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - picture
2023-11-07 18:55:12.414 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': False}}
2023-11-07 18:55:12.415 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 18:55:12.424 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': False}}
2023-11-07 19:01:07.662 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - driver - EventSourceType.driver - driver.poll_refresh - {} - {}
2023-11-07 19:01:07.662 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.408d5cddbb564d1d9e3ae1afd62853d8'}
2023-11-07 19:01:07.662 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.408d5cddbb564d1d9e3ae1afd62853d8'}
2023-11-07 19:01:08.346 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'driver.poll_refresh.408d5cddbb564d1d9e3ae1afd62853d8', 'result': {}}
2023-11-07 19:01:08.346 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.685 seconds (success: True)
2023-11-07 19:01:56.743 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:01:56.750 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.007 seconds (success: False)
2023-11-07 19:03:32.412 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:03:32.418 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.006 seconds (success: False)
2023-11-07 19:07:17.362 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'driver', 'event': 'push disconnected'}}
2023-11-07 19:07:17.366 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'driver', 'event': 'disconnected'}}
2023-11-07 19:07:17.373 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'server', 'event': 'shutdown'}}
2023-11-07 19:07:17.374 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] websocket client _on_close False
2023-11-07 19:07:17.374 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] on_close - executed - <Task finished name='Task-47241' coro=<WebSocketClient._process_messages() done, defined at /config/custom_components/eufy_security/eufy_security_api/web_socket_client.py:62> result=None> = None
2023-11-07 19:07:22.378 DEBUG (MainThread) [custom_components.eufy_security] async_unload_entry 1
2023-11-07 19:07:22.397 DEBUG (MainThread) [custom_components.eufy_security] async_unload_entry 2
2023-11-07 19:07:58.085 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] on_open - executed
2023-11-07 19:07:58.086 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - server - EventSourceType.server - set_api_schema - {'schema_version': 19} - {'schemaVersion': 19}
2023-11-07 19:07:58.086 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'schemaVersion': 19, 'command': 'set_api_schema', 'messageId': 'set_api_schema.0a444e054a374d60bfa67f287e519637'}
2023-11-07 19:07:58.086 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'schemaVersion': 19, 'command': 'set_api_schema', 'messageId': 'set_api_schema.0a444e054a374d60bfa67f287e519637'}
2023-11-07 19:07:58.095 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'version', 'driverVersion': '2.9.1', 'serverVersion': '1.7.1', 'minSchemaVersion': 0, 'maxSchemaVersion': 20}
2023-11-07 19:07:58.101 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'set_api_schema.0a444e054a374d60bfa67f287e519637', 'result': {}}
2023-11-07 19:07:58.102 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_products 1
2023-11-07 19:07:58.102 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - server - EventSourceType.server - start_listening - {} - {}
2023-11-07 19:07:58.102 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'command': 'start_listening', 'messageId': 'start_listening.7efa9c46061b471f840f339344bb4a8c'}
2023-11-07 19:07:58.103 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'command': 'start_listening', 'messageId': 'start_listening.7efa9c46061b471f840f339344bb4a8c'}
2023-11-07 19:07:58.114 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'start_listening.7efa9c46061b471f840f339344bb4a8c', 'result': {'state': {'driver': {'version': '2.9.1', 'connected': True, 'pushConnected': True, 'mqttConnected': False}, 'stations': ['T8030P2322450026'], 'devices': ['T8210P6422351A63']}}}
2023-11-07 19:07:58.114 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_products 2
2023-11-07 19:07:58.114 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.get_properties - {'domain': 'device', 'serial_no': 'T8210P6422351A63'} - {'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:07:58.114 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_properties', 'messageId': 'device.get_properties.9881844fdbd84947af8b09a97287b5ac'}
2023-11-07 19:07:58.114 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_properties', 'messageId': 'device.get_properties.9881844fdbd84947af8b09a97287b5ac'}
2023-11-07 19:07:58.173 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_properties.9881844fdbd84947af8b09a97287b5ac', 'result': {'serialNumber': 'T8210P6422351A63', 'properties': {'name': 'Deurbel', 'model': 'T8210', 'serialNumber': 'T8210P6422351A63', 'hardwareVersion': 'T8210', 'softwareVersion': '5.7.5', 'type': 7, 'stationSerialNumber': 'T8030P2322450026', 'battery': 86, 'batteryTemperature': 11, 'wifiRssi': -46, 'wifiSignalLevel': 4, 'enabled': True, 'autoNightvision': True, 'statusLed': True, 'motionDetection': True, 'motionDetectionSensitivity': 5, 'motionDetectionTypeHuman': True, 'motionDetectionTypeHumanRecognition': True, 'motionDetectionTypePet': True, 'motionDetectionTypeVehicle': True, 'motionDetectionTypeAllOtherMotions': True, 'motionDetected': False, 'personDetected': False, 'personName': '', 'watermark': 1, 'state': 1, 'petDetected': False, 'soundDetected': False, 'cryingDetected': False, 'ringing': False, 'speakerVolume': 100, 'ringtoneVolume': 100, 'audioRecording': True, 'powerWorkingMode': 1, 'chargingStatus': 3, 'recordingEndClipMotionStops': True, 'recordingClipLength': 60, 'recordingRetriggerInterval': 5, 'videoStreamingQuality': 1, 'videoWdr': False, 'chimeIndoor': True, 'chimeHomebase': False, 'chimeHomebaseRingtoneVolume': 12, 'chimeHomebaseRingtoneType': 0, 'notificationType': 2, 'notificationRing': True, 'notificationMotion': True, 'snooze': False, 'snoozeTime': 0, 'identityPersonDetected': False, 'strangerPersonDetected': False, 'vehicleDetected': False, 'dogDetected': False, 'dogLickDetected': False, 'dogPoopDetected': False, 'detectionStatisticsWorkingDays': 37, 'detectionStatisticsDetectedEvents': 3617, 'detectionStatisticsRecordedEvents': 1457, 'snoozeStartTime': 0, 'snoozeHomebase': False, 'snoozeMotion': False, 'snoozeChime': False, 'picture': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 0, 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40, 26, 24, 22, 22, 24, 49, 35, 37, 29, 40, 58, 51, 61, 60, 57, 51, 56, 55, 64, 72, 92, 78, 64, 68, 87, 69, 55, 56, 80, 109, 81, 87, 95, 98, 103, 104, 103, 62, 77, 113, 121, 112, 100, 120, 92, 101, 103, 99, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 1, 17, 18, 18, 24, 21, 24, 47, 26, 26, 47, 99, 66, 56, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 255, 192, 0, 17, 8, 2, 208, 3, 192, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 3, 0, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 6, 0, 0, 0, 0, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 224, 168, 162, 138, 0, 40, 162, 138, 0, 74, 40, 162, 128, 22, 138, 40, 160, 2, 138, 74, 90, 0, 41, 41, 104, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 16
2023-11-07 19:07:58.174 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.get_properties_metadata - {'domain': 'device', 'serial_no': 'T8210P6422351A63'} - {'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:07:58.174 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_properties_metadata', 'messageId': 'device.get_properties_metadata.c9d593e1d5804bb49cd9ae0d2d80cfd9'}
2023-11-07 19:07:58.174 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_properties_metadata', 'messageId': 'device.get_properties_metadata.c9d593e1d5804bb49cd9ae0d2d80cfd9'}
2023-11-07 19:07:58.184 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_properties_metadata.c9d593e1d5804bb49cd9ae0d2d80cfd9', 'result': {'serialNumber': 'T8210P6422351A63', 'properties': {'name': {'key': 'device_name', 'name': 'name', 'label': 'Name', 'readable': True, 'writeable': False, 'type': 'string'}, 'model': {'key': 'device_model', 'name': 'model', 'label': 'Model', 'readable': True, 'writeable': False, 'type': 'string'}, 'serialNumber': {'key': 'device_sn', 'name': 'serialNumber', 'label': 'Serial number', 'readable': True, 'writeable': False, 'type': 'string'}, 'type': {'key': 'device_type', 'name': 'type', 'label': 'Type', 'readable': True, 'writeable': False, 'type': 'number', 'states': {'0': 'Station', '1': 'Camera', '2': 'Sensor (T8900)', '3': 'Floodlight', '4': 'Camera E', '5': 'Doorbell', '7': 'Battery Doorbell', '8': 'Camera 2', '9': 'eufyCam S210 (eufyCam 2C)', '10': 'Motion Sensor (T8910)', '11': 'Keypad', '14': 'eufyCam S221 (eufyCam 2 Pro)', '15': 'eufyCam S220 (eufyCam 2C Pro)', '16': 'Battery Doorbell 2', '18': 'HomeBase S380 (HomeBase 3; T8030)', '19': 'eufyCam S330 (eufyCam 3)', '23': 'eufyCam S300 (eufyCam 3C)', '30': 'Indoor Camera', '31': 'Indoor Camera PT', '32': 'Solo Camera', '33': 'Solo Camera Pro', '34': 'Indoor Camera 1080', '35': 'Indoor Camera PT 1080', '37': 'Floodlight 8422', '38': 'Floodlight 8423', '39': 'Floodlight 2', '44': 'Outdoor Camera 1080P No Light', '45': 'Outdoor Camera 2k', '46': 'Outdoor Camera 1080P', '50': 'Lock Basic', '51': 'Lock Advanced', '52': 'Lock Basic No Finger', '53': 'Lock Basic Advanced No Finger', '54': 'Retrofit Smart Lock E110 (T8503)', '55': 'Video Smart Lock S330 (T8530)', '56': 'Lock 85A3', '57': 'Lock 8592', '58': 'Retrofit Smart Lock E130 (T8504)', '60': 'Solo Camera Spotlight 1080p', '61': 'Solo Camera Spotlight 2k', '62': 'Solo Camera Spotlight Solar', '90': 'Smart Drop S300 (T8790)', '91': 'Video Doorbell Dual', '93': 'Video Doorbell Dual (Wired)', '100': 'Indoor Cost Down Camera', '101': 'Camera Gun', '102': 'Camera Snail', '110': 'Starlight 4G LTE', '131': 'Camera Garage T8453 Common', '132': 'Garage-Control Cam E110 (T8452)', '133': 'Garage-Control Cam E120 (T8453)', '140': 'Smart Safe S10 (T7400)', '141': 'Smart Safe S12 (T7401)', '142': 'Smart Safe T7402', '143': 'Smart Safe T7403', '151': 'Wired Wall Light Cam S100 (T84A1)', '157': 'SmartTrack Link (T87B0)', '159': 'SmartTrack Card (T87B2)', '180': 'Lock T8502 / T8506', '10005': 'Solar Wall Light Cam S120 (T81A0)'}}, 'hardwareVersion': {'key': 'main_hw_version', 'name': 'hardwareVersion', 'label': 'Hardware version', 'readable': True, 'writeable': False, 'type': 'string'}, 'softwareVersion': {'key': 'main_sw_version', 'name': 'softwareVersion', 'label': 'Software version', 'readable': True, 'writeable': False, 'type': 'string'}, 'stationSerialNumber': {'key': 'station_sn', 'name': 'stationSerialNumber', 'label': 'Station serial number', 'readable': True, 'writeable': False, 'type': 'string'}, 'battery': {'key': 1101, 'name': 'battery', 'label': 'Battery percentage', 'readable': True, 'writeable': False, 'type': 'number', 'unit': '%', 'min': 0, 'max': 100}, 'batteryTemperature': {'key': 1138, 'name': 'batteryTemperature', 'label': 'Battery Temperature', 'readable': True, 'writeable': False, 'type': 'number', 'unit': '°C'}, 'wifiRssi': {'key': 1142, 'name': 'wifiRssi', 'label': 'Wifi RSSI', 'readable': True, 'writeable': False, 'type': 'number', 'unit': 'dBm'}, 'wifiSignalLevel': {'key': 'custom_wifiSignalLevel', 'name': 'wifiSignalLevel', 'label': 'Wifi Signal Level', 'readable': True, 'writeable': False, 'type': 'number', 'min': 0, 'max': 4, 'states': {'0': 'No signal', '1': 'Weak', '2': 'Normal', '3': 'Strong', '4': 'Full'}}, 'enabled': {'key': 1035, 'name': 'enabled', 'label': 'Camera enabled', 'readable': True, 'writeable': True, 'type': 'boolean', 'commandId': 1035}, 'autoNightvision': {'key': 1013, 'name': 'autoNightvision', 'label': 'Auto Nightvision', 'readable': True, 'writeable': True, 'type': 'boolean'}, 'statusLed': {'key': 1716, 'name': 'statusLed', 'label': 'Status LED', 'readable': True, 'writeable': True, 'type': 'boolean', 'commandId': 6014}, 'motionDetection': {'key': 1011, 'name': 'motionDetection', 'label': 'Motion Detection', 'readable': True, 'writeable': True, 'type': 'boolean'}, 'watermark': {'key': 1214, 'name': 'watermark', 'label': 'Watermark', 'readable': True, 'writeable': True, 'type': 'number', 'states': {'1': 'Off', '2': 'On'}}, 'state': {'key': 1131, 'name': 'state', 'label': 'State', 'readable': True, 'writeable': False, 'type': 'number', 'states': {'0': 'Offline', '1': 'Online', '2': 'Manually disabled', '3': 'Offline low battery', '4': 'Remove and readd', '5': 'Reset and readd'}}, 'motionDetected': {'key': 'custom_motionDetected', 'name': 'motionDetected', 'label': 'Motion detected', 'readable': True, 'writeable': False, 'type': 'boolean', 'default': False}, 'personDetected': {'key': 'custom_personDetected', 'name': 'personDetected', 'label': 'Person
2023-11-07 19:07:58.185 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.product - device.get_commands - {'domain': 'device', 'serial_no': 'T8210P6422351A63'} - {'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:07:58.185 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_commands', 'messageId': 'device.get_commands.438ed3251a61404b94f7d5fe6b9aaa73'}
2023-11-07 19:07:58.185 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_commands', 'messageId': 'device.get_commands.438ed3251a61404b94f7d5fe6b9aaa73'}
2023-11-07 19:07:58.190 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_commands.438ed3251a61404b94f7d5fe6b9aaa73', 'result': {'serialNumber': 'T8210P6422351A63', 'commands': ['start_livestream', 'stop_livestream', 'quick_response', 'start_download', 'cancel_download', 'start_talkback', 'stop_talkback', 'snooze']}}
2023-11-07 19:07:58.190 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.is_rtsp_livestreaming - {'serial_no': 'T8210P6422351A63'} - {'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:07:58.191 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P6422351A63', 'command': 'device.is_rtsp_livestreaming', 'messageId': 'device.is_rtsp_livestreaming.5fde2d69ef7142199fc558f1aa5d18b5'}
2023-11-07 19:07:58.191 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P6422351A63', 'command': 'device.is_rtsp_livestreaming', 'messageId': 'device.is_rtsp_livestreaming.5fde2d69ef7142199fc558f1aa5d18b5'}
2023-11-07 19:07:58.194 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.is_rtsp_livestreaming.5fde2d69ef7142199fc558f1aa5d18b5', 'result': {'serialNumber': 'T8210P6422351A63', 'livestreaming': False}}
2023-11-07 19:07:58.195 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.is_livestreaming - {'serial_no': 'T8210P6422351A63'} - {'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:07:58.195 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P6422351A63', 'command': 'device.is_livestreaming', 'messageId': 'device.is_livestreaming.7074beb6abbb4cfebb43fce7967e490b'}
2023-11-07 19:07:58.195 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P6422351A63', 'command': 'device.is_livestreaming', 'messageId': 'device.is_livestreaming.7074beb6abbb4cfebb43fce7967e490b'}
2023-11-07 19:07:58.200 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.is_livestreaming.7074beb6abbb4cfebb43fce7967e490b', 'result': {'serialNumber': 'T8210P6422351A63', 'livestreaming': False}}
2023-11-07 19:07:58.201 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.get_voices - {'domain': 'device', 'serial_no': 'T8210P6422351A63'} - {'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:07:58.201 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_voices', 'messageId': 'device.get_voices.0b8fa6c317594af49dbfd5d48a4f5318'}
2023-11-07 19:07:58.201 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8210P6422351A63', 'command': 'device.get_voices', 'messageId': 'device.get_voices.0b8fa6c317594af49dbfd5d48a4f5318'}
2023-11-07 19:07:58.287 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.get_voices.0b8fa6c317594af49dbfd5d48a4f5318', 'result': {'serialNumber': 'T8210P6422351A63', 'voices': {'1': {'voice_id': 1, 'user_id': 'c45aae16971fa55709146edc9275f2433f2c8e9d', 'desc': 'Excuse me, can I help you', 'device_sn': '', 'voice_link': 'https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/voice/2019/06/27/mobile/T9001A0218260014/KAFO5JvNNHNIZa3z.Excuse%20me%2C%20can%20I%20help%20you.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20231107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20231107T180758Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=e3478952ae4409a381bd86e99eaf3e41ae538394162f26bf61ce26b9c5ddf7e1', 'voice_type': 0, 'key_prefix': '/voice/2019/06/27/mobile/T9001A0218260014/KAFO5JvNNHNIZa3z.Excuse me, can I help you.wav'}, '2': {'voice_id': 2, 'user_id': 'c45aae16971fa55709146edc9275f2433f2c8e9d', 'desc': 'Please leave it at the door', 'device_sn': '', 'voice_link': 'https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/voice/2019/06/27/mobile/T9001A0218260014/VMJiWrmu1pJUgJNB.Please%20leave%20it%20at%20the%20door.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20231107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20231107T180758Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=0e37f2ae43de22730f9d3a179ca79a0f7bc130cd39d68a15a8093f1c55d21e81', 'voice_type': 0, 'key_prefix': '/voice/2019/06/27/mobile/T9001A0218260014/VMJiWrmu1pJUgJNB.Please leave it at the door.wav'}, '3': {'voice_id': 3, 'user_id': 'c45aae16971fa55709146edc9275f2433f2c8e9d', 'desc': 'We will be right there', 'device_sn': '', 'voice_link': 'https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/voice/2019/06/27/mobile/T9001A0218260014/xsRa7g3GIzeGGcXL.We%20will%20be%20right%20there.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20231107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20231107T180758Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=c89888b5baeeac190c6f596e32e4d4608bf105b0edb815abeb1fcb4d17a541ed', 'voice_type': 0, 'key_prefix': '/voice/2019/06/27/mobile/T9001A0218260014/xsRa7g3GIzeGGcXL.We will be right there.wav'}, '282404': {'voice_id': 282404, 'user_id': 'acc9e9bdd997eccad18a48f83f8bbfd510497a39', 'desc': 'Bezorger aan de deur', 'device_sn': 'T8210P6422351A63', 'voice_link': 'https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/voice/2023/07/24/mobile/T8210P6422351A63/WJyYjeWVtQQouIrT.voice_response_1690209412583.aac?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20231107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20231107T180758Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=10195dc8637647e3195ef5969fd6070f99f89985944b5be01ef91a2ec3097b2b', 'voice_type': 1, 'key_prefix': '/voice/2023/07/24/mobile/T8210P6422351A63/WJyYjeWVtQQouIrT.voice_response_1690209412583.aac'}, '285200': {'voice_id': 285200, 'user_id': 'acc9e9bdd997eccad18a48f83f8bbfd510497a39', 'desc': 'Er is iemand thuis', 'device_sn': 'T8210P6422351A63', 'voice_link': 'https://zhixin-security-eu.s3.eu-central-1.amazonaws.com/voice/2023/08/02/mobile/T8210P6422351A63/q55k61oGOnLGM446.voice_response_1690969707840.aac?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYLV2KOLW6PU4FSA%2F20231107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20231107T180758Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=084a1fe901fa46f6286cce7615b26ae139915c8946dcb18c1a6aeff480ddd065', 'voice_type': 1, 'key_prefix': '/voice/2023/08/02/mobile/T8210P6422351A63/q55k61oGOnLGM446.voice_response_1690969707840.aac'}}}}
2023-11-07 19:07:58.297 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_properties -T8210P6422351A63 - {'name': 'Deurbel', 'model': 'T8210', 'serialNumber': 'T8210P6422351A63', 'hardwareVersion': 'T8210', 'softwareVersion': '5.7.5', 'type': 7, 'stationSerialNumber': 'T8030P2322450026', 'battery': 86, 'batteryTemperature': 11, 'wifiRssi': -46, 'wifiSignalLevel': 4, 'enabled': True, 'autoNightvision': True, 'statusLed': True, 'motionDetection': True, 'motionDetectionSensitivity': 5, 'motionDetectionTypeHuman': True, 'motionDetectionTypeHumanRecognition': True, 'motionDetectionTypePet': True, 'motionDetectionTypeVehicle': True, 'motionDetectionTypeAllOtherMotions': True, 'motionDetected': False, 'personDetected': False, 'personName': '', 'watermark': 1, 'state': 1, 'petDetected': False, 'soundDetected': False, 'cryingDetected': False, 'ringing': False, 'speakerVolume': 100, 'ringtoneVolume': 100, 'audioRecording': True, 'powerWorkingMode': 1, 'chargingStatus': 3, 'recordingEndClipMotionStops': True, 'recordingClipLength': 60, 'recordingRetriggerInterval': 5, 'videoStreamingQuality': 1, 'videoWdr': False, 'chimeIndoor': True, 'chimeHomebase': False, 'chimeHomebaseRingtoneVolume': 12, 'chimeHomebaseRingtoneType': 0, 'notificationType': 2, 'notificationRing': True, 'notificationMotion': True, 'snooze': False, 'snoozeTime': 0, 'identityPersonDetected': False, 'strangerPersonDetected': False, 'vehicleDetected': False, 'dogDetected': False, 'dogLickDetected': False, 'dogPoopDetected': False, 'detectionStatisticsWorkingDays': 37, 'detectionStatisticsDetectedEvents': 3617, 'detectionStatisticsRecordedEvents': 1457, 'snoozeStartTime': 0, 'snoozeHomebase': False, 'snoozeMotion': False, 'snoozeChime': False, 'picture': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 0, 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40, 26, 24, 22, 22, 24, 49, 35, 37, 29, 40, 58, 51, 61, 60, 57, 51, 56, 55, 64, 72, 92, 78, 64, 68, 87, 69, 55, 56, 80, 109, 81, 87, 95, 98, 103, 104, 103, 62, 77, 113, 121, 112, 100, 120, 92, 101, 103, 99, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 1, 17, 18, 18, 24, 21, 24, 47, 26, 26, 47, 99, 66, 56, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 255, 192, 0, 17, 8, 2, 208, 3, 192, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 3, 0, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 6, 0, 0, 0, 0, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 224, 168, 162, 138, 0, 40, 162, 138, 0, 74, 40, 162, 128, 22, 138, 40, 160, 2, 138, 74, 90, 0, 41, 41, 104, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 150, 146,
2023-11-07 19:07:58.299 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] None
2023-11-07 19:07:58.299 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] url - StreamProvider.P2P - rtsp://127.0.0.1:8554/T8210P6422351A63
2023-11-07 19:07:58.299 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - station - EventSourceType.product - station.get_properties - {'domain': 'station', 'serial_no': 'T8030P2322450026'} - {'serialNumber': 'T8030P2322450026'}
2023-11-07 19:07:58.299 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8030P2322450026', 'command': 'station.get_properties', 'messageId': 'station.get_properties.f8a827181c4a4a4eab6e9d467f4d0093'}
2023-11-07 19:07:58.299 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8030P2322450026', 'command': 'station.get_properties', 'messageId': 'station.get_properties.f8a827181c4a4a4eab6e9d467f4d0093'}
2023-11-07 19:07:58.307 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'station.get_properties.f8a827181c4a4a4eab6e9d467f4d0093', 'result': {'serialNumber': 'T8030P2322450026', 'properties': {'name': 'HomeBase 3', 'model': 'T8030', 'serialNumber': 'T8030P2322450026', 'type': 18, 'hardwareVersion': 'V05', 'softwareVersion': '3.3.2.6', 'macAddress': '0417B64BD3C8', 'timeFormat': 1, 'alarmVolume': 1, 'alarm': False, 'alarmType': 0, 'alarmArmed': False, 'alarmArmDelay': 0, 'alarmDelay': 0, 'alarmDelayType': 0, 'guardMode': 1, 'promptVolume': 15, 'lanIpAddress': '192.168.178.69', 'notificationSwitchModeSchedule': True, 'notificationSwitchModeGeofence': True, 'notificationSwitchModeApp': True, 'notificationSwitchModeKeypad': True, 'sdStatus': 0, 'notificationStartAlarmDelay': True, 'alarmTone': 1, 'currentMode': 1}}}
2023-11-07 19:07:58.308 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - station - EventSourceType.product - station.get_properties_metadata - {'domain': 'station', 'serial_no': 'T8030P2322450026'} - {'serialNumber': 'T8030P2322450026'}
2023-11-07 19:07:58.308 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8030P2322450026', 'command': 'station.get_properties_metadata', 'messageId': 'station.get_properties_metadata.4b3e2bcff03c4b2d935034030681a38e'}
2023-11-07 19:07:58.308 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8030P2322450026', 'command': 'station.get_properties_metadata', 'messageId': 'station.get_properties_metadata.4b3e2bcff03c4b2d935034030681a38e'}
2023-11-07 19:07:58.314 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'station.get_properties_metadata.4b3e2bcff03c4b2d935034030681a38e', 'result': {'serialNumber': 'T8030P2322450026', 'properties': {'name': {'key': 'station_name', 'name': 'name', 'label': 'Name', 'readable': True, 'writeable': False, 'type': 'string'}, 'model': {'key': 'station_model', 'name': 'model', 'label': 'Model', 'readable': True, 'writeable': False, 'type': 'string'}, 'serialNumber': {'key': 'station_sn', 'name': 'serialNumber', 'label': 'Serial number', 'readable': True, 'writeable': False, 'type': 'string'}, 'type': {'key': 'device_type', 'name': 'type', 'label': 'Type', 'readable': True, 'writeable': False, 'type': 'number', 'states': {'0': 'Station', '1': 'Camera', '2': 'Sensor (T8900)', '3': 'Floodlight', '4': 'Camera E', '5': 'Doorbell', '7': 'Battery Doorbell', '8': 'Camera 2', '9': 'eufyCam S210 (eufyCam 2C)', '10': 'Motion Sensor (T8910)', '11': 'Keypad', '14': 'eufyCam S221 (eufyCam 2 Pro)', '15': 'eufyCam S220 (eufyCam 2C Pro)', '16': 'Battery Doorbell 2', '18': 'HomeBase S380 (HomeBase 3; T8030)', '19': 'eufyCam S330 (eufyCam 3)', '23': 'eufyCam S300 (eufyCam 3C)', '30': 'Indoor Camera', '31': 'Indoor Camera PT', '32': 'Solo Camera', '33': 'Solo Camera Pro', '34': 'Indoor Camera 1080', '35': 'Indoor Camera PT 1080', '37': 'Floodlight 8422', '38': 'Floodlight 8423', '39': 'Floodlight 2', '44': 'Outdoor Camera 1080P No Light', '45': 'Outdoor Camera 2k', '46': 'Outdoor Camera 1080P', '50': 'Lock Basic', '51': 'Lock Advanced', '52': 'Lock Basic No Finger', '53': 'Lock Basic Advanced No Finger', '54': 'Retrofit Smart Lock E110 (T8503)', '55': 'Video Smart Lock S330 (T8530)', '56': 'Lock 85A3', '57': 'Lock 8592', '58': 'Retrofit Smart Lock E130 (T8504)', '60': 'Solo Camera Spotlight 1080p', '61': 'Solo Camera Spotlight 2k', '62': 'Solo Camera Spotlight Solar', '90': 'Smart Drop S300 (T8790)', '91': 'Video Doorbell Dual', '93': 'Video Doorbell Dual (Wired)', '100': 'Indoor Cost Down Camera', '101': 'Camera Gun', '102': 'Camera Snail', '110': 'Starlight 4G LTE', '131': 'Camera Garage T8453 Common', '132': 'Garage-Control Cam E110 (T8452)', '133': 'Garage-Control Cam E120 (T8453)', '140': 'Smart Safe S10 (T7400)', '141': 'Smart Safe S12 (T7401)', '142': 'Smart Safe T7402', '143': 'Smart Safe T7403', '151': 'Wired Wall Light Cam S100 (T84A1)', '157': 'SmartTrack Link (T87B0)', '159': 'SmartTrack Card (T87B2)', '180': 'Lock T8502 / T8506', '10005': 'Solar Wall Light Cam S120 (T81A0)'}}, 'hardwareVersion': {'key': 'main_hw_version', 'name': 'hardwareVersion', 'label': 'Hardware version', 'readable': True, 'writeable': False, 'type': 'string'}, 'softwareVersion': {'key': 'main_sw_version', 'name': 'softwareVersion', 'label': 'Software version', 'readable': True, 'writeable': False, 'type': 'string'}, 'lanIpAddress': {'key': 1176, 'name': 'lanIpAddress', 'label': 'LAN IP Address', 'readable': True, 'writeable': False, 'type': 'string'}, 'macAddress': {'key': 'wifi_mac', 'name': 'macAddress', 'label': 'MAC Address', 'readable': True, 'writeable': False, 'type': 'string'}, 'guardMode': {'key': 1224, 'name': 'guardMode', 'label': 'Guard Mode', 'readable': True, 'writeable': True, 'type': 'number', 'states': {'0': 'Away', '1': 'Home', '2': 'Schedule', '3': 'Custom 1', '4': 'Custom 2', '5': 'Custom 3', '47': 'Geofencing', '63': 'Disarmed'}}, 'currentMode': {'key': 1151, 'name': 'currentMode', 'label': 'Current Mode', 'readable': True, 'writeable': False, 'type': 'number', 'states': {'0': 'Away', '1': 'Home', '3': 'Custom 1', '4': 'Custom 2', '5': 'Custom 3', '63': 'Disarmed'}}, 'timeFormat': {'key': 1253, 'name': 'timeFormat', 'label': 'Time Format', 'readable': True, 'writeable': True, 'type': 'number', 'states': {'0': '12h', '1': '24h'}, 'default': 0}, 'promptVolume': {'key': 1292, 'name': 'promptVolume', 'label': 'Prompt Volume', 'readable': True, 'writeable': True, 'type': 'number', 'min': 0, 'max': 26}, 'alarmVolume': {'key': 1235, 'name': 'alarmVolume', 'label': 'Alarm Volume', 'readable': True, 'writeable': True, 'type': 'number', 'min': 1, 'max': 26, 'default': 26}, 'alarmTone': {'key': 1281, 'name': 'alarmTone', 'label': 'Alarm Tone', 'readable': True, 'writeable': True, 'type': 'number', 'states': {'1': 'Alarm sound 1', '2': 'Alarm sound 2'}}, 'notificationSwitchModeSchedule': {'key': 1283, 'name': 'notificationSwitchModeSchedule', 'label': 'Notification Switch Mode Schedule', 'readable': True, 'writeable': True, 'type': 'boolean'}, 'notificationSwitchModeGeofence': {'key': 1283, 'name': 'notificationSwitchModeGeofence', 'label': 'Notification Switch Mode Geofence', 'readable': True, 'writeable': True, 'type': 'boolean'}, 'notificationSwitchModeApp': {'key': 1283, 'name': 'notificationSwitchModeApp', 'label': 'Notification Switch Mode App', 'readable': True, 'writeable': True, 'type': 'boolean'}, 'notificationSwitchModeKeypad': {'key': 1283, 'name': 'notificationSwitchModeKeypad', 'label': 'Notification Switch Mode Keypad', 'readable': True, 'writea
2023-11-07 19:07:58.314 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - station - EventSourceType.product - station.get_commands - {'domain': 'station', 'serial_no': 'T8030P2322450026'} - {'serialNumber': 'T8030P2322450026'}
2023-11-07 19:07:58.315 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'serialNumber': 'T8030P2322450026', 'command': 'station.get_commands', 'messageId': 'station.get_commands.cbb813f664fe4b3fb39be49e75279500'}
2023-11-07 19:07:58.315 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'serialNumber': 'T8030P2322450026', 'command': 'station.get_commands', 'messageId': 'station.get_commands.cbb813f664fe4b3fb39be49e75279500'}
2023-11-07 19:07:58.318 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'station.get_commands.cbb813f664fe4b3fb39be49e75279500', 'result': {'serialNumber': 'T8030P2322450026', 'commands': ['stationReboot', 'stationTriggerAlarmSound', 'stationDownloadImage', 'stationDatabaseQueryLatestInfo', 'stationDatabaseQueryLocal', 'stationDatabaseCoundByDate', 'stationDatabaseDelete']}}
2023-11-07 19:07:58.319 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _set_properties -T8030P2322450026 - {'name': 'HomeBase 3', 'model': 'T8030', 'serialNumber': 'T8030P2322450026', 'type': 18, 'hardwareVersion': 'V05', 'softwareVersion': '3.3.2.6', 'macAddress': '0417B64BD3C8', 'timeFormat': 1, 'alarmVolume': 1, 'alarm': False, 'alarmType': 0, 'alarmArmed': False, 'alarmArmDelay': 0, 'alarmDelay': 0, 'alarmDelayType': 0, 'guardMode': 1, 'promptVolume': 15, 'lanIpAddress': '192.168.178.69', 'notificationSwitchModeSchedule': True, 'notificationSwitchModeGeofence': True, 'notificationSwitchModeApp': True, 'notificationSwitchModeKeypad': True, 'sdStatus': 0, 'notificationStartAlarmDelay': True, 'alarmTone': 1, 'currentMode': 1}
2023-11-07 19:08:18.053 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 676, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 646, in _send_frame
self._write(header + mask + message)
File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 663, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2023-11-07 19:10:01.777 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.quick_response - {'serial_no': 'T8210P6422351A63', 'voice_id': 285200} - {'voiceId': 285200, 'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:10:01.777 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'voiceId': 285200, 'serialNumber': 'T8210P6422351A63', 'command': 'device.quick_response', 'messageId': 'device.quick_response.680322595f5f462c93b9af4ad1a4ad40'}
2023-11-07 19:10:01.777 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'voiceId': 285200, 'serialNumber': 'T8210P6422351A63', 'command': 'device.quick_response', 'messageId': 'device.quick_response.680322595f5f462c93b9af4ad1a4ad40'}
2023-11-07 19:10:01.794 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.quick_response.680322595f5f462c93b9af4ad1a4ad40', 'result': {'async': True}}
2023-11-07 19:10:01.838 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'command result', 'serialNumber': 'T8210P6422351A63', 'command': 'quick_response', 'returnCode': -1, 'returnCodeName': 'ERROR_PPCS_NOT_INITIALIZED', 'customData': {'command': {'name': 'deviceQuickResponse', 'value': 285200}}}}
2023-11-07 19:10:17.982 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'wifiRssi', 'value': -47}}
2023-11-07 19:10:17.982 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - wifiRssi
2023-11-07 19:10:19.143 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'wifiRssi', 'value': -46}}
2023-11-07 19:10:19.143 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - wifiRssi
2023-11-07 19:10:19.952 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.quick_response - {'serial_no': 'T8210P6422351A63', 'voice_id': 282404} - {'voiceId': 282404, 'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:10:19.952 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'voiceId': 282404, 'serialNumber': 'T8210P6422351A63', 'command': 'device.quick_response', 'messageId': 'device.quick_response.d655bfe76c014643bc59c3fc216a91e5'}
2023-11-07 19:10:19.953 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'voiceId': 282404, 'serialNumber': 'T8210P6422351A63', 'command': 'device.quick_response', 'messageId': 'device.quick_response.d655bfe76c014643bc59c3fc216a91e5'}
2023-11-07 19:10:19.970 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.quick_response.d655bfe76c014643bc59c3fc216a91e5', 'result': {'async': True}}
2023-11-07 19:10:20.010 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'command result', 'serialNumber': 'T8210P6422351A63', 'command': 'quick_response', 'returnCode': -1, 'returnCodeName': 'ERROR_PPCS_NOT_INITIALIZED', 'customData': {'command': {'name': 'deviceQuickResponse', 'value': 282404}}}}
2023-11-07 19:11:56.748 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:11:56.752 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.004 seconds (success: False)
2023-11-07 19:13:23.441 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': True}}
2023-11-07 19:13:23.441 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 19:13:23.450 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': True}}
2023-11-07 19:13:27.002 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'picture', 'value': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 0, 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40, 26, 24, 22, 22, 24, 49, 35, 37, 29, 40, 58, 51, 61, 60, 57, 51, 56, 55, 64, 72, 92, 78, 64, 68, 87, 69, 55, 56, 80, 109, 81, 87, 95, 98, 103, 104, 103, 62, 77, 113, 121, 112, 100, 120, 92, 101, 103, 99, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 1, 17, 18, 18, 24, 21, 24, 47, 26, 26, 47, 99, 66, 56, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 255, 192, 0, 17, 8, 2, 208, 3, 192, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 3, 0, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 6, 0, 0, 0, 0, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 224, 104, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 150, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 18, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 150, 138, 40, 0, 162, 138, 40, 0, 162, 138, 40, 0, 162, 138, 40, 0, 162, 138, 40, 0, 162, 150, 146, 128, 10, 41, 105, 40, 0, 162, 138, 40, 0, 162, 138, 40, 0, 162, 138, 40, 0, 162, 138, 40, 1, 202, 197, 78, 71, 90, 232, 180, 139, 241, 36, 98, 39, 63, 48, 233, 92, 221, 75, 111, 49, 134, 80, 192, 208, 7, 107, 154, 67, 85, 108, 238, 150, 230, 32, 192, 243, 220, 85, 146, 104, 1, 166, 154, 105, 77, 52, 208, 3, 77, 48, 211, 205, 48, 208, 3, 77, 52, 210, 154, 105, 160, 6, 154, 97, 167, 154, 97, 160, 6, 154, 125, 156, 166, 57, 113, 156, 16, 114, 41, 134, 163, 114, 85, 149, 135, 99, 64, 29, 124, 18, 180, 177, 6, 235, 154, 126, 24, 159, 74, 161, 163, 207, 190, 61, 132, 251, 138, 212, 197, 0, 53, 83, 112, 42, 123, 212, 176, 28, 166, 211, 213, 120, 166, 1, 142, 105, 192, 132, 152, 54, 120, 127, 231, 64, 19, 129, 205, 86, 189, 135, 114, 110, 3, 145, 87, 49, 74, 83, 122, 17, 64, 28, 228, 137, 131, 80, 58, 228, 26, 209, 186, 132, 163, 145, 138, 166, 203, 64, 19, 105, 178, 240, 99, 39, 145, 210, 180, 136, 202, 214, 18, 49, 134, 101, 113, 216, 214, 244, 68, 58, 130, 58, 26, 0, 198, 191, 131, 202, 152, 58, 143, 149, 186, 253, 106, 156, 139, 185, 115, 220, 87, 65, 121, 7, 155, 11, 47, 126, 213, 137, 142, 160, 142, 104, 3, 79, 71, 184, 243, 98, 242, 216, 252, 203, 75, 169, 219, 228, 121, 128, 125, 107, 42, 218, 83, 109, 118, 173, 216, 154, 233, 10, 172, 240, 250, 134, 20, 1, 201, 207, 30, 27, 53, 1, 21, 169, 121, 6, 214, 101, 35, 165, 103, 17, 131, 138, 0, 143, 20, 152, 167, 210, 17, 64, 28, 197, 20, 81, 64, 5,
2023-11-07 19:13:27.002 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - picture
2023-11-07 19:13:32.414 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:13:32.421 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.008 seconds (success: False)
2023-11-07 19:13:33.445 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': False}}
2023-11-07 19:13:33.445 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 19:13:33.456 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': False}}
2023-11-07 19:16:18.391 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - device - EventSourceType.device - device.quick_response - {'serial_no': 'T8210P6422351A63', 'voice_id': 282404} - {'voiceId': 282404, 'serialNumber': 'T8210P6422351A63'}
2023-11-07 19:16:18.391 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'voiceId': 282404, 'serialNumber': 'T8210P6422351A63', 'command': 'device.quick_response', 'messageId': 'device.quick_response.fa2918862ae94035964f7b02fc83b1f0'}
2023-11-07 19:16:18.392 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'voiceId': 282404, 'serialNumber': 'T8210P6422351A63', 'command': 'device.quick_response', 'messageId': 'device.quick_response.fa2918862ae94035964f7b02fc83b1f0'}
2023-11-07 19:16:18.406 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'device.quick_response.fa2918862ae94035964f7b02fc83b1f0', 'result': {'async': True}}
2023-11-07 19:16:18.451 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'command result', 'serialNumber': 'T8210P6422351A63', 'command': 'quick_response', 'returnCode': -1, 'returnCodeName': 'ERROR_PPCS_NOT_INITIALIZED', 'customData': {'command': {'name': 'deviceQuickResponse', 'value': 282404}}}}
2023-11-07 19:19:55.424 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': True}}
2023-11-07 19:19:55.425 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 19:19:55.435 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': True}}
2023-11-07 19:19:59.081 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'picture', 'value': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 0, 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40, 26, 24, 22, 22, 24, 49, 35, 37, 29, 40, 58, 51, 61, 60, 57, 51, 56, 55, 64, 72, 92, 78, 64, 68, 87, 69, 55, 56, 80, 109, 81, 87, 95, 98, 103, 104, 103, 62, 77, 113, 121, 112, 100, 120, 92, 101, 103, 99, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 1, 17, 18, 18, 24, 21, 24, 47, 26, 26, 47, 99, 66, 56, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 255, 192, 0, 17, 8, 2, 208, 3, 192, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 3, 0, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 6, 0, 0, 0, 0, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 224, 169, 105, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 3, 52, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 20, 81, 69, 0, 57, 24, 163, 2, 14, 13, 111, 89, 93, 9, 227, 228, 252, 194, 185, 250, 154, 218, 99, 12, 161, 133, 38, 134, 157, 142, 143, 57, 164, 205, 50, 41, 22, 68, 12, 189, 13, 56, 208, 95, 48, 103, 210, 154, 79, 52, 189, 169, 167, 147, 69, 130, 236, 66, 105, 164, 211, 137, 226, 152, 77, 22, 21, 216, 26, 105, 52, 166, 154, 104, 176, 238, 192, 211, 15, 94, 41, 212, 211, 69, 133, 113, 175, 202, 145, 235, 87, 172, 103, 202, 15, 110, 13, 81, 167, 90, 191, 151, 62, 211, 209, 168, 176, 92, 223, 70, 7, 25, 21, 50, 145, 233, 85, 97, 108, 160, 171, 11, 84, 13, 178, 194, 177, 36, 48, 237, 86, 208, 231, 154, 167, 25, 237, 86, 109, 207, 85, 244, 173, 35, 163, 36, 180, 181, 82, 225, 48, 79, 21, 113, 6, 105, 101, 135, 114, 102, 182, 105, 49, 24, 206, 49, 218, 170, 206, 185, 83, 199, 53, 163, 52, 120, 170, 146, 166, 107, 25, 68, 180, 202, 0, 227, 138, 100, 195, 112, 169, 100, 93, 173, 76, 35, 53, 155, 65, 114, 145, 56, 53, 52, 114, 83, 38, 76, 28, 211, 16, 224, 212, 218, 194, 185, 108, 159, 106, 107, 0, 123, 80, 135, 34, 157, 76, 119, 32, 62, 194, 147, 240, 167, 184, 193, 205, 48, 209, 97, 221, 135, 106, 15, 34, 138, 5, 32, 76, 231, 104, 162, 138, 102, 97, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69,
2023-11-07 19:19:59.081 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - picture
2023-11-07 19:20:05.426 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': False}}
2023-11-07 19:20:05.427 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 19:20:05.437 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': False}}
2023-11-07 19:21:56.749 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:21:56.756 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.007 seconds (success: False)
2023-11-07 19:23:32.414 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:23:32.421 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.007 seconds (success: False)
2023-11-07 19:29:22.375 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': True}}
2023-11-07 19:29:22.376 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 19:29:22.387 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': True}}
2023-11-07 19:29:25.940 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'picture', 'value': {'data': {'type': 'Buffer', 'data': [255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 0, 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40, 26, 24, 22, 22, 24, 49, 35, 37, 29, 40, 58, 51, 61, 60, 57, 51, 56, 55, 64, 72, 92, 78, 64, 68, 87, 69, 55, 56, 80, 109, 81, 87, 95, 98, 103, 104, 103, 62, 77, 113, 121, 112, 100, 120, 92, 101, 103, 99, 255, 254, 0, 5, 0, 0, 0, 255, 219, 0, 67, 1, 17, 18, 18, 24, 21, 24, 47, 26, 26, 47, 99, 66, 56, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 255, 192, 0, 17, 8, 2, 208, 3, 192, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 3, 0, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 254, 0, 5, 0, 0, 0, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 254, 0, 6, 0, 0, 0, 0, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 224, 105, 41, 105, 40, 0, 165, 164, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 165, 160, 4, 162, 138, 40, 0, 165, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 40, 162, 138, 0, 41, 105, 40, 160, 5, 162, 146, 150, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 10, 40, 162, 128, 18, 138, 90, 74, 0, 90, 74, 40, 160, 2, 138, 40, 160, 5, 4, 131, 145, 91, 218, 93, 232, 145, 4, 110, 126, 97, 210, 176, 42, 72, 37, 49, 72, 24, 80, 7, 93, 156, 210, 26, 175, 105, 114, 179, 196, 8, 235, 83, 154, 0, 13, 48, 211, 141, 52, 208, 3, 77, 52, 211, 141, 48, 208, 3, 77, 52, 211, 141, 52, 208, 3, 13, 52, 211, 205, 48, 208, 3, 77, 62, 210, 67, 28, 152, 207, 78, 148, 195, 81, 177, 42, 202, 195, 181, 0, 117, 16, 200, 100, 140, 53, 63, 12, 77, 84, 211, 37, 222, 155, 115, 244, 171, 248, 160, 6, 132, 221, 144, 123, 212, 176, 156, 174, 15, 81, 76, 2, 156, 14, 201, 129, 236, 194, 128, 37, 198, 42, 11, 200, 178, 155, 128, 233, 86, 128, 165, 41, 185, 72, 160, 12, 25, 23, 154, 129, 215, 34, 180, 46, 34, 216, 228, 85, 71, 90, 0, 150, 194, 78, 12, 103, 168, 233, 87, 200, 202, 214, 58, 55, 149, 42, 184, 236, 121, 173, 152, 216, 50, 130, 58, 26, 0, 201, 190, 135, 203, 151, 112, 28, 53, 85, 113, 145, 239, 91, 119, 112, 121, 176, 178, 247, 234, 43, 28, 14, 212, 1, 165, 165, 207, 230, 69, 177, 143, 204, 180, 186, 132, 25, 253, 224, 252, 107, 54, 218, 67, 111, 114, 15, 98, 107, 124, 168, 154, 47, 102, 20, 1, 204, 204, 152, 108, 212, 53, 163, 117, 9, 82, 202, 71, 34, 168, 17, 206, 40, 1, 152, 164, 197, 63, 20, 148, 1, 207, 210, 209, 73, 64, 11, 73, 69, 20, 0, 81, 69, 20, 0, 81, 69, 20, 0, 82, 210, 81, 64, 5, 45, 20, 80, 1, 69, 20, 80, 1, 69, 20, 80, 1, 69,
2023-11-07 19:29:25.941 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - picture
2023-11-07 19:29:32.379 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'property changed', 'serialNumber': 'T8210P6422351A63', 'name': 'motionDetected', 'value': False}}
2023-11-07 19:29:32.379 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] camera _handle_property_changed - motionDetected
2023-11-07 19:29:32.389 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'event', 'event': {'source': 'device', 'event': 'motion detected', 'serialNumber': 'T8210P6422351A63', 'state': False}}
2023-11-07 19:31:56.750 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'poll_refresh'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll_refresh'
2023-11-07 19:31:56.757 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.007 seconds (success: False)
Yes, thanks, already released a new version
Get 7.7.3 and try
Yes, the 'polling_refresh' issue is fixed now!
@fuatakgun I cheered too early :( Unfortunately, the polling_refresh is not fixed yet. For completeness: I already updated to v7.7.3 and rebooted HA yesterday. Here are the log files of the last poll_refresh failure at 10:27:30.
Home Assistant Core log:
Logger: custom_components.eufy_security
Source: helpers/update_coordinator.py:290
Integration: Eufy Security ([documentation](https://github.com/fuatakgun/eufy_security), [issues](https://github.com/fuatakgun/eufy_security/issues))
First occurred: 7 november 2023 om 23:17:29 (68 occurrences)
Last logged: 10:27:30
Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'send_message'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 162, in poll_refresh
await self._send_message_get_response(OutgoingMessage(OutgoingMessageType.poll_refresh))
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 322, in _send_message_get_response
await self.send_message(message.content)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 331, in send_message
await self._client.send_message(json.dumps(message))
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send_message'
DEBUG log:
2023-11-08 10:27:30.106 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - driver - EventSourceType.driver - driver.poll_refresh - {} - {}
2023-11-08 10:27:30.107 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.1ac3852912b64b40a2c09da024fdd1f5'}
2023-11-08 10:27:30.107 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.1ac3852912b64b40a2c09da024fdd1f5'}
2023-11-08 10:27:30.108 ERROR (MainThread) [custom_components.eufy_security] Unexpected error fetching eufy_security data: 'NoneType' object has no attribute 'send_message'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/coordinator.py", line 86, in _update_local
await self._api.poll_refresh()
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 162, in poll_refresh
await self._send_message_get_response(OutgoingMessage(OutgoingMessageType.poll_refresh))
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 322, in _send_message_get_response
await self.send_message(message.content)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 331, in send_message
await self._client.send_message(json.dumps(message))
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send_message'
2023-11-08 10:27:30.119 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.014 seconds (success: False)
Please explain to me about any important events since your last restart?
Restarting the add-on, reloading the integration, etc and in order
@fuatakgun I only reloaded the integration once. That's it. No other special events since the last reboot.
Why did you need to reload it? Can you try and see without reloading?
But to go to default state, you need to restart your ha.
There was no need for reloading the integration. I just tried it myself, to check if this fixes the problem.
and until reloading the integration, did you face any issue? and did issue come back after reloading?
Yes, the issue did came back after reloading (it's still occurres every 10 minutes). And before reloading I faced the issue as well. That was the reason I tried reloading the integration.
let's try 7.7.4
Very well done! This problem is fixed now by v7.7.4! No more error in DEBUG.
2023-11-11 10:21:01.292 DEBUG (MainThread) [custom_components.eufy_security] coordinator - start update_local
2023-11-11 10:21:01.293 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] domain - driver - EventSourceType.driver - driver.poll_refresh - {} - {}
2023-11-11 10:21:01.293 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.07f709d0e47e45e1a380bd68e4e27870'}
2023-11-11 10:21:01.294 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] send_message - {'command': 'driver.poll_refresh', 'messageId': 'driver.poll_refresh.07f709d0e47e45e1a380bd68e4e27870'}
2023-11-11 10:21:02.015 DEBUG (MainThread) [custom_components.eufy_security.eufy_security_api] _on_message - {'type': 'result', 'success': True, 'messageId': 'driver.poll_refresh.07f709d0e47e45e1a380bd68e4e27870', 'result': {}}
2023-11-11 10:21:02.016 DEBUG (MainThread) [custom_components.eufy_security] coordinator - complete update_local
2023-11-11 10:21:02.016 DEBUG (MainThread) [custom_components.eufy_security] Finished fetching eufy_security data in 0.724 seconds (success: True)
@kooijman599 let's wait for couple of days :) i will keep this open until then
thanks @kooijman599 , @codyc1515 and all
Describe the bug
To reproduce
Unclear steps to reproduce the behavior:
Expected behavior
Should not see any exception errors.
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;
Hardware Information;
Camera Model: Floodlight Camera Pro 2
Live Streaming Protocol (RTSP/P2P): P2P
Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue
Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):
Would you share your device with me in case further debugging required? (Yes/No): Yes
Additional context
May be similar or related issue of https://github.com/fuatakgun/eufy_security/issues/647