Coder Social home page Coder Social logo

hassio-addons / addon-motioneye Goto Github PK

View Code? Open in Web Editor NEW
259.0 15.0 43.0 918 KB

motionEye - Home Assistant Community Add-ons

Home Page: https://addons.community

License: MIT License

Dockerfile 43.17% Groovy 10.63% Jinja 46.20%
motion motioneye cctv motion-detection home-assistant homeassistant addon addons

addon-motioneye's Introduction

Home Assistant Community Add-on: motionEye

GitHub Release Project Stage License

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

Github Actions Project Maintenance GitHub Activity

Discord Community Forum

Sponsor Frenck via GitHub Sponsors

Support Frenck on Patreon

motionEye screenshot

Simple, elegant and feature-rich CCTV/NVR for your cameras.

About

motionEye is a popular frontend to the camera software called motion. This add-on provides both, allowing you to add your cameras 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.
  • Supports "action buttons" within the configuration.

๐Ÿ“š Read the full add-on documentation

Support

Got questions?

You have several options to get them answered:

You could also open an issue here GitHub.

Contributing

This is an active open-source project. We are always open to people who want to use the code or contribute to it.

We have set up a separate document containing our contribution guidelines.

Thank you for being involved! ๐Ÿ˜

Authors & contributors

The original setup of this repository is by Franck Nijhof.

For a full list of all authors and contributors, check the contributor's page.

We have got some Home Assistant add-ons for you

Want some more functionality to your Home Assistant instance?

We have created multiple add-ons for Home Assistant. For a full list, check out our GitHub Repository.

License

MIT License

Copyright (c) 2018-2024 Franck Nijhof

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

addon-motioneye's People

Contributors

clewsy avatar dayofdoom avatar dcmartin avatar dependabot[bot] avatar frenck avatar ludeeus avatar renovate[bot] avatar sinclairpaul avatar snyk-bot avatar swamp-ig avatar timmo001 avatar wrt54g avatar zewelor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

addon-motioneye's Issues

Usb cam not found

Problem/Motivation

MotionEye could not found usb cam, no problem with ONVIF cam

Expected behavior

should be able to catch each type of cam

Actual behavior

MotionEye Log:
/bin/sh: lsb_release: not found
/bin/sh: lsb_release: not found
WARNING: 403 GET /login/?_=1538932161165&username=&_signature=136e493434709d710f7785bedd7e9a79f8603b1f (127.0.0.1) 5.60ms
Failed to open /dev/video0: No such file or directory
INFO: adding new mjpeg camera with id 1...
Failed to open /dev/video0: No such file or directory

Steps to reproduce

NIL

Proposed changes

NIL

ONVIF Support - PTZ

Hello
currently there are several ONVIF protocol cameras that support pan tilt and zoom (PTZ), there are several windows applications that work very good moving the camera, zooming etc...altough in Homeassistant none seams to work.

it would be great to implement this control in motioneye.
is it possible?

After upgrading from 0.2x web tip 502: Bad Gateway It is invalid after repeated reboots. There is no way to back up the configuration under the trouble consultation.

After upgrading from 0.2x web tip 502: Bad Gateway
It is invalid after repeated reboots. There is no way to back up the configuration under the trouble consultation.

File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 298, in make_media_folders
camera_ids = config.get_camera_ids()
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 318, in get_camera_ids
if get_camera(camera_id):
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 406, in get_camera
_set_default_motion_camera(camera_id, camera_config)
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 1872, in _set_default_motion_camera
data.setdefault('target_dir', os.path.join(settings.MEDIA_PATH, data['camera_name']))
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'
[12:24:22] INFO: Starting motionEye...
INFO: hello! this is motionEye server 0.40rc5
Traceback (most recent call last):
File "/usr/bin/meyectl", line 11, in
load_entry_point('motioneye==0.40rc5', 'console_scripts', 'meyectl')()
File "/usr/lib/python2.7/site-packages/motioneye/meyectl.py", line 255, in main
server.main(arg_parser, sys.argv[2:], command[:-6])
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 439, in main
run()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 362, in run
make_media_folders()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 298, in make_media_folders
camera_ids = config.get_camera_ids()
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 318, in get_camera_ids
if get_camera(camera_id):
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 406, in get_camera
_set_default_motion_camera(camera_id, camera_config)
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 1872, in _set_default_motion_camera
data.setdefault('target_dir', os.path.join(settings.MEDIA_PATH, data['camera_name']))
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'
[12:24:23] INFO: Starting motionEye...
INFO: hello! this is motionEye server 0.40rc5
Traceback (most recent call last):
File "/usr/bin/meyectl", line 11, in
load_entry_point('motioneye==0.40rc5', 'console_scripts', 'meyectl')()
File "/usr/lib/python2.7/site-packages/motioneye/meyectl.py", line 255, in main
server.main(arg_parser, sys.argv[2:], command[:-6])
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 439, in main
run()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 362, in run
make_media_folders()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 298, in make_media_folders
camera_ids = config.get_camera_ids()
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 318, in get_camera_ids
if get_camera(camera_id):
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 406, in get_camera
_set_default_motion_camera(camera_id, camera_config)
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 1872, in _set_default_motion_camera
data.setdefault('target_dir', os.path.join(settings.MEDIA_PATH, data['camera_name']))
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'
[12:24:24] INFO: Starting motionEye...
INFO: hello! this is motionEye server 0.40rc5
Traceback (most recent call last):
File "/usr/bin/meyectl", line 11, in
load_entry_point('motioneye==0.40rc5', 'console_scripts', 'meyectl')()
File "/usr/lib/python2.7/site-packages/motioneye/meyectl.py", line 255, in main
server.main(arg_parser, sys.argv[2:], command[:-6])
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 439, in main
run()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 362, in run
make_media_folders()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 298, in make_media_folders
camera_ids = config.get_camera_ids()
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 318, in get_camera_ids
if get_camera(camera_id):
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 406, in get_camera
_set_default_motion_camera(camera_id, camera_config)
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 1872, in _set_default_motion_camera
data.setdefault('target_dir', os.path.join(settings.MEDIA_PATH, data['camera_name']))
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'
[12:24:25] INFO: Starting motionEye...
INFO: hello! this is motionEye server 0.40rc5
Traceback (most recent call last):
File "/usr/bin/meyectl", line 11, in
load_entry_point('motioneye==0.40rc5', 'console_scripts', 'meyectl')()
File "/usr/lib/python2.7/site-packages/motioneye/meyectl.py", line 255, in main
server.main(arg_parser, sys.argv[2:], command[:-6])
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 439, in main
run()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 362, in run
make_media_folders()
File "/usr/lib/python2.7/site-packages/motioneye/server.py", line 298, in make_media_folders
camera_ids = config.get_camera_ids()
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 318, in get_camera_ids
if get_camera(camera_id):
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 406, in get_camera
_set_default_motion_camera(camera_id, camera_config)
File "/usr/lib/python2.7/site-packages/motioneye/config.py", line 1872, in _set_default_motion_camera
data.setdefault('target_dir', os.path.join(settings.MEDIA_PATH, data['camera_name']))
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'
[12:24:26] INFO: Starting motionEye...

No Frontend in Hassio. SSH produces json errors after installing Motioneye

Home Assistant release with the issue:
0.78.3

Last working Home Assistant release (if known):
0.78.3

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io

Description of problem:

Problems after installing the Hass.io addon Motioneye:
https://community.home-assistant.io/t/community-hass-io-add-on-motioneye/71826

My frontend will not load. I get "page cannot be displayed" errors in all browsers.

When I SSH into Hassio, no command will work. "hassio ha update", and "hassio ad uninstall name -"motioneye" produces the following error:

Error decoding json invalid character ':' after top-level value: 403: Forbidden

Similarly, when debugging, I get the same error for my endpoints:

core-ssh:~# hassio ad uninstall -name "motioneye"
Error decoding json invalid character ':' after top-level value: 403: Forbiddencore-ssh:~# ^C
core-ssh:~# hassio -d ad uninstall -name "motioneye"
DEBUG [addons]: action->'uninstall', endpoint='motioneye/uninstall', serverOverride->'', GET->'false', options->'', rawjson->'false', filter->''
 DEBUG [ExecCommand]: basepath->'addons', endpoint->'motioneye/uninstall', serverOverride->'', get->'false', Options->'', Filter->'', RawJSON->'false'
 DEBUG [GenerateURI]: basepath->'addons', endpoint->'motioneye/uninstall', serverOverride->''
 DEBUG [RestCall]: data->'http://hassio/addons/motioneye/uninstall', GET->'false', payload->''
DEBUG [RestCall]: ResponseBody->'403: Forbidden'
Error decoding json invalid character ':' after top-level value: 403: Forbidden

**Problem-relevant configuration.yaml entries **

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: !secret latitude 
  longitude: !secret longitude
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 188
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/New_York
  # Customization file
  customize: !include customize.yaml
  packages: !include_dir_named packages

# Enables the frontend
frontend:

recorder:

# Enables configuration UI
config:

http:
  base_url: https://***.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  api_password: !secret api_password
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
    include_used_components: true
    
logger:

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Zwave
zwave:
  usb_path: /dev/ttyUSB0
  network_key: "0xED, 0xB9, 0x87, 0x56, 0xBA, 0xAF, 0x3B, 0x29, 0x51, 0x08, 0xF7, 0xC2, 0xC5, 0xF6, 0x8F, 0x41"

zha:
  usb_path: /dev/ttyUSB1
  database_path: /config/zigbee.db



# Text to speech
tts:
  - platform: google
  
# MQTT
mqtt:
  discovery: true
  discovery_prefix: homeassistant
  password: !secret mqtt_password

# Cloud
cloud:

# Example configuration.yml entry
cover:
  - platform: myq
    username: ***
    password: !secret myq
    type: chamberlain
    
# RGBW:
  light  :
  - name: Kitchen Cabinets
    platform: mqtt
    state_topic: RGBW/relay/0
    command_topic: RGBW/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: RGBW/status
    payload_available: 1
    payload_not_available: 0
    brightness_state_topic: RGBW/brightness
    brightness_command_topic: RGBW/brightness/set
    rgb_state_topic: RGBW/rgb
    rgb_command_topic: RGBW/rgb/set
    color_temp_command_topic: RGBW/mired/set
    white_value_state_topic: RGBW/channel/3
    white_value_command_topic: RGBW/channel/3/set

  - name: Closet
    platform: mqtt
    state_topic: Closet/relay/0
    command_topic: Closet/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: Closet/status
    payload_available: 1
    payload_not_available: 0

  - name:  Flood Light  
    platform: mqtt
    state_topic: ESPURNA-4859C5/relay/0
    command_topic: ESPURNA-4859C5/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: ESPURNA-4859C5/status
    payload_available: 1
    payload_not_available: 0

  - name:  Garage Light  
    platform: mqtt
    state_topic: ESPURNA-4859C5/relay/1
    command_topic: ESPURNA-4859C5/relay/1/set
    payload_on: 1
    payload_off: 0
    availability_topic: ESPURNA-4859C5/status
    payload_available: 1
    payload_not_available: 0

  - name:  Side Light  
    platform: mqtt
    state_topic: ESPURNA-4859C5/relay/2
    command_topic: ESPURNA-4859C5/relay/2/set
    payload_on: 1
    payload_off: 0
    availability_topic: ESPURNA-4859C5/status
    payload_available: 1
    payload_not_available: 0

ecobee:
  api_key: oIwsvLHWlpIX8J4xu8v9JCRHbot1tOoC
  
notify:
  - platform: pushbullet
    name: Push
    api_key: ***
    
automation: !include automations.yaml

script: !include scripts.yaml

group:
  living_room:
    name: Living Room
    entities:
      - light.philips_lwb014_03162b33_11
      - light.philips_lwb014_031fd3b9_11
  stairs:
    name: Stairs
    entities:
      - light.philips_lwb014_0298f2ba_11
      - light.philips_lwb014_03074345_11
  downstairs:
    name: Downstairs
    entities:
      - light.level_5
      - light.level_4
      - light.level_6
      - switch.office
      - light.philips_lwb014_03162b33_11
      - light.philips_lwb014_031fd3b9_11
  outside:
    name: Outside
    entities:
      - light.flood_light
      - light.side_light
      - light.garage_light
  upstairs:
    name: Upstairs
    entities:
      - light.philips_lwb014_03074345_11
      - switch.zooz_zen23_toggle_switch_switch
# Weather prediction
sensor:
  - platform: yr
  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /home
      - type: memory_free

Google Drive Upload Issue

Hello ,

I am using the the MotionEye as Home Assistant add-on. I have the below issue with google drive uploads. Seems it complains about the crendetials, but I provide the token and save it. But when close motion eye, it seems it loses the token. Any issue with saving the token? any fix?

See the log below:

ERROR: gdrive: failed to obtain credentials: Bad Request
   ERROR: failed to upload file "/share/motioneye/Camera1/2019-02-07/10-22-15.mp4" with service gdrive: Bad Request
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 876, in upload_media_file
    service.upload_file(target_dir, filename)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 99, in upload_file
    self.upload_data(rel_filename, mime_type, data)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 193, in upload_data
    'parents': [{'id': self._get_folder_id(path)}]
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 248, in _get_folder_id
    folder_id = self._get_folder_id_by_path(location)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 260, in _get_folder_id_by_path
    parent_id = self._get_folder_id_by_name(parent_id, name)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 280, in _get_folder_id_by_name
    response = self._request(url)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 329, in _request
    self._credentials = self._request_credentials(self._authorization_key)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 397, in _request_credentials
    raise Exception(error.get('error_description') or error.get('error') or str(e))
Exception: Bad Request
/bin/sh: lsb_release: not found
 WARNING: 403 GET /login/?_=1549553165559&_username=_&_signature=0e732524bbd04bc0425311d0ed8c7e3cee24a0a9 (127.0.0.1) 5.89ms
   ERROR: gdrive: failed to obtain credentials: Bad Request
   ERROR: failed to upload file "/share/motioneye/Camera1/2019-02-07/10-25-54.mp4" with service gdrive: Bad Request
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 876, in upload_media_file
    service.upload_file(target_dir, filename)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 99, in upload_file
    self.upload_data(rel_filename, mime_type, data)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 193, in upload_data
    'parents': [{'id': self._get_folder_id(path)}]
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 248, in _get_folder_id
    folder_id = self._get_folder_id_by_path(location)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 260, in _get_folder_id_by_path
    parent_id = self._get_folder_id_by_name(parent_id, name)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 280, in _get_folder_id_by_name
    response = self._request(url)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 329, in _request
    self._credentials = self._request_credentials(self._authorization_key)
  File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 397, in _request_credentials
    raise Exception(error.get('error_description') or error.get('error') or str(e))
Exception: Bad Request

No scroll bar on "Add to Home Screen" mobile view

Problem/Motivation

When the addon is used on android with and added to the home screen as described

https://www.home-assistant.io/docs/frontend/mobile/

The scroll bar disappears after the camera images are loaded mean you can't see cameras if you have more than 3ish on my OnePlus but its dependent on the resolution and aspect ratio of the device

Interestingly if you go the the web page version in the chrome browser this doesn't happen and you can still scroll

Steps to reproduce

For me its just a case of using it viewing cameras with the "Add to Home Screen" version (you will need more cameras that can be displayed on the screen).

Proposed changes

I have a feeling this might not be possible for you to fix as part of the addon and may be an issue with the underlying motioneye web service

Home Assistant
Android/iOS instructions to add Home Assistant to your homescreen.

Streaming slow and freezes

Problem/Motivation

If I add my rtsp cameras (I'm running hassio on a RPI3) the streaming in motioneye is very slow and freezes for several seconds. I'm assuming motioneye is re-encoding the streaming or manipulating it in the background and so the RPI3 is not capable to keep up.

Is there a way to tell motioneye to not re-encode it and just stream it directly to the client? I don't need motion detection or other features.

unable to add motion eye OS cameras

Problem/Motivation

Trying to add a motion eye OS camera results in an error " an error occurred refreshing is reccomended"
Also, unable to change username when adding a motion eye camera

Expected behavior

Should be able to add motion eye cameras, should be able to change username

Actual behavior

" an error occurred refreshing is reccomended"

Steps to reproduce

add camera, set URL to http://x.x.x.x

Proposed changes

allow changing of username
allow adding of motioneye os cameras

Wrong Time Zone

MotionEye is using the wrong Time Zone for me. Can i change that anywhere?

Improvement on the main motionEYE, not the addon

Motion eye can configured to detect motion and save video and a snapsot , this works perfect , BUT
for home automation integration , what makes really useful or different than the isolated application is the ability to interact .

in this regard , there are many functions needed , but there are at least two , indispensable

1- be able to enable or disable motion detection from hass , either by camera , or even global would be SUPER useful .

2 - be able to switch on off , camera recording by camera .

3- be able to sense , when a motion detection has been activated by a given camera . ( as Frenk mention , this may already be possible , just have to figured , how ) .

Google Drive Obtain Key wont work with ingress

Problem/Motivation

If I try to get the Authorization Key with the Obtain Key function I get redirected to a google errror page

Expected behavior

This will happen if I press the Obtain Key button on the ingress motioneye version

Actual behavior

I'll be redirected to a Google error page:

404. Thatโ€™s an error.

The requested URL /o/oauth2/auth was not found on this server. Thatโ€™s all we know. 

Steps to reproduce

Install the newest MotionEye version with hassio and add a camera then open the file storage tab, enable upload media files and select Google Drive in the Upload Service selector.

Proposed changes

Only happened with ingress
Only happened with ingress

FEATURE request: mosquitto publish and webhook

Feature request

this request isnt a problem, but more likely a question about feature in motioneye

Functions

Webhook:

would it be possible to enable the bin/libs for using the webhook feature?, that way i can make a trigger directly into HA?

MQTT:

another option as i see like a really good feature is using the mosquitto_pub cmd directly inside motioneye and using the function called "Run A command" i know you can use it for alot more, but i think that mqtt could be a good way into HA and other stuff as well :)

MotionEye seems like a great CCTV software compare to ZM, so a great candidate and hopefully it can replace it ๐Ÿ‘

video quality gets more and more blurry until reloading the camera

I use motioneye to connect one of my IP cameras. The video quality deteriorates over time, as shown in the snapshot below below:
blurr

The video quality goes back to normal if I reload the camera (by changing certain config and then "apply" the change). Snapshot attached too.
clear

Then after a while like 10 minutes, the video quality starts to go bad again. The rotting process is gradual and accumulative, and picture becomes more and more grainy or noisy. The picture below is about 10 min after reloading the camera.
mid

I found the video quality is good and quite stable when it is in night vision mode (white/black).

The problem exists after I disabled motion capture.

Other home-assistant addon shinobi or other software like VLC streaming has no problem when streaming over the same RTSP URL of the camera.

What can be the problem? Thanks!

motion_webcontrol == broken

Problem/Motivation

Enabling the "motion_webcontrol" feature prevents the addon from starting.

Expected behavior

Addon starts and runs as normal.

Actual behavior

[08:59:15] INFO: Enabling motion webcontrol...
/var/run/s6/etc/cont-init.d/motioneye.sh: line 35: bashio::.log.warning: command not found
[cont-init.d] motioneye.sh: exited 127.

Steps to reproduce

Set "motion_webcontrol" to "true" in the Config section, save, then try to start the addon:
e.g.
{
"motion_webcontrol": true,
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

Can I add raspberry pi camera?

Hey. I have raspberry pi 3 with hassio on board, and also have a raspberry pi camera. Can i use it? And if so, how? Thanks

Please add http motion control.

Problem/Motivation

Http motion control interface (readily available in non-addon motioneye on default port 7999) is of great use for people using motioneye in conjuction with home automation, because recording can be triggered with a rest command from hassio.

Expected behavior

Interface available at port 7999 (or configurable via config)

Actual behavior

Interface not available (and not possible to add in config)

Steps to reproduce

http://motioneye-ip:7999

Proposed changes

Allow enabling of the the control interface as described above.

Odroid C2 - Installation on aarch64 not possible

Problem/Motivation

MotionEye could not be installed on

Odroid C2
System: HassOS 2.2
Deployment: development
HASSio Supervisor Version: 133 / Channel: beta

HomeAssistant: 0.79.3

Expected behavior

should install on OdroidC2/aarch64

Actual behavior

Install stops after a second with following log entry
ERROR (MainThread) [hassio.addons.addon] Add-on a0d7b954_motioneye not supported on aarch64

Steps to reproduce

NIL

Proposed changes

NIL

Expose video stream ports

Problem/Motivation

Cannot access video streams from MotionEye

Expected behavior

Video streams from MotionEye can be played back.

Actual behavior

Video streams from MotionEye cannot be played back.

Steps to reproduce

  1. Go to settings for a camera in MotionEye
  2. Open the Video Streaming tab
  3. Click on Streaming URL
  4. Copy the link
  5. Open in e.g. VLC (or add in Home Assistant)
  6. Video stream cannot be opened

Proposed changes

Allow for a range of ports used by MotionEye to be mapped to host ports (like the web interface port).

Thank you :)

Link to the request for a change

Problem/Motivation

It is currently not possible to use USB camera or Pi camera directly with this addon, and this is a question about the this part of the documentation.

Expected behavior

In the documentation here, it is stated that A request for a change has been made to make this possible in the future. I'd like to subscribe to this request and to track its progress, so a link to the issue / pull request / forum post is very much appreciated.

Actual behavior

There is no link to such material, and a user cannot track the progress of this request.

Steps to reproduce

Read the documentation here.

Proposed changes

Add a proper link of the request so the user could know more details.

/config does not exist or is not writable

Problem/Motivation

All of a sudden I am receiving this error.

[services.d] starting services
[services.d] done.
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/ssl/hass.jjpeet.com.crt.pem"
    INFO: hello! this is motionEye server 0.39.3
CRITICAL: config directory "/config" does not exist or is not writable
    INFO: hello! this is motionEye server 0.39.3

Expected behavior

(What you expected to happen)

Actual behavior

MotionEye isn't running (no web interface is responding)

Steps to reproduce

This error just started happening.

Proposed changes

Can some more doco be provided that explains how I can fix this issue?
I'm looking at my Pi's SSD and can't see the folder where the config should be. I do daily backups so could easily restore the plugin, but this doesn't seem to make any difference either.
If info could be provided that explains where the config files live on the file system I can then verify that this folder is in fact writable.

Motioneye ingress menu item only available to admin hassio users

Problem/Motivation

(Why the issue was filed)

The side bar motioneye ingress menu is only available to hassio group:admin users.

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Make the side motioneye ingress menu item available to hassio group:user users as well

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

Can't connect to self-signed SSL (on local network)

Problem/Motivation

I've got an hacked DaFang running on my local network, it runs on a self-signed https certificate and MotionEye won't let me connect to it

Expected behavior

I was expecting to use the validate_certs option in the config JSON but apparently I can't

Actual behavior

As above, the "validate_certs" option disappears and I'm left unable to connect to my camera

Proposed changes

Include the aforementioned option in the HassIO version of the plugin, maybe?

Static Resources not being found on Embed URL

Environment data:

Home Assistant: 0.91.4 Raspberry Pi 3B+

arch | armv7l
-- | --
dev | false
docker | true
hassio | true
os_name | Linux
python_version | 3.7.2
timezone | UTC
version | 0.91.4
virtualenv | false

Remote MotionEyeOS: 0.40rc5

Problem/Motivation

When trying to access the embed URL (e.g. https://[host]/api/hassio_ingress/[HASH]/picture/1/frame/static/img/no-camera.svg) a 404 is thrown.

This includes files like the jquery ones, main.js, ui.js, css-browser-selector.js, etc, and of course css and img files

Making the embed url to be a blank page.

The log on the addon shows this:

[23/Apr/2019:08:43:27 +0000] 304 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/ HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:27 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/css/jquery.timepicker.css?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/css/jquery.timepicker.css?v=0.40rc5 (127.0.0.1) 3.26ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:27 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/css/ui.css?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/css/ui.css?v=0.40rc5 (127.0.0.1) 2.64ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:27 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/css/main.css?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/css/main.css?v=0.40rc5 (127.0.0.1) 2.71ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:27 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/css/frame.css?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/css/frame.css?v=0.40rc5 (127.0.0.1) 2.79ms
   ERROR: HTTP 404: Not Found (not found)
 WARNING: 404 GET /picture/1/frame/static/js/css-browser-selector.js?v=0.40rc5 (127.0.0.1) 3.22ms
[23/Apr/2019:08:43:27 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/css-browser-selector.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/jquery.min.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/js/jquery.min.js?v=0.40rc5 (127.0.0.1) 3.63ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/jquery.timepicker.min.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/js/jquery.timepicker.min.js?v=0.40rc5 (127.0.0.1) 3.97ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/jquery.mousewheel.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/js/jquery.mousewheel.js?v=0.40rc5 (127.0.0.1) 3.60ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/ui.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/js/ui.js?v=0.40rc5 (127.0.0.1) 3.65ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/main.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/js/main.js?v=0.40rc5 (127.0.0.1) 3.21ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/js/frame.js?v=0.40rc5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/js/frame.js?v=0.40rc5 (127.0.0.1) 3.25ms
   ERROR: HTTP 404: Not Found (not found)
[23/Apr/2019:08:43:28 +0000] 404 167.88.108.148, 172.30.32.1(172.30.32.2) GET /picture/1/frame/static/img/no-camera.svg HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36)
 WARNING: 404 GET /picture/1/frame/static/img/no-camera.svg (127.0.0.1) 3.12ms
...

Expected behavior

Being able to see the remote motioneye webcam on the embed URL, so I can add it to my Home Assistant dashboard as an iframe.

Actual behavior

Blank page.

Steps to reproduce

  • Add a remote MotionEYE camera to the addon
  • Enable advanced settings
  • copy Embed URL from "Useful URLs" section in Video Streaming
  • Paste that on a new browser tab

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

resize image card

Problem/Motivation

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

Config to save data in usb HDD is possible ?

Problem/Motivation

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

smb shares mount

I tried mount smb shares, but not successful
Shares without authentication

ERROR: failed to mount smb share "//192.168.1.2/camera" at "/media/motioneye_192_168_1_2_camera"
ERROR: access to network share //192.168.1.2/camera failed: cannot mount network share

mount error: cifs filesystem not supported by the system
mount error(19): No such device

v0.5.0 breaks generic cameras(?)

Problem/Motivation

(Why the issue was filed)

v0.5.0 seems to break generic motioneye cameras

Expected behavior

(What you expected to happen)

When upgrading to v0.5.0 i expected motioneye to continue to work with generic cameras.

Actual behavior

(What actually happened)

All three of my generic cameras in motioneye no longer display an image/video after upgrading too v0.5.0.
Screen Shot 2019-06-28 at 12 26 25 AM

Steps to reproduce

(How can someone else make/see it happen)

Upgrade motioneye add-on from v.0.4.X to v0.5.0 and check the image/stream of a generic camera. Using HyperV snapshots i was able to revert back to a few minutes before the update of the add-on and the camera streams work fine.

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

I'm not sure of the fix although i'm troubleshooting to try to get any more helpful pieces of information. Maybe the issue is upstream(?)

Motioneye issues with adding new camera

Problem/Motivation

Trying to add a new camera after fresh restart, discovered that after filling in all the details that no Camera would populate the camera field and could not press ok. Normally it would state whether or not it failed to connect to camera but nothing occurs.

Expected behavior

After filling in camera details expecting motioneye to determine if it could connect to the camera or not and give a reason.

Actual behavior

Nothing occurs, sometimes it states that the url field is incorrect even though it is correct. Occurs only sometimes. Won't ever let me press ok to add the camera. Pressing the ok button does nothing.

Steps to reproduce

Fresh install of motioneye. Attempt to add a new camera, doing either http or rtsp results in same behavior.

Possibility to specify cloud backup cleanup time different than capture cleanup time

Problem/Motivation

I have a suggestion for cloud uploads:

Now we have only the possibility for specifying the time of storage cleanup considering if it is video or image. I need to specify a different cleanup time for local storage than for cloud storage, because I have lot of space in local, but in google drive is quite limited.

Proposed changes

Allow a setting for specifying different cleanup time for cloud uploads

Adding Hardware Acceleration

Problem/Motivation

I use an old media PC for Home-Assistant and Hass.io with an Intel Atom processor that supports h264 movie decoding on hardware. I have three surveillance cameras built in, and when one of them records, the CPU is 100% utilized and the whole system freezes. Without recording, the CPU is between 80 and 99%, which is far too high for continuous operation. The hardware acceleration for videos is not directly available in docker containers but has to be passed on.

http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration

i think it will be useful to integrate hardware acceleration for motioneye ore get the option to do so.

Motion config missing ?

Problem/Motivation

It seams that the motion options is missing from config , so no way to setup web hooks or other method to let hass know there was a movement.

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

If this is the case , make this config screens and options available on the add on .

(If you have a proposed change, workaround or fix,
describe the rationale behind it)
Motion only become really powerful when the event can be not only detected but communicated to increase the possibilities take actions .

Tks

how to allow network cameras with self signed SSL?

Problem/Motivation

I have a wyze cam with defanf-hacks installed that I cant add to motioneye because it wont allow self signed ssl certificates

Expected behavior

Being able to add my camera

Actual behavior

Cant add camera with self signed certificate

Steps to reproduce

Try to add a a self signed network camera

Proposed changes

Motioneye wiki says that you can bypass this check by setting validate_certs to false in the configuration file. Being able to add this to the addon would solve it, i think

Config to save data in usb HDD is possible ?

Problem/Motivation

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

File storage problem with "Network Share" storage device

Problem/Motivation

trying to mount samba share to save my movies to

Expected behavior

I put my samba URL in the "Network Server" field (ie: "smb://[serverIP]")
I put my share name, share user name and share password in the appropriate fields

Actual behavior

Doesn't work...
The debug seems to indicate that two back slashes are getting added to the head of the share URL string as follows:

DEBUG: testing access to network share //smb://xxx.xxx.xx.x/sharename
DEBUG: listing smb mounts...
DEBUG: making sure mount point "/media/motioneye_smb___xxx_xxx_xx_x_sharename_shareuser" exists
DEBUG: mounting "//smb://xxx.xxx.xx.x/sharename" at "/media/motioneye_smb___xxx_xxx_xx_x_sharename_shareuser" (sec=None)
mount error: could not resolve address for smb:: Unknown error
DEBUG: mounting "//smb://xxx.xxx.xx.x/sharename" at "/media/motioneye_smb___xxx_xxx_xx_x_sharename_shareuser" (sec=ntlm)

Are the network storage supposed to be SMB shares?

ERROR: mjpg client timed out receiving data for camera 1 on port 8081

Problem/Motivation

My sonoff RTSP camera appears as gray screen on motioneye add-on. On the top of the camera window I can see message "unable to open video device". In logs I can see "ERROR: mjpg client timed out receiving data for camera 1 on port 8081".
I'm using proper RTSP url. Same url is working on home assistant FFMPEG and VLC. When I click on gray camera window I can see changing FPS but no video stream at all.

Expected behavior

I guess I should be able so see video stream from the camera

Actual behavior

After I add new network camera I can see only gray camera screen with "unable to open video device" message. In motioneye logs I can see "ERROR: mjpg client timed out receiving data for camera 1 on port 8081".

Steps to reproduce

While addind new camera choose:
Camera type: Network Camera
url: rtsp://192.168.1.65:554/av_stream/ch0
user: rtsp
pass: 12345678
camera: TCP or UDP (doesn't matter non is working)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

PTZ buttons not working in 0.7.0

Problem/Motivation

PTZ not available since upgrade to 0.7.0

Expected behavior

After adding up_1, down_1, left_1, right_1, preset_1 (for camera-1) bash script files in the /data/motioneye folder, I expect to see PTZ buttons popping up on the camera view to move camera with PTZ. Used to work in previous versions.

Actual behavior

PTZ files (any file, in fact) get deleted when the container is restarted.

Steps to reproduce

Add Camera1. Create a up_1 file in /data/motioneye folder with a content like:

#!/bin/bash
curl 'http://admin:[email protected]:99/decoder_control.cgi?command=0'

URL and parameters depend on camera model. Restart motioneye.

Proposed changes

It is not a folder bind problem (docker inspect shows correct binds for columes), could be something in the applicaiton

Networkcam add fail

This work in vlc.
addcam3
This will not work
addcam
And give this result.
addcam2

Running superfine in VLC.

What is wrong, and hvor to fix it ??

Unable to easily create action buttons

Problem/Motivation

To implement action buttons, scripts need to be dropped into the motioneye config directory. With the addon I could only achieve this by using docker exec to get a bash prompt in the addon container from the host. It would be nice if the action button scripts could be written/copied using the ssh addon (or samba addon).

Expected behavior

Simpler access to create custom action button scripts. E.g. writing a script with the ssh addon.

Actual behavior

Need to use docker exec from the host machine to get into the container.

Steps to reproduce

Try to create a new action button script.

Proposed changes

I have been testing a branch on my for where I relocated the motioneye config directory from /data/motioneye to /config/motioneye. I also enabled mapping of the config directory. This appears to work fine and makes setting up my action buttons a lot easier.

If the above is considered acceptable practice (I'm still learning addon configs/best practice) then I would be happy to submit a pull request: https://github.com/Clewsy/addon-motioneye/tree/enable_action_buttons

An alternative solution could be to drop action button scripts into a sub-directory of the share folder and use the cont-ini.d/motioneye.sh script to copy these to the /data/motioneye directory.

GitHub
motionEye - Community Hass.io Add-on for Home Assistant - Clewsy/addon-motioneye

motionEye not showing live streams while using web interface ingress with Home Assistant

Problem/Motivation

I started having a problem with my cameras a few days ago. I logged into motionEye via the web interface. Normally it would show live images from my cameras, now all I get is the spinning wheel it shows when trying to load the streams.

I expected to see live streams from my cameras

Actual behavior

All I get is the spinning wheel it shows when trying to load the streams.

Steps to reproduce

Select motionEye from left side menu, login and wait for video streams to show

Proposed changes

Fixing the streams so they show like they previously did.

Integration question/feature request - Hassio's Homekit to display motioneye camera in Home app on iOS

Problem/Motivation

There exist a way to show Motioneye camera in Home app using Homebridge plugins. Does a similar way exist for this addon?

Expected behavior

use Hassio's builtin Homekit addon to allow motioneye camera to show in Apple Home app

Actual behavior

using homebridge this works - is there a way to use motioneye camera with this plugin for homekit?

Steps to reproduce

how to setup the Hassio Homekit to show the motioneye camera??

Proposed changes

[resolved] SMB shares?

This is not really an issue, but ive got no idea how can i set up SMB shares. Apparently according to the log, SMB shares support should be enabled:

[services.d] done.
    INFO: hello! this is motionEye server 0.39.3
    INFO: cleanup started
    INFO: wsswitch started
    INFO: tasks started
    INFO: mjpg client garbage collector started
    INFO: smb mounts started

, but i cannot find an option to set this up anywhere in the UI. Could someone please help?

Webhook attempts are not logged.

Problem/Motivation

Webhook attempts are not logged. Making it difficult to troubleshoot/determine what might be causing them to not work.

(Why the issue was filed)

Expected behavior

Webhooks to be logged as successful/failed with reasoning why(if applicable/given by the HTTP response)

(What you expected to happen)

Actual behavior

Webhooks are not logged at all. Even on Trace level.

(What actually happened)

Steps to reproduce

under a camera. Add a webhook to motion events. Use an https IP address webhook link. Then trigger a motion event and check the logs.
(How can someone else make/see it happen)

Proposed changes

if possible please ensure that success/failure of webhooks is logged under the logs in the addon page. It would make trouble shooting and debugging far easier.

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

how to flip image

question:
my camera is upside down. is there an option to flip the image ?

Configure

Problem/Motivation

I canโ€™t Config the addons to save data in usb HDD, any idea?

Expected behavior

Iโ€™d like save sn or videos in an external hdd

Actual behavior

I canโ€™t to do that

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

FTP or Gdrive upload problem after add-on restart

Problem/Motivation

FTP upload or Gdrive upload stop working after a restart of the add-on.

Expected behavior

Even if I restart the system or the addon, It should automatically upload to FTP or Gdrive,

Actual behavior

After a restart, I have to manually "test service" of FTP or Gdrive. Without this step, no upload.

Steps to reproduce

Setup the FTP upload, test service, see uploaded files. REstart the add-on, the FTP upload won't work anymore.

Proposed changes

S/O
S/O

Thanks!

Can't access camera feed from outside the network

Im not really sure how the Video Streaming functionality is supposed to work
I've enabled it, forwared the port on the router yet I cannot access the camera feed from outside the network. I've tried all 3 options; snapshot, streaming and embed url.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.