Eufy Camera Integration

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

Haha you can say that again.

For me, I don’t have a lot of HA experience in the first place, so there are a few hurdles I need to jump to even figure out how to implement any of these solutions. That’s why the guide was helpful. Digging through this thread, I wanted to try out MQTT and had no idea that you had to have both a broker and a publisher. I know better now, but again, that’s what I mean by multiple hurdles. HA is great, but almost too featured in some ways.

Next thing to play with is Node-RED (another reason why I wanted to play around with MQTT)

Eventually I might be able to go doorbell->Hue lights flashing red->Google Home starts playing the Star Trek battle song. Haha

Let us know if you figure it out with node-red! My (wireless) doorbell is also unable to get any livestream. Oddly enough, the m3u8 path works fine in VLC when the stream has started.

Oh I’m still an absolute novice so far. But if I figure it out, I’ll let you know. Right now I’m actually working on a 3D floor plan and hooking up my Philip’s Hue lights to it.

Hey @MaxW, did something recently happen with your github repo? A few days ago I posted I couldn’t get your MQTT bridge addon to install via the Supervisor/Addon store. The reason was after adding the repo, nothing showed up. Today, all of your addons showed up. I know I have restarted HA multiple times since then, so not sure why it’s now working.

Maybe this means I can stop my manually launched Docker containers and use the addons instead. Yay!