Home Assistant Community Add-on: motionEye

Hi Andrea, thanks for sharing!
However, I can’t get this to work. I’m trying this remotely, since I don’t have access to local HA for few months. Have you tried this remotely, does it work for you?

And yes, the switch remains as “off”, whatever I do.

I do have multiple cameras, hence the numbering “4” and “5”.

I will continue searching for a solution to have a switch that toggles motion detection (or video device, or even the whole add-on) on/off.

@mr.jones,what do you mean as remotely?

because right now I’ve created 2 automations: the first one to turn on the motion detection when I leave home and the second one to turn off it when I’m come back.
The automation works locally, so you can add a switch to activate both the automations (it is not a good solution but only to understand if it works) probably ther is a way to configure a toggle to do this avoiding 2 switch (but i don’t know how).

I suggest to configure also the e-mail notification when a motion is detected (it helped me to undestand when the motion detection is active and when not even if the toggle in motioneye add-on remain always OFF).

the only things that comes in my mind that you can do is: call the address as http://ipaddressHASSIO:7999/1/detection/start from a browser by a device connected on the same lan of hassio and then try to trigger the motion detection on motioneye on the wished ipcam (by moving one hand in front of the camera :slight_smile: ) whait to receive the e-mail notification and in case nothing happens changing the number in the address till you find the camera wished that is activated corretely.

I don’t know how the motion detection “maps” the number of the ipcam… for example my ipcam has camera id =2 but in the link i need to specify …:7990/1/detection/start it is a little bit strange

I know that probaly ther is a better and structured way to do it, but I don’t know it :frowning:

I got this finally working by using command line on/off/state configuration from here: https://github.com/ccrisan/motioneyeos/issues/1778#issuecomment-483360828

I also have the switch working in lovelace UI showing the actual state. Using the switch I can simply turn off the motion detection to stop receiving email alerts.
The key issue was (as Andrea also pointed out) to use different camera id than in motioneye web UI. I have no idea why the camera id is different, but now it works for all of my cameras.

I have no plan to implement any “smart logic” by sensing whether I’m at home or not. Simple switch in UI is quite enough for now. (Cameras are located in a remote location, at our summer house).

Thanks Andrea for your help!

2 Likes

Well done! :+1:
probably I will also add a switch on my lovelave UI!

I have the same error, Reolink RLC-422
VLC is working OK on this RTSP stream etc…

:tada: Release v0.7.0

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Updates pycurl to v7.43.0.4 (#66)
  • :arrow_up: Updates six to v1.14.0 (#67)
  • :arrow_up: Updates pycurl to v7.43.0.5 (#70)
  • :arrow_up: Updates jinja2 to v2.11.1 (#71)
  • :arrow_up: Upgrades nginx to 1.16.1-r6
  • :ambulance: Fix Patreon link
  • :arrow_up: Upgrades motion to 4.3.0-r0
  • :books: Update add-on documentation to use new YAML configuration format
  • :hammer: Re-branding
  • :hammer: Update add-on config with new password & list features
  • :hammer: Updates for upstream Supervisor changes
  • :arrow_up: Upgrades add-on base image to v7.0.2
  • :hammer: Update community forum links
  • :fire: Removed redundant copy statement. (#73)
  • :sparkles: Add action buttons (#75)
  • :hammer: Use bashio for action buttons
  • :books: Update readme
  • :shirt: Fix lint warnings

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

1 Like

For some reason my raspberry pi3 cpu runs 10 degrees cooler after updating to v.0.7.0.
There was also some strange behavior earlier between cpu temperatures in camera daylight/night-mode, where in night-mode cpu usually running around 55°C and in daylight around 65°C. Now the cpu temp stays constantly around 45°C.
I am not sure if it was because of the new version or just “restarting” the addon.

Anyways, big thanks for the update!

motion (the underlying tool that powers motionEye) got a pretty decent update the last release, so that should help :slight_smile:

Hello.

Features mentioned include timelapse ~ “Can record continuously, motion, or timelapse, with retention settings”.

Could anyone point me to a simple walk through of how to do it or help with one?

I found this but was hoping there was a simpler way out of the box? I’m fine with the first half in the UI ( “Capture Setup”), and I mainly get a bit lost at the scripting part - “Video setup”.
http://james-batchelor.com/index.php/2019/09/21/motioneye-timelapse-capture/

Making a GIF somehow would be fine too.

My goal is to record the sunrise each day and have it playing on my main screen/dashboard when I actually get up.

Thanks…

Hi all, I’m sorry but I cannot find this add on in my Home Assistant instance.

I’m running Home Assistant 0.106.0.dev20200216, using a docker image (homeassistant/raspberrypi2-homeassistant)

I cannot find where I can add this repo

https://github.com/hassio-addons/repository

and after select this add on :frowning:

You need to go to ‘Supervisor’ in the side panel menu, then ‘Add-on store’.

I don’t have supervisor

Well ‘Add-ons’ are a part of Home Assistant (old HassIO) where you would have the ‘supervisor’ tab. I take it that you are just running Home Assistant Core? In this case you won’t be able to use this…unless you upgrade to Home Assistant (old name ‘HassIO’)

Many thanks.
I’m running it via docker image on a raspberry pi2 B.
Do you know any image usable on a rpi?

Actually I’m using homeassistant/raspberrypi2-homeassistant
Checking in docker hub I see some images like netdaemon/homeassistant-addon-armhf
Does addon work as separate image?

Hi,
Is motioneye not working with H265 /H265+ codec ? I have 4pcs h265 camera nvr and when i connect device i see grey screen.

I have two cameras, one I could successfully authorize with Google Drive - but with the other camera, when I press “Test service” it just idle forever. Any tips?

Hi, I don’t remember my password (not sure also about user) how do I reset it, I am stuck

Default? for the add-on it’s just ‘admin’, no password.

Is it possible to record to a USB Stick? I’m using HassOS.

Not that I found. I couldn’t get HassOS to give me access to the external drive / USB stick. I switched to running Ubuntu / HA to get around this but haven’t actually tried with external storage just yet.