Home Assistant Community Add-on: motionEye

Yes… it supports RTSP… The cameras are up and running in HA just fine I’d just like to use them for outside motion detection.

The Reolink software has notifications but it on my Windows box… which I don’t leave on all the time

Are action controls supported? I tried creating this directory. “/etc/motioneye/”

No luck…

Sorry for the silly question. I have Hass.io installed on Ubuntu Server and have installed motioneye through hass.io . All of a sudden the PC cannot connect to the network. I have found that my entire 720gb hard drive is full all of a sudden! The only thing I can think of is motioneye has been recording and filled it up? Can you please tell me where the default location for recordings would be?
Thanks

ipaddress/share/motioneye is where mine are stored.

Thanks, I ended up finding it with the help of google. I did a command line search to find largest folders and eventually found the folder

You use the ‘run a command’ function. I haven’t done it personally (yet) but this screenshot was from another thread about it.

Also from that thread, the code I posted a few posts before that screen shot…

There I use: homeassistant/turn_on ” & “ turn_off ” to control an “enitity_id”, in my case an “ input_boolean

my ‘on’ command:

curl -X POST http://192.168.*.*:8123/api/services/homeassistant/turn_on -H 'Authorization: Bearer [TOKEN]' -H "Content-Type: application/json" -d '{"entity_id": "input_boolean.motion_frontcam"}'

and ‘off’ command:

curl -X POST http://192.168.*.*:8123/api/services/homeassistant/turn_off -H 'Authorization: Bearer [TOKEN]' -H "Content-Type: application/json" -d '{"entity_id": "input_boolean.motion_frontcam"}'

3 Likes

hi @hede0n, did you managed to have action button (in my case for PTZ)?

Still trying to get action buttons working. I’m not sure if it is supported.

Use a webhook. motionEye has the ability to call one, HA has the ability to receive webhooks.

2 Likes

Hi guys,

back to the origin I want to add camera from motionye against inbuilt service on my dafang.

I added this component:

  - platform: generic
    name: Soggiorno
    stream_source: http://192.168.x.x:8081
    still_image_url: https://192.168.x.x:8123/api/hassio_ingress/xxxxxxxxxxx/picture/1/current/

but it doesn’t show anything. No image and no stream.

Where am I wrong?

Any luck? I too would like to integrate them into motioneye

This got the camera registered for me… But Im getting a text msg on the camera display in MotionEye “Unable to open the device”

One step forward…

EDIT:
So here’s the conundrum
Here is the URL that HA used to dispay output… which works… it matches the Reolink documentation rtsp://admin:[email protected]:554/h264Preview_01_sub
But motion eye will not recognize the camera
But when I use this…
rtsp://192.168.1.67:554/user=admin_password=Ap752996#_stream=1.sdp

Motion eye will recognizes the camera… but will not display because it cannot open the camera

Edit…Edit
Using rtsp:// IP Address /
gets the camera recognized as well… but still no Image

Ok… So here’s the problem the combination of HA/MotionEye are just BUTT ASSED SLOW!

I got it working… but at every “Apply Changes” you get a blank camera… and then sometime later…BAM the camera appears…

So possiably it was working all along… but I just wasn’t waiting the 45 seconds for the thing to cycle the changes!

So… For ReoLink cameras…
Log into MotionEye

  1. Select Add new Camera
  2. In the Camera dialog use rtsp:// YOUR IP ADDRESS:554/ as the cameras IP
  3. In the camera dialog Username/Password fields enter the username and password you used in the reoLink application.

That should get you into the motioneye configuration…
I’ve set my frame rate at 5 streaming quality at 25% and my resolution at 800x480…

and I’ve touched NOTHING ELSE… I have all three of my cameras up and running’ish

I’m gonna go get a beer now!
All things being equal… I like the display using the picture entity card better… but just cant get a way to detect motion

Hi,

Thanks for the add-on, looks great!
I’m trying to add camera’s from MotionEye to Lovelace, which has support for camerastreams.
As far as i understand i need to add a camera as an entity to HA to accomplish this.
Can anyone back me up on this? I’ve been looking for instructions on this, but i’m hitting a brick wall.
Only thing i can do is add a static image, but a stream would be much nicer.

Thanks in advance!

Any idea what causing this? Im using Dahua DH-SD29204T-GN, i can reach from tinycam with same credentials.

Did you ever figure this out?

In my fooling around I found this too… use a stripped down url to your camera… thats what got mine to recognize the camera fully… I used rtsp:// YOUR IP ADDRESS:554/ (554 is the streaming port for my camera yours might be different) I think its camera specific. The post up top used a different url and got it to work… but when I used it I got what you have… no image… which is confirmation that its talking to the camera… but cant parse out the need username and password…

Try to reduce the video resolution on Motioneye

I tried down to 320px resolution with no luck. Thanks for reply