PRi + MotionEye + Domoticz Setup - Help Please

Moderator: leecollings

Post Reply
husar
Posts: 6
Joined: Wednesday 18 January 2017 16:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

PRi + MotionEye + Domoticz Setup - Help Please

Post by husar »

I am not sure if it possible to get my current setup working in Domoticz but I am half way there and looking for some assistance. I have looked to the camera wiki page and it has allowed some success.

My current setup has several USB camera attached to their own RPI and an RPi running MotionEye as the main controller. This works great.
myscreen.png
myscreen.png (303.25 KiB) Viewed 11555 times
Now I'd like to see about getting the cameras added to Domoticz. I can access each camera's direct feed in the browser by doing the following.

Live feed: http://10.0.xxx.xx:xxxx
List image: http://10.0.xxx.xx:xxxxx/picture/1/current/

Testing the live feed link in the More Options >> Cameras does show the feed when I test it during setup.
myscreen2.png
myscreen2.png (207.79 KiB) Viewed 11555 times
Back on the Camera page the image to the far left is broken. If I right click and look at the locaion it is the Domoitcz server with /camsnapshot.jpg?idx=1 after it. Clciking on the web cam icon brings up the live feed overlay window but the stream loads as a broken image.

Is this the correct way to get my setup working in Domoticz or is it just not possible with my setup?

Thank you.
fabix68
Posts: 10
Joined: Tuesday 22 December 2015 6:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by fabix68 »

I have the same problem.
You've solved?
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by pepijn »

Set mjpg_client_idle_timeout to 0 in your motioneye.conf file and you'll no longer get empty JPEGs (except for the very first request after you restart the server).
DaWauZ
Posts: 69
Joined: Wednesday 05 November 2014 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by DaWauZ »

pepijn wrote:Set mjpg_client_idle_timeout to 0 in your motioneye.conf file and you'll no longer get empty JPEGs (except for the very first request after you restart the server).
I tried this, but still no stream or snapshot taken.
Test image is good though.
Raspberry Pi 2 model B with domoticz
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
armine
Posts: 1
Joined: Sunday 20 August 2017 22:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

PRi + MotionEye + Domoticz Setup - Help Please

Post by armine »

Plase help me.I've got Domoticz on one Pi and my 2 Raspberry Pi Cam on another. Eyemotion and PiKellCam.How do I add this cam to Domoticz?I have another raspberry running the web interface, and the connection made i Domoticz with the following settings. No Dmotocz not detect camera stream.
TDK20
Posts: 4
Joined: Wednesday 16 August 2017 11:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: Frankfurt, FRG
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by TDK20 »

Anybody who has solved this? Please share.
TDK20
Posts: 4
Joined: Wednesday 16 August 2017 11:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: Frankfurt, FRG
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by TDK20 »

Simple solution, had to omit the leading slash.
Mozart
Posts: 39
Joined: Monday 19 January 2015 14:35
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by Mozart »

husar wrote: Wednesday 18 January 2017 19:22 I am not sure if it possible to get my current setup working in Domoticz but I am half way there and looking for some assistance. I have looked to the camera wiki page and it has allowed some success.

My current setup has several USB camera attached to their own RPI and an RPi running MotionEye as the main controller. This works great.

myscreen.png

Now I'd like to see about getting the cameras added to Domoticz. I can access each camera's direct feed in the browser by doing the following.

Live feed: http://10.0.xxx.xx:xxxx
List image: http://10.0.xxx.xx:xxxxx/picture/1/current/

Testing the live feed link in the More Options >> Cameras does show the feed when I test it during setup.

myscreen2.png

Back on the Camera page the image to the far left is broken. If I right click and look at the locaion it is the Domoitcz server with /camsnapshot.jpg?idx=1 after it. Clciking on the web cam icon brings up the live feed overlay window but the stream loads as a broken image.

Is this the correct way to get my setup working in Domoticz or is it just not possible with my setup?

Thank you.
In Domoticz you should not add the http://10.0.x.x in the ImageURL box, only this:
picture/1/current/
Raspberry 3
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
DaWauZ
Posts: 69
Joined: Wednesday 05 November 2014 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by DaWauZ »

well @ my setup it just wont work. With or without slash, with or without image url, only the test image succeeds.

the streaming url should be http://ipadress:8081
The embedd url should be http://ipadress/picture/1/frame/

well tell me what I should fill in domoticz, I tried everything, also with or withouth usernames
Raspberry Pi 2 model B with domoticz
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
TDK20
Posts: 4
Joined: Wednesday 16 August 2017 11:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: Frankfurt, FRG
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by TDK20 »

As mozart mentioned, just use
picture/1/current/
as the image URL no leading backslash or anything else. I tried a few variations, only the previous mentioned one worked.
DaWauZ
Posts: 69
Joined: Wednesday 05 November 2014 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by DaWauZ »

does not work. Only test image works.
Raspberry Pi 2 model B with domoticz
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by heggink »

Anyone ever got this to work?
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by alexsh1 »

heggink wrote: Sunday 04 February 2018 21:49 Anyone ever got this to work?
Yes. I did.
You should add a different URL:

Code: Select all

picture/1/current/?_username=admin&_signature=[whatever your signature is]
You can get your exact URL in Video Streaming - Snapshot URL in the motionEye settings. Make sure there is no "/" in front of the image URL.
Works fine in the latest Domoticz.
pmarcus
Posts: 6
Joined: Wednesday 17 January 2018 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10256
Location: Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by pmarcus »

Hello,

I have solved it for me. Had the same issue.
In Motioneye added a user with no password. (only view rights)
Then i made the configuration as mentioned with: picture/1/current/
The standard port = 8765

works for me.
quilae
Posts: 10
Joined: Tuesday 07 November 2017 21:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by quilae »

That's pretty weird. If I try the solution provided by alexsh1 and test the connection then the image shows up for a fraction of a second and then shows a broken image but if I accept the settings anyway then the thumbnail shows up and both streaming and taking snapshots work so this is definitely a correct solution.
User avatar
Jimbolaya
Posts: 12
Joined: Thursday 18 February 2016 21:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11207
Location: New York, USA
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by Jimbolaya »

I believe MotionEye is no longer being developed. You should try motionEyeOS. Google it and you’ll find the download and install instructions. I have that working perfectly with Domoticz.
Jim
iMoi
Posts: 6
Joined: Monday 14 January 2019 12:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by iMoi »

Jimbolaya wrote: Saturday 29 December 2018 14:53 I believe MotionEye is no longer being developed. You should try motionEyeOS. Google it and you’ll find the download and install instructions. I have that working perfectly with Domoticz.
Hi Jimbolaya

I followed your advice and installed MotionEyeOS on my RPi, and would like to add its video stream to Domoticz : in Domoticz, I managed to get the video with the "Test connexion" button, but not when clicking on the Cam icon in the list of cameras.
could you tell me how you did it ?
thanks a lot !

iMoi
Domoticz (domoticz_apollolake-6.2_4.0.9700-7.spk)
installed on a Synology NAS DS 218+ (INTEL Celeron J3355)
under DSM 6.2.1-23824 Update 4
Raspberry Pi B+ with official cam
+ Android smartphone with IP Webcam
User avatar
Jimbolaya
Posts: 12
Joined: Thursday 18 February 2016 21:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11207
Location: New York, USA
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by Jimbolaya »

Jim
ThirstyThursten
Posts: 23
Joined: Wednesday 16 December 2020 15:39
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by ThirstyThursten »

@Jimbolaya, I have the same problem now, sadly the link you provided no longer works. Thread has been deleted.. :(

Do you have any additional information?

Greets,
Thirsty
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: PRi + MotionEye + Domoticz Setup - Help Please

Post by EdwinK »

He hasn't been around since the end of 2019, so I'm afraid there will be no answer. Too bad, looking for it myself.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest