Eufy Camera Integration

Hi @conorlap can you please post your config for the live stream? I am failing to get the live stream working mate.

The link only works if you start the stream. If you go into iobroker and press the start button to manually start the stream, the livestream URL should pop up in the livestream field. Your logs show “No Stream”, that’s a custom message from your value template that you’ve configured, meaning the livestream URL wasn’t retrieved

Right ok I see what you saying. How about the redacted ? Is that the camera’s serial number?

Yes. If you copy last_livestream_pic_url from iobroker, you’ll get something similar but with a different file extension and last_live instead of live

Well I get “not found” if I was to paste that in a browser.

[eufy-security] File "/opt/iobroker/iobroker-data/files/eufy-security.0/REDACTED/live/REDACTED.m3u8" not found.

Well it wouldn’t work if you only add /eufy-security.0/REDACTED/live/REDACTED.m3u8, it needs to have http://<IOBROKER_ADDRESS>:8082 in front of it

Apologies I have put http://<IOBROKER_ADDRESS>:8082 in front of it and that’s the result I.e.
[eufy-security] File "/opt/iobroker/iobroker-data/files/eufy-security.0/REDACTED/live/REDACTED.m3u8" not found.

EDIT: it says the following: File iobroker/iobroker-data/files/eufy-security.0/REDACTED/live/REDACTED.m3u8 not found: Not exists

Ah right! Sorry.

Yep I get the exact same error if my stream hasn’t started:

[eufy-security] File "/opt/iobroker/iobroker-data/files/eufy-security.0/REDACTED/live/REDACTED.m3u8" not found.

If you click the bell button (this will be equivalent to calling the REST command "http://<IOBROKER_ADDRESS>:8087/toggle/eufy-security.0.REDACTED.cameras.REDACTED.start_stream"), try visting the livestream url again, it should appear.

Also note, the rest command port should be 8087, whereas the livestream url port should be 8082 (or whatever port you set for the web server and rest API). Although from your previous replies you’ve probably got this right. EDIT: the fact you’re getting the error message is a good sign you’re hitting the iobroker at least.

I hit the bell icon but I get the same error I.e. not exists in the livestream url. Instead I get an error in iobroker error log which is this:

2021-02-24 04:40:08.330 - error: eufy-security.0 (28395) uncaught exception: Cannot read property 'pipe' of null
2021-02-24 04:40:08.332 - error: eufy-security.0 (28395) TypeError: Cannot read property 'pipe' of null

I have got no idea what or where things are going wrong for me.

PS. My camera in this case is my eufy wired doorbell.

Maybe there’s still issues with the doorbell implementation. You’ll have to wait for updates: Eufy Camera Integration

1 Like

On a different note under my iobroker eufy integration I am using my “family and guests” account. Is that something that you are using?

Because if I was to use my main account I get disconnected and logged out from the eufy app on my android as well as on my it’s device and then I get issues logging back in. I think eufy only allows a maximum of 2 devices with the same account to be logged in at any time.

PS. I have the 2 factor authentication turned off as it gave me lots of problems.

Yep, i’m using a separate account as well.

1 Like

@MizterB No unfortunately, because I do not have this implementation. I only use ioBroker :wink:

1 Like

@bachoo786 Which version of the adapter do you have installed? Is it the latest one (0.2.5)? If so, can you please enable the debug logs, reproduce the problem and send me the logs?

@bropat I have 0.2.2 installed and I cannot find 0.2.5. How do I upgrade to 0.2.5? Please see the screenshot below:

Same way you installed it, just need to reinstall it. I was playing around last night and it looks like there might be a way to add https://github.com/bropat/ioBroker.eufy-security as a package so iobroker will pull updates, but haven’t had a chance to play with it yet.

1 Like

great it works now :slight_smile: however the stream is very laggy. @bropat did you still want to see the logs ?

It depends very much on the connectivity to the camera and the processing power of the system where ioBroker is running, since the data received from ffmpeg is “converted” live to an HLS stream.

Only if you still have a problem :wink:

1 Like

I am on v 2.5 which took away many of the earlier errors - thanks!, still no streaming of picture functionality though; I do get the same error though as @bachoo786 mentioned earlier. I run the wired doorbell along with two 2C’s -anyone with similar cams who managed to get this working? Will otherwise try a reinstall.

@bropat How do I turn on debug in iobroker? Happy to share the full log via PM

My log shows:

|2021-02-24 14:57:12.690 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 14:59:51.298 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:00:40.373 - info: eufy-security.0 (35177) Retry get image in 5 seconds from url: https://security-app-eu.eufylife.com/v1/s/g/RcQF7XHUz (retry_count: 1 error: Not Found message: Not Found)...|
|2021-02-24 15:03:19.416 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:04:51.548 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:09:26.262 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:09:51.836 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:14:52.128 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:19:52.425 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:24:52.712 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:27:45.843 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:29:26.053 - info: eufy-security.0 (35177) Retry get image in 5 seconds from url: https://security-app-eu.eufylife.com/v1/s/g/MffzKODXc (retry_count: 1 error: Not Found message: Not Found)...|
|2021-02-24 15:29:53.029 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:33:50.633 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:34:53.355 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:39:53.674 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:39:55.632 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:44:54.000 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:46:00.330 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:49:54.306 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:52:05.016 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:54:54.591 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 15:58:09.390 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 15:59:54.926 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:04:13.668 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 16:04:55.210 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:09:55.459 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:10:17.847 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 16:14:55.713 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:16:22.113 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 16:19:55.996 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:22:26.060 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 16:24:56.285 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:27:50.274 - info: eufy-security.0 (35177) Retry get image in 5 seconds from url: https://security-app-eu.eufylife.com/v1/s/g/BX98SP0H3 (retry_count: 1 error: Not Found message: Not Found)...|
|2021-02-24 16:29:56.626 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:34:35.533 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
|2021-02-24 16:34:56.976 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:39:57.273 - info: eufy-security.0 (35177) Refresh data from cloud and schedule next refresh.|
|2021-02-24 16:40:41.049 - warn: eufy-security.0 (35177) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_UNPLUG_POWER_LINE (2111) channel: 2 - data: 0300000000000000|
1 Like