Eufy Camera Integration

ok i’ll take a look. agree that the x seconds delay is not ideal. i just thought with the existing integration already established it would be easier to tack on a motion sensor via rest.

sorry just a final question - thanks for posting the sensor config you use - could you just tell me where exactly that needs to go? in configuration.yaml?

i have been able to setup a broker and have the eufy mqtt add on running and can see my cameras in the log (no errors), though it doesnt look like auto discovery has added any entities. do I have to do this manually?

@henrikrox
Can you show what you did to get the livestream working? I’m stuck on the same spot!

1 Like

ok I think im confused - you are using iobroker + mqtt to get motion events into HA. Others use the eufymqtt bridge add on only.

so 2 ways to do this. Does anyone have a dummies guide anywhere they’ve seen that would help me set this up? ive searched and got as far as setting up the eufymqtt bridge and mosquito broker, both within my HASS install. They seem to be communicating, and the eufy add on lists my cameras, so all good.

Except I dont know how I actually get the entities/sensors into HA from here. Obviously Im not asking for anyone to take any time on this - this isnt customer services! but if anyone has seen a blog or guide posted anywhere on how to specifically get eufu events into HA via mqtt that would be great - I will also keep searching.

just an update - I have spent more time on this and have now got it working! thanks all for the wealth of info both on here and more widely about HA.

I have configured inbuilt RTSP on 2k indoor camera and now I can get livestream, can you check if this option was added to your camera firmware?

Thanks for your reply @ardeus

I have two cameras, indoor 2k and battery doorbell. The indoor camera wasn’t set to “continuous recording” so adding that might fix the RTSP stream from turning off? I’ll give it a try.

However, I do not want to continuous record on my battery doorbell, so I’ve been trying to start/stop stream. The .m3u8 path works great in VLC when I start a stream, but I just can’t get it to load in Home Assistant. Just continuous loading…

  - platform: generic
    name: Eufy Doorbell Stream
    verify_ssl: false #tried both true and false
    still_image_url: http://192.168.1.31:8082/eufy-security.0/REDACTED/last_event/REDACTED.jpeg
    stream_source: http://192.168.1.31:8082{{ states('sensor.eufy_doorbell_stream_status') }}

- platform: rest
  name: Eufy Doorbell Stream Status
  resource: http://192.168.1.31:8087/getPlainValue/eufy-security.0.REDACTED.cameras.REDACTED.livestream
  scan_interval: 10
  value_template: >-
    {% if (value) is not none and (value) != 'error: datapoint "Livestream URL" not found' %}
      {{ value.replace('"', "") }}
    {% else %}
      No Stream
    {% endif %}

Same problem here for doorbell battery. It looks like is because a network arquitecture problem.

1 Like

Thanks for the hints Stijn! I have now switched to Home Assistant, I must say it is a nice visual improvement over ioBroker. The doorbell chime on my Google speakers also works fine after some setup hurdles.

2 Likes

Hie Max, I put that experience feedback…
https://community.home-assistant.io/t/eufy-camera-integration/121758/1049?u=gugus

In case you should help me too :blush:

Have a nice day !

There are two paths here. One being the HA addon, and the other being a standlone docker install. You dont need to do any of the portainer/docker stuff if MaxWs addon works for you.

1 Like

Big thank for the feedback jbrukardt :call_me_hand:t2:

The problem actually seems to come from somewhere else because I can no longer install an add-on :woozy_face:

I’ll try as soon as possible with an old backup :laughing::
Cheers

You might want to have a look at the supervisor logs (System tab, log window at the bottom). There should be some information about the error.

1 Like

I eventually went the portainer route cause i never could get the port accesses to work right on MaxWs, but thats something with my supervised setup. Max’s stuff works for like 90% of folks

1 Like

This thread is packed with information, but it’s a little overwhelming. Does anyone have a breakdown of the current implementations available? I know things constantly change, so maybe someone can do a periodic recap in case folks are just stumbling upon this now.

It’s my understanding that you can go with iobroker (actively developed) or the MQTT bridge (not sure about development on that). And iobroker itself doesn’t actually do anything other than talk to the camera. You still have to create the sensors in your configuration.yaml and add them to your array. Do I have that correct?

And it’s also my understanding that the MQTT bridge (which I can’t get installed, by the way. Maybe @MaxW can assist me with that) also does “nothing” by default. In fact, you need both a broker and a publisher. Because it’s more like a server/client relationship and you can’t do both on the same “add-on.”

It’s also my understanding that which route you choose depends on what features you want. Like livestream doesn’t work in MQTT bridge but does in iobroker. Or is that not the case anymore?

This is why I need a periodic refresher. Haha

6 Likes

I would also like a little help. This weekend my friends introduce me to the 2k wireless eufy and straight away checked If it could be connected to HA.

As per @littlemike is this still active if so what’s the best way.

Hey Max … your work looks so nice :blush: but I’m fighting an update for Hassio and Supervisor :thinking:

As soon as I know more, I’ll give you some feedback. If anyone has an idea, I’m interested too: o)

@littlemike @phairplay

The best guide is still mine at https://blog.fuzzymistborn.com/controlling-eufy-security-devices-with-iobroker/

If there is any information that is horribly out of date (I know the video stuff is but I haven’t had time to fix it/update it) please someone let me know. The ioBroker is still the most fully functional option out there, though I know some find the MQTT bridge easier and simpler to use, presuming you already have an MQTT setup going. MQTT is not very difficult to set up and there are many, many guides out there on the topic.

2 Likes

I currently have things set up using your guide, so thanks for that. Only issues I really have with it:

REST is slow as molasses. I’m looking for real-time. I think that can be accomplished with MQTT, but I have zero clue how to use it properly. Well, maybe a clue, but not much more than that.

I can’t get live stream to work whatsoever. I can get the camera to turn on via REST commands in iobroker sometimes. Half the time I click the button and it does nothing. So that’s why I was asking for a recap, because this thread has gotten huge and I don’t know if the issues I’m having are because those methods no longer work or if I’m doing something wrong.

Correct, the REST api requires polling versus MQTT is more of a push so it’s going to be much faster.

Yeah, if you read up a few posts above live streaming is working for some (I think) but I haven’t had time to mess around with it and get it working. It should work, but welcome to cloud things where it’s not 100% reliable.

1 Like