I’m also interested in this, haven’t been able to add mine either yet. Does anyone have a solution for this?
First you need this add-on: https://github.com/JurajNyiri/HomeAssistant-Tapo-Control
Later you create a card.
type: picture-elements
camera_view: live
camera_image: camera.sala_estar
elements:
- type: icon
icon: 'mdi:arrow-left-drop-circle'
tap_action:
action: call-service
service: tapo_control.ptz
service_data:
entity_id: camera.tapo_camera_hd
pan: LEFT
style:
bottom: 45%
left: 2%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:arrow-right-drop-circle'
tap_action:
action: call-service
service: tapo_control.ptz
service_data:
entity_id: camera.tapo_camera_hd
pan: RIGHT
style:
bottom: 45%
right: 2%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:arrow-up-drop-circle'
tap_action:
action: call-service
service: tapo_control.ptz
service_data:
entity_id: camera.tapo_camera_hd
tilt: UP
style:
top: 5%
left: 46%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:arrow-down-drop-circle'
tap_action:
action: call-service
service: tapo_control.ptz
service_data:
entity_id: camera.tapo_camera_hd
tilt: DOWN
style:
bottom: 5%
left: 46%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:arrow-expand-all'
tap_action:
action: more-info
entity: camera.tapo_camera_hd
style:
top: 5%
right: 2%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:theme-light-dark'
tap_action:
action: call-service
service: tapo_control.set_day_night_mode
service_data:
entity_id: camera.tapo_camera_hd
day_night_mode: auto
entity: camera.tapo_camera_hd
style:
bottom: 5%
left: 2%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:weather-sunny'
tap_action:
action: call-service
service: tapo_control.set_day_night_mode
service_data:
entity_id: camera.tapo_camera_hd
day_night_mode: 'off'
entity: camera.tapo_camera_hd
style:
bottom: 5%
left: 11%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
- type: icon
icon: 'mdi:weather-night'
tap_action:
action: call-service
service: tapo_control.set_day_night_mode
service_data:
entity_id: camera.tapo_camera_hd
day_night_mode: 'on'
entity: camera.tapo_camera_hd
style:
bottom: 5%
left: 20%
color: white
opacity: 0.5
transform: 'scale(1.5, 1.5)'
I’ve already done this but that’s a card on Lovelace. I want to add PTZ arrow inside MotionEye addon
I managed to get this to work once I downloaded the config from the motioneye settings and had a look. The port number is normally 8765, but when it is installed in HA it is changed to 28765.
So to get connected I added the URL: http://127.0.0.1:28765 with my username and password.
Hope that helps
You can set the port manually in the addon under the configuratio tab, which I tried before. But it works once you turn off SSL - this is a bug obviously.
I can’t add cameras to motioneye, am I doing something wrong?
I click add camera and then I get this popup where I select “Network camera”:
I enter the camera url, user and pass but then I can’t click OK because the “Camera” field is required and it is a empty drop down list so I can’t select anything…
The “Camera” field has a tooltip of “the camera you wish to add” so it feels like that field is for selecting local cameras and should not be there for adding a network camera?
Hi all I must be one of the unlucky ones but i have been struggling to Motioneye to load my cameras for the last month or so. I all get is no Camera symbol and the following errors. the stream URL is correct as i can see it thru VCL and in Reolink integration in my dashboard. I am running 0.12.0 and i am up to date with Hassio Core and Supervisor. running HA thru VM on a iMac also tried Windows but no luck.I would really appreciate some help
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
[14/May/2021:22:28:57 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?_=1621027732062&_username=admin&_signature=6f8de0303709d0776b2034004dbe0f101206f9f5 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36)
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
[14/May/2021:22:29:02 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?_=1621027737934&_username=admin&_signature=4a0d4da1b058bffa4441a490018c1ce2c847f8dc HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36)
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
WARNING: Connect error on fd 14: ECONNREFUSED
[14/May/2021:22:29:05 +0100] 499 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?_=1621027743494&_username=admin&_signature=47fcefd072e97bf5f18436d42dfac38ddeebbf5e HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36)
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
WARNING: Connect error on fd 13: ECONNREFUSED
motionEye Version 0.42.1
Motion Version 4.3.2
OS Version Linux 5.4.109```
How do you change config to motioneye ? ( i am using ha os ) ( cause my motioneye doesn’t write video if passthrought is unchecked, and i had read that i need to change codec to mp4 )
I tried this in the configuration panel in supervisor :
motion_webcontrol: true
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
action_buttons: []
movie_codec: mp4
but the “movie_codec” doesn’t seem to be active
thanks
Is there a way to start and stop a recording from home assistant? I would like to start a recording when a hue motion sensor detects motion, as this should be more reliable than the integrated analysis.
I am getting an error adding dahua cameras to motion eye - unsupported camera. Is there a specific way to add these? They are working via onvif integration.
Are you using a URL or an IP? I was struggling with something similar that was able to resolve by entering the IP instead of the URL.
I think you should use movie_codec: mp4 in “Extra Motion Options” under “Video Device” for every camera you want to use that paramenter
Try using the camera’s IP instead of the URL
Ho, didn’t see this option, thanks, will try this !
Would you mind putting the code that you needed to enter in your configuration.yaml? Thanks.
Just upgrade to the latest Home Assistant & latest motionEye add-on, and they will detect each other. Home Assistant will discover the integration for you.
I have been running both for quite awhile, and it has never auto detected the camera. Is there a way to make it happen?
I did this
stream:
camera:
- platform: mjpeg
name: My Fancy Camera
still_image_url: "http://URLFROMMOTIONEYE/picture/1/current/"
mjpeg_url: "http://URLFROMMOTIONEYE:8081/mjpeg"
from here https://www.floriangaechter.com/blog/motioneye-in-home-assistant/. but I would rather have it create it itself.
A motionEye integration was introduced in Home Assistant 2021.5.
The lastest Home Assistant 2021.6 is able to detect the add-on automatically (in combination with the latest add-on version).
never mind, I just configured. Fantastic!