Closed nephung closed 2 years ago
You should add your camera entity to lovelace and click on it to see live stream. Example below;
type: picture-entity
entity: camera.entrance_camera
I have, When i start the stream i get the error in the logs: Logger: homeassistant.components.camera Source: components/camera/init.py:692 Integration: Camera (documentation, issues) First occurred: 5:44:12 PM (1 occurrences) Last logged: 5:44:12 PM
Error requesting stream: camera.garage does not support play stream service
What about logs from eufy security ws add on?
src/lib/server.ts:46:34
• server.ts:98 receiveMessage
src/lib/server.ts:98:58
• server.ts:57
Could you please restart add on, wait couple of seconds and reload the integration and try again?
Add on is claiming that it is not able to connect home base, it might get disconnected or you have a specific network setup blocking docker to access home base?
I've tried to restart the addon, restart the integration, restart HA I've reconnected the Floodlight to the same Wifi as HA,
This flood light does not have a home base but is a separate camera.
Thanks for your help
Log below:
2021-10-04 07:09:29.744 INFO Eufy Security server listening on port 3000
2021-10-04 07:09:33.021 INFO Connected to station T8420N1020351411 on host 192.168.1.121 and port 20554
2021-10-04 07:09:33.678 INFO Push notification connection successfully established
2021-10-04 07:11:49.015 INFO Connected to station T8420N1020351411 on host 192.168.1.121 and port 19200
2021-10-04 07:12:51.343 INFO Client disconnected with ip: ::ffff:172.30.32.1 port: 36986 code: 1006 reason:
2021-10-04 07:12:51.345 INFO Client disconnected with ip: ::ffff:172.30.32.1 port: 37556 code: 1006 reason:
2021-10-04 07:12:51.350 INFO Client disconnected with ip: ::ffff:172.30.32.1 port: 37560 code: 1006 reason:
2021-10-04 07:13:09.682 INFO Connected to station T8420N1020351411 on host 192.168.1.121 and port 11246
2021-10-04 07:15:55.216 ERROR Message error
NotConnectedError No p2p connection to station T8420N1020351411
details:
{
name: 'NotConnectedError'
}
error stack:
• station.ts:2337 startLivestream
node_modules/eufy-security-client/src/http/station.ts:2337:19
• message_handler.ts:100 handle
src/lib/device/message_handler.ts:100:39
• server.ts:46 device
src/lib/server.ts:46:34
• server.ts:98 receiveMessage
src/lib/server.ts:98:58
• server.ts:57
Can you create a new account and test with it? There seems to be something wrong about push notification access.
Hi there, I have tried with another account. My RTSP capable cameras work fine, however this Floodlight which does not support RTSP still only shows the latest Image but no video.
I'd settle for the latest image. I'm not even getting that.
Have you enabled picture in push notifications through eufy app?
Have you enabled picture in push notifications through eufy app?
I'll check and get back to you. Thanks; this seems to be the only issue I've had so far in moving from ioBroker to your integration.
to have video with native RTSP supporting cameras;
rtsp server add on
from readme filecamera.turn_on
service and then click camera image (couple of seconds later of service call)Have you enabled picture in push notifications through eufy app?
I have it enabled for this camera. Restarted the add on. Reloaded the integration. Went out back and triggered the camera. Checked the notifications on my tablet and both included snapshots. Went back to cam in HA and shift-refreshed the page. Still getting no image on the floodlight cam.
Camera in question is "Patio" a T8422 Floodlight Cam. I'm using the same picture entity card as with the others in the image - the Garage and the one labeled "new eufycam component" are both eufycam 2s, connected to the home base. All of the home base cams are working properly.
It doesn't seem to be showing a change in motion or person detection either as none of my triggers above registered. But when I change the alarm state from Home to Disarmed, the alarm control panel sensor entity responds immediately and shows the proper state changes. So there's at least SOME communication going on.
following README file, you can share the camera with me and i can debug it.
That's really nice of you to offer! I've sent out the invite to your US address and have shared the home base and all the cams as well as the Patio cam that's in question. Take your time; I really do appreciate your offering to debug. Let me know if there's anything else I can do to make your task easier. For me, being able to stream is secondary to getting that last event thumbnail and getting state updates when a new event takes place.
У меня тоже часто отваливается после того как я управляю камерой через PTZ. Помогает только перезагрузка аддона.
2021-10-07 23:15:00.454 INFO Eufy Security server listening on port 3000
2021-10-07 23:15:01.480 INFO Connected to station T8410XXXXXXXX on host 192.168.1.30 and port 26364
2021-10-07 23:15:01.885 INFO Push notification connection successfully established
2021-10-07 23:19:30.612 ERROR Message error
NotConnectedError No p2p connection to station T8410XXXXXXXX
details:
{
name: 'NotConnectedError'
}
error stack:
• station.ts:969 panAndTilt
node_modules/eufy-security-client/src/http/station.ts:969:19
• message_handler.ts:167 handle
src/lib/device/message_handler.ts:167:35
• server.ts:46 device
src/lib/server.ts:46:34
• server.ts:98 receiveMessage
src/lib/server.ts:98:58
• server.ts:57 <anonymous>
src/lib/server.ts:57:53
• events.js:375 emit
events.js:375:28
• websocket.js:970 receiverOnMessage
node_modules/ws/lib/websocket.js:970:20
• events.js:375 emit
events.js:375:28
• receiver.js:517 dataMessage
node_modules/ws/lib/receiver.js:517:14
• receiver.js:435 getData
node_modules/ws/lib/receiver.js:435:17
NotConnectedError No p2p connection to station T8410XXXXXXXX
details:
{
name: 'NotConnectedError'
}
error stack:
• station.ts:969 panAndTilt
node_modules/eufy-security-client/src/http/station.ts:969:19
• message_handler.ts:167 handle
src/lib/device/message_handler.ts:167:35
• server.ts:46 device
src/lib/server.ts:46:34
• server.ts:98 receiveMessage
src/lib/server.ts:98:58
• server.ts:57 <anonymous>
src/lib/server.ts:57:53
• events.js:375 emit
events.js:375:28
• websocket.js:970 receiverOnMessage
node_modules/ws/lib/websocket.js:970:20
• events.js:375 emit
events.js:375:28
• receiver.js:517 dataMessage
node_modules/ws/lib/receiver.js:517:14
• receiver.js:435 getData
node_modules/ws/lib/receiver.js:435:17
2021-10-07 23:24:06.635 ERROR Message error
I have tried to resolve it, but it is apparently beyond my skills.
created another issue on docker owner: https://github.com/bropat/eufy-security-client/issues/50
If it stumps you then I don't feel so bad! 😝 I was able to work it with ioBroker with the eufy security plugin, but then ioBroker started going south since their new update and I disabled it. I'll wait to see if you get anywhere with the issue as I feel like your approach is better overall and more integrated to HA. I appreciate you trying and I'll bet you get it worked out!
@rpitera , we need your help here: https://github.com/bropat/eufy-security-client/issues/50
Responded on bropat's issue. Glad to help in any way I can.
Any update on this one? Would love to get this working in my HA
please track this issue about update: https://github.com/fuatakgun/eufy_security/issues/59
Hi -- I'm having the same issue. Bought a floodlight (eufy Floodlight Cam 2, 2K [T8424]), followed your directions and am able to see it within Home Assistant (2021.10.7). Unfortunately video is not working, appears I have the latest updates of your integration. Is there any way I can help test as well?
I will publish the new version of integration and add on in couple of days, please update and test. I will also update main tracker about new version
Thanks much! I setup logging to debug and happy to share account with you if its helpful at all, just let me know I'll keep an eye out for new version. Awesome add-on.
Makes sense, please share following README and i can test it before releasing new version
I believe you had already shared your camera called garage
apparently, it is not the same model (T8422 vs T8424).
@bropat added support for T8422, you should first create a similar issue like this for T8424: https://github.com/bropat/eufy-security-client/issues/50
@rpitera , can you share your with me so I can test locally with new HA integration?
@fuatakgun - Of course for the first time in months, the camera in question is showing offline! Once I get it connected again, I'll resend the invite to your US address as before.
Update: rebooted the camera (it's on a switch) and rebooted the router but still showing offline. Looks like I'm going to have to get up on a ladder and reset it, so it will be a little later in the morning until I can get it running again. I'll update you as soon as I get it back - god damn this is irritating; this cam has been steadily online for months and of course now that I need it for testing it drops off.
This is truly frustrating, but at the moment I cannot get the Floodlight Cam to reconnect to the network. It's been connected since the day I put it up and has been recording events for months. In trying to twist the cam to snap the QR code, I've dislodged the flood light wires so the only way to even fix that is to disconnect it, take it down and bring it in the lab. Everything else in that area is connecting fine, including a home base eufycam that's further than anything else from the router.
I'm afraid you may have to find another tester for the immediate time, as much as I was looking forward to working on it. I'll get back to you if the situation changes... : (
Sorry for frustration, this is not good at all :-(
@coder999 any help is appreciated here
I decided to cut my losses and just buy a replacement 8422. Best Buy has it for $50 off and I have a rewards certificate for $20 that's going to expire soon so that makes it a little less painful. Plus the original was a Best Buy review unit so it didn't cost me anything in the first place.
It's supposed to arrive tomorrow and after I get it installed and working, I've already sent out the invite to your US gmail and I'll add the Patio cam as soon as it's installed, then I'll update you here. Thanks for your patience.
What about returning the existing one? Do you plan to check for it?
Well, I'd have to fix the wiring I broke first. At this point since it cost me nothing, I'll probably keep it for parts at the moment.
More important that I get a functioning unit so I can help you test. I'll consider it a contribution to the community. (Trying to put a positive spin on things....)
Just shared my Eufy Floodlight Cam with you - thx for helping debug - sent to your US gmail
@coder999 any help is appreciated here
I confirm that it works, I was able to see P2P video stream but quality was jumping between low/medium/high.
I tried to set the quality setting using the app but it failed as floodlight cam is busy
.
can you give a try to fix the streaming video quality?
Just changed the streaming quality from medium to high.
It still does not work for me - will send my config / logs later on
it will work when i publish new version of integration and add-on, I am testing locally with updated ones.
Short update - Still waiting on delivery; should be today since they missed yesterday's pick up but I will keep you posted.
no need to rush @rpitera , @coder999 is helping out here
I am able to stream without any glitch. let's keep this open until I publish new version of integration &add-on and you confirm this
@fuatakgun I can test on my T8424 as well
Please wait for update of integration and check later, publish your results here
@fuatakgun
My replacement finally came - so much for 'Arriving Tomorrow' 📦
It's raining hard here so I can't install it in place, but I did set it up and have it plugged in near the location. Everything is working in the app. I've added it to the account so you should be able to see it - it is pointing up at my window casing; may not be exciting but at least there's a image for you to test!
UPDATE: The floodlight cam is now in place and fully online. Invite went to your US address and should be accessible for testing.
updated both add-on and integration, please give it a try, YOU MUST UPDATE BOTH OF THEM.
https://github.com/fuatakgun/eufy_security/issues/59#issuecomment-968352909
updated both add-on and integration, please give it a try, YOU MUST UPDATE BOTH OF THEM.
I updated both -- looks like it's trying to work, but is unable to stream video. I think this was a known issue? I am using your RTSP P2P streaming add-on/suggestion. My HA version is: core-2021.11.3
Below is log output [some parts redacted]
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - set_ws - connect
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_open - executed
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - WebSocket message sent. {"messageId": "set_api_schema", "command": "set_api_schema", "schemaVersion": 6}
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - WebSocket message sent. {"messageId": "start_listening", "command": "start_listening"}
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - check_if_started_listening
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - wait start - devices
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - wait - 0 - devices None
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - process_messages started
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'result', 'success': True, 'messageId': 'set_api_schema', 'result': {}}
2021-11-14 13:41:46 DEBUG (MainThread) [custom_components.eufy_security] eufy_security - on_message - {'type': 'result', 'success': True, 'messageId': 'start_listening', 'result': {'state': {'driver': {'version': '1.2.2', 'connected': True, 'pushConnected': True}, 'stations': [{'name': 'Garage', 'model': 'T8424', 'serialNumber': 'T8424N[redacted]', 'hardwareVersion': 'P1', 'softwareVersion': '2.0.4.8', 'lanIpAddress': '192.168.1.XX', 'macAddress': '[redacted]', 'currentMode': 1, 'guardMode': 1, 'connected': True, 'type': 39}], 'devices': [{'name': 'Garage', 'model': 'T8424', 'serialNumber': 'T8424N[redacted]', 'hardwareVersion': 'P1', 'softwareVersion': '2.0.4.8', 'stationSerialNumber': 'T8424N[redacted]', 'enabled': True, 'motionDetected': False, 'personDetected': False, 'personName': '', 'autoNightvision': True, 'motionDetection': True, 'watermark': 0, 'pictureUrl': 'https://[redacted]', 'type': 39, 'motionDetectionType': 1, 'light': False, 'microphone': True, 'speaker': True, 'speakerVolume': 80, 'audioRecording': True, 'recordingEndClipMotionStops': True, 'recordingClipLength': 100, 'recordingRetriggerInterval': 0, 'videoStreamingQuality': 0, 'lightSettingsEnable': True, 'lightSettingsBrightnessManual': 100, 'lightSettingsBrightnessMotion': 100, 'lightSettingsBrightnessSchedule': 100, 'lightSettingsMotionTriggered': True, 'lightSettingsMotionTriggeredTimer': 180, 'notificationType': 3, 'motionDetectionSensitivity': 4, 'statusLed': True}]}}}
No, we have tested t8424 and worked for p2p streaming, if it is not working for you, create a separate issue, share for your camera following readme and send me the name.
Just be sure rtsp add on server is enabled in configuration
Updated both add on and integration; e7c7105 - Integration and 0.5.2 - Add on.
Now I have no cameras at all. Everything shows as Unavailable. Restarted HA and restarted the whole VM. Still the same.
This is the only thing in the add on log:
2021-11-14 21:51:00.913 INFO Eufy Security server listening on port 3000
2021-11-14 21:51:01.875 INFO Connected to station T8010P13193702BC on host 192.168.1.174 and port 15294
2021-11-14 21:51:01.895 INFO Connected to station T8422N1021120BF3 on host 192.168.1.96 and port 24819
2021-11-14 21:51:02.231 INFO Push notification connection successfully established
Nothing in the main HA logs, but I don't have debug turned on yet. Checked the app and all cameras are up and running. Next steps???
Have set up the EUFY Floodlight camera on using the eufy security integration, however not able to see live video on the Lovelace card. I only seem to get still images that refresh every now and then