Comments (28)
@fuatakgun Version 0.5.1 released
from eufy-security-ws.
Got it, thanks, i will check
from eufy-security-ws.
Logs from docker;
LivestreamNotRunningError Livestream for device T8113N63205014E2 could not be stopped, because it is not running
details:
{
name: 'LivestreamNotRunningError'
}
error stack:
• message_handler.ts:145 handle
src/lib/device/message_handler.ts:145:31
• 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:400 emit
events.js:400:28
• websocket.js:1009 receiverOnMessage
node_modules/ws/lib/websocket.js:1009:20
• events.js:400 emit
events.js:400:28
• receiver.js:522 dataMessage
node_modules/ws/lib/receiver.js:522:14
• receiver.js:440 getData
node_modules/ws/lib/receiver.js:440:17
• receiver.js:148 startLoop
from eufy-security-ws.
@fuatakgun Have you already tried the same directly with the available eufy-security-ws client application?
Is the behaviour the same?
Sorry I don't have much time at the moment.
from eufy-security-ws.
i will give it a try and update here.
No worries, 0.3.3 is doing work well enough, do you think we are missing anything important because of lacking 0.4.2? Users are mostly interested faster p2p streaming :-)
from eufy-security-ws.
i will give it a try and update here.
ok, thx.
do you think we are missing anything important because of lacking 0.4.2? Users are mostly interested faster p2p streaming :-)
Mainly the correct handling of multiple clients who want to view the same P2P stream.
Otherwise, some important bug fixes have been made in the eufy-security-client driver (see mainly changelog). 0.3.3 uses version 0.9.4 of the driver, 0.4.2 version 1.1.2.
from eufy-security-ws.
The latency of the livestream has also been optimised (sometimes at the expense of the audio; I still have to find a better solution there...)
from eufy-security-ws.
Issue is happening through bare client too. This is one of the blockers for me to update version, please let me know if i can help
from eufy-security-ws.
Issue is happening through bare client too. This is one of the blockers for me to update version, please let me know if i can help
I'm working on it.
from eufy-security-ws.
Please check out new version and let me know
from eufy-security-ws.
I have tried now with 2c cameras, still no luck, but it is stopping end stream, i send another command, it throws an error in add-on saying that there is no running live stream.
Sent: {"messageId": "start_livesteam", "command": "device.start_livestream", "serialNumber": "T8113N63205014E2"}
Received: {'type': 'result', 'success': True, 'messageId': 'start_livesteam', 'result': {}}
Received: {'type': 'event', 'event': {'source': 'device', 'event': 'livestream started', 'serialNumber': 'T8113N63205014E2'}}
Sent: {"messageId": "start_livesteam", "command": "device.stop_livestream", "serialNumber": "T8113N63205014E2"}
Received: {'type': 'result', 'success': True, 'messageId': 'start_livesteam', 'result': {}}
from eufy-security-ws.
- Which version do you use? 0.5.0?
- With which scheme version? 6?
from eufy-security-ws.
you are right, sorry.
1- ws version: 0.5.0
2- schema version: 6
from eufy-security-ws.
I don't think the problem is with eufy-security-ws, rather with eufy-security-client.
To find the cause, I need the entire log of the test in debug mode.
from eufy-security-ws.
give me couple of minutes, as a side note, rtsp functions are working but with 5-6 seconds delay.
from eufy-security-ws.
Checked the code again and I think I found the cause at eufy-security-ws....
from eufy-security-ws.
I do not have access to a PC now (only mobile phone). Can you try commenting line 152 in the file "src/lib/device/message_handler.ts" and run the test again?
from eufy-security-ws.
your last message, is it related to delay to p2p streaming.
before we continue, let me set my expectation here, maybe I am misinterpreting everything
- P2P and RTSP are independent ways of streaming
- Some cameras support RTSP, so it can be used for them
- All cameras support P2P, so it can be used for all. i can call
start_livestream
independent of respective camera's RTSP functionality, right?
from eufy-security-ws.
sent you debug logs over email
from eufy-security-ws.
your last message, is it related to delay to p2p streaming.
it's related to the stop livestream event
P2P and RTSP are independent ways of streaming
Some cameras support RTSP, so it can be used for them
correct
All cameras support P2P, so it can be used for all. i can call start_livestream independent of respective camera's RTSP functionality, right?
correct
from eufy-security-ws.
one addition: i am also not receiving chunks for video stream, trying your suggestion
from eufy-security-ws.
one addition: i am also not receiving chunks for video stream, trying your suggestion
Do you mean commenting this line
from eufy-security-ws.
sorry, again channels are mixed :) I will give a summary soon
from eufy-security-ws.
when I commented out following your advice, I was able to receive event once, but for the rest, add-on became unstable as example like below;
2021-10-19 20:20:07.290 INFO Disconnected from station T8010N2320460480
2021-10-19 20:20:08.007 INFO Connected to station T8010N2320460480 on host 192.168.178.23 and port 20519
2021-10-19 20:20:14.117 INFO Client disconnected with ip: ::ffff:192.168.178.119 port: 59312 code: 1006 reason:
2021-10-19 20:20:14.198 INFO Disconnected from station T8010N2320460480
2021-10-19 20:20:19.253 INFO Connected to station T8010N2320460480 on host 192.168.178.23 and port 26197
2021-10-19 20:20:25.194 INFO Disconnected from station T8010N2320460480
2021-10-19 20:20:30.243 INFO Connected to station T8010N2320460480 on host 192.168.178.23 and port 14179
2021-10-19 20:20:36.198 INFO Disconnected from station T8010N2320460480
2021-10-19 20:20:41.244 INFO Connected to station T8010N2320460480 on host 192.168.178.23 and port 12823
2021-10-19 20:21:42.094 WARN Station T8010N2320460480 - Heartbeat check failed. Connection seems lost. Try to reconnect...
2021-10-19 20:21:42.096 INFO Disconnected from station T8010N2320460480
2021-10-19 20:21:42.688 INFO Connected to station T8010N2320460480 on host 192.168.178.23 and port 12823
2021-10-19 20:21:42.700 INFO Disconnected from station T8010N2320460480
from eufy-security-ws.
My advice fixes the error of the stop event, I have tested it myself.
add-on became unstable as example like below;
If you are talking about p2p communication instability, it has nothing to do with eufy-security-ws but with eufy-security-client, because the driver manages the P2P communication and not eufy-security-ws. I have done some research on this and found the cause of this instability. The instability is introduces with this fix.
I am currently looking into how I can solve the problem without retracting the other correction.
from eufy-security-ws.
it was not directly related to that issue. Until i had started p2, i didn't notice any reconnection issues. But just after p2p events, it starts disconnecting and connecting back. Do you think they are same?
from eufy-security-ws.
i will generate some other debug logs and share them over respective repositories. But it is not always feasible for me to find the correct one, as i don't have full technical details.
from eufy-security-ws.
Do you think they are same?
Yes
from eufy-security-ws.
Related Issues (20)
- [Question]: Fast battery drain on Eufy C220/T8506 Lock HOT 1
- [Question]: When is the 3.0 version is expected for Home Assistant as addon? HOT 1
- [Question]: Can't install bropat/hassio-eufy-security-ws Relese 1.8.0 HOT 1
- [Feature request]: Support for more than one Homebase 3 on the same network/system/account HOT 2
- [Question]: How to start client when using docker image? HOT 1
- [Bug]: Error after updating to V1.8.0 - Error during decryption RSA_PKCS1_PADDING is no longer supported HOT 9
- [Bug]: 1.8.0 docker image not pushed HOT 6
- [Bug]: Eufy S350 VIDEO not working HOT 6
- [Question]: Eufy T8425 not working
- [Question]: When can we expect a new docker release? HOT 1
- [Bug]: Eufy T8520 battery draining rapidly after eufy-security-ws 1.8.0 update HOT 1
- CVE-2023-46809: Marvin attack on PKCS#1 padding HOT 2
- linux/arm/v7 support missing HOT 3
- Eufy Smart Lock T8502 (C210) recognized as alarm instead of smart lock
- [Question]: Setup captcha question HOT 1
- [Question]: Where to enter the 2fa code? HOT 5
- [Feature request]: Implement ability to download local video files from HB3
- [Question]: Help getting started! HOT 1
- [Bug]:
- [Bug]: station.chime responds 'device_not_supported' with S380 Homebase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eufy-security-ws.