Community Hass.io Add-on: motionEye

hassio-repository
hassio-addon
Tags: #<Tag:0x00007f203c268348> #<Tag:0x00007f203c2681e0>

#1

This add-on is provided by the Community Hass.io Add-ons project.

GitHub Release GitLab CI Project Stage Project Maintenance

Supports armhf Architecture Supports aarch64 Architecture Supports amd64 Architecture Supports i386 Architecture

About


motionEye is a popular frontend to the camera software called motion. This add-on provides both, allowing you to add your camera’s to your Hass.io setup.

motionEye is Open Source CCTV and NVR, that is elegant and really easy to use. It can be used as a Baby Monitor, Construction Site Montage Viewer, Store Camera DVR, Garden Security, and much more.

Some cool features of motionEye:

  • Support for a ridiculous amount of cameras, including IP cams.
  • Add multiple cameras by hooking up multiple motionEye instances together. For example, by using MotionEyeOS on a Pi Zero + Pi camera in your network.
  • Supports uploading recording into Google Drive and Dropbox.
  • motion detection, including email notification and scheduling.
  • Can record continuously, motion, or timelapse, with retention settings.

Installation


The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.

  1. Add our Hass.io add-ons repository to your Hass.io instance.
    Add the following URL: https://github.com/hassio-addons/repository
  2. Install the “motionEye” add-on.
  3. Start the “motionEye” add-on
  4. Check the logs of the “motionEye” add-on to see if everything went well.
  5. Click the “OPEN WEB UI” button to open the web interface
  6. Login with username “admin”, without a password.
  7. Edit you admin account with a secure password!

Support


You can always try to get support from the community here at the Home Assistant community forums, join the conversation!

Questions? You have several options to get them answered:

You could also open an issue on GitHub, in case you ran into a bug, or maybe you have an idea on improving the addon:

:information_source: At this moment our Community Hass.io Add-ons Discord chat server and GitHub are our only official support channels. All others rely on community effort.

Repository on GitHub


Looking for more add-ons?


The primary goal of our add-ons project is to provide you (as an Hassio / Home Assistant user) with additional, high quality, add-ons that allow you to take your automated home to the next level.

Check out some of our other add-ons in our Community Hass.io Add-ons project.


How can I create a live multi-camera streaming view for all my amcrest security cameras (without ffmpeg)?
Community Hass.io Add-on: Shinobi Pro
MQTT sensor with "String" variable that I would like to use with Lovelace History-Graph
#2

About the author of this add-on

Hi there!

I am Franck Nijhof, and I have 30 years of programming experience, in many languages. I am using this experience to work on the Home Assistant project by giving back my knowledge and time to the open source community.

The add-on you are currently looking at right now was developed/packaged by me. It is not the only add-on I have created; there are many many more :wink:

However, I have a problem… I am an addict. A :coffee: addict that is. Lucky for you, I turn that C8H10N4O2 (caffeine molecule) into code (and add-ons)!

If you want to show your appreciation, consider buying me a cup of high octane wakey juice by clicking on the “By me a coffee” image below! :heart:

Buy me a coffee

Or, become a Patron and support my work!

Support my work on Patreon

Enjoy your add-on, while I enjoy the brain juice. :coffee:

Thanks for all the :two_hearts:

…/Frenck

Join our Discord server Follow me on Twitter Flollow me on Instragram Follow me on GitHub Follow me on YouTube Follow me on Twitch patreon-icon

P.S.: In case you want to ask me a question: AMA (Ask Me Anything). Most of the time I am online at the Discord chat. (I go by @Frenck in there as well).


#3

:tv: Interesting YouTube video about motionEye by Linus Tech Tips

This video by Linus Tech Tips talks about / shows motionEye and the things it can do.

Please note:
motionEye allows you to combine multiple instances together. For example, you could run your main viewing instance using this add-on, while having some Raspberry Pi Zero’s with an Pi camera and running motionEyeOS around the house.


#4

Hi Frenck

Thanks for the Addon!

I have 1 Problem/wish, add rtsp support :slight_smile:
Protocol "rtsp" not supported or disabled in libcurl

motioneye


#5

Is it possible to add the MotionEye stream to groups.yaml file, so you don’t have to open it from the sidebar?


#6

Try selecting “Network Camera” for Camera Type, instead of “Simple MJPEG Camera”. That’s how I use my rtsp capable cameras with motionEye.


#7

I have a USB camera attached to my pi with Hassio and this addon - how should I configure the camera in motioneye?


#8

#9

Not sure about your question there.

  • Adding to the sidebar is not needed and totally optional.
  • You can just add your camera’s to your Home Assistant using the mjpeg component.

#10

Like already answered, select “Network camera” from the first dropdown and you’ll be good.


#11

Hello @frenck,

I’m buying you a coffee right away!!! :slight_smile:

I managed to set this up very quickly and this add-on does seem to solve the issue I was experiencing with Shinobi or even the native interface with a couple of Chinese RTSP cameras. I’ve spent sooooo much time with that, yet now it magically seems to be working just fine. You are a star!! :slight_smile:

There is one thing not working though and it is related to the sandboxing of iOS. I don’t have let’s encrypt running on my Home Assistant and the iOS app does not seem to be friends with accessing the stream over https. Usually browser warn you on self-signed certificates and stuff, but the HA app doesn’t. It simply won’t display the stream. Safari though does successfully show the cameras once you confirm you trust the end-point. I know there is a setting on the add-on which enables plain access, but before removing that thin level of privacy I decided to ask you here if you possibly can imagine how to overcome this limitation by forcing the HA app to open the website inside the app so that one gets prompted for accepting or rejecting the certificate.

Thanks a million again! keep up the good work :slight_smile:


#12

Sounds like the most simple solution is getting an LE certificate… Like it is free and pretty easy to get :lock:

Oh! And thanks for the coffee! That is really appreciated :heart:


#13

Hey. Tell me there will be an assembly for aarch64?
because there is a problem with ffm for aarch64 in hassio:
root @ a0d7b954-motioneye: / $ / usr / bin / ffmpeg -version
Illegal instruction (core dumped)
and in container:
[services.d] done.
_ INFO: hello! this is motionEye server 0.39.3_
_ ERROR: ffmpeg: could find version: Command ‘/usr/bin/ffmpeg -version’ returned non-zero exit status -4_
_ INFO: main config file /data/motioneye/motion.conf does not exist, using default values_
_ INFO: cleanup started_
_ INFO: wsswitch started_
_ INFO: tasks started_
_ INFO: mjpg client garbage collector started_
_ INFO: smb mounts started_
_ INFO: server started_
?


#14

Interesting! This ffmpeg is provided by Alpine Linux, this will take some investigation.


#15

I’m run motionEye on
OrangeP Zero Plus2 (H5) ARMBIAN 5.60 stable Ubuntu 18.04.1 LTS 4.14.70-sunxi64

I will be glad to help with any information.


#16

Thanks!: Motioneye, Shinoby, Zoneminder … difficul to choose!


#17

@frenck I watched you build this component on Twitch last week. Super cool to see your process for building components. Thanks for all you do for the HA community!


#18

Can’t install it on a tinker board with HassOS 2.2. Got ‘motioneye not supported on armhf’
Is this real?


#19

Seems to be a hassio issue where tinker board support is missing


#20

It seems to be the problem of naming containers or ffmpeg binary file