How to... show live feed from camera on dashboard

User avatar
Antori91
Posts: 114
Joined: Sunday 12 February 2017 18:12
Target OS: NAS (Synology & others)
Domoticz version: 4.97&3.5
Location: France
Contact:

Re: How to... show live feed from camera on dashboard

Post by Antori91 » Thursday 13 September 2018 8:31

I forgot to mention. On motion detection, motionEye offers many options : from storing snapshots/video, sending email, ... to launching a script or a web url (see screenshot below). So, I assume that your image processing can be used (you even can for example switch on/off a Domoticz device from motionEye).

You can also use motionEye only for camera live display without using its motion detection feature.
CaptureMeye.JPG
CaptureMeye.JPG (99.51 KiB) Viewed 1015 times
Domoticz High Availability Cluster: Synology Dz V3.5877 (Main) - Raspberry Dz V4.97 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation

lost
Posts: 206
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by lost » Thursday 13 September 2018 11:04

Antori91 wrote:
Wednesday 12 September 2018 14:39
I've setup my cameras months ago so I don't remember everything (and you do it only once). But I don't understand why you speak from the beginning about slave device. As far as I remember, for each camera, I created a dummy switch device, then went to the camera setup screen to attach it to a camera. Done ! No slave/master issue here !

About motionEye Raspberry CPU Utilization, in my environment for VGA display and two frames per second for display (values I set in motionEye) :
I tried to set dummy switch as slave for camera device because this looks to be what was advised hereupper. But as the interface is in russian, maybe I did not understood correctly.

Anyway, from camera setup page, I did not found a way to link camera on a dummy switch on this side as well.

For motionEye, that's only 2 frame per sec. The cam is able to FTP more than 10 images/s (in day mode with correct luminosity, otherwise exposure time increase may limit this figure): Even with this, you're still not always able to capture someone's head passing by with optimal heading/luminosity, so 2/s will not fit my needs. But that's another subject... I'm probably missing something to get my cams more easily accessible from dashboard, but really can't find what!

User avatar
Antori91
Posts: 114
Joined: Sunday 12 February 2017 18:12
Target OS: NAS (Synology & others)
Domoticz version: 4.97&3.5
Location: France
Contact:

Re: How to... show live feed from camera on dashboard

Post by Antori91 » Thursday 13 September 2018 11:36

2 frames per second is for camera live display ONLY. For motion detection it is much more... It is two different parameters within motionEye and of course you can change it (it's just values I've chosen). There is a lot of parameters within motionEye, much more than the ones you have with your camera built-in detection I've used for years before motionEye. But I stop to make advertising about motionEye. ;-)
Domoticz High Availability Cluster: Synology Dz V3.5877 (Main) - Raspberry Dz V4.97 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation

User avatar
Antori91
Posts: 114
Joined: Sunday 12 February 2017 18:12
Target OS: NAS (Synology & others)
Domoticz version: 4.97&3.5
Location: France
Contact:

Re: How to... show live feed from camera on dashboard

Post by Antori91 » Thursday 13 September 2018 11:49

lost wrote:
Thursday 13 September 2018 11:04
Anyway, from camera setup page, I did not found a way to link camera on a dummy switch on this side as well.
Select your camera by clicking on it. Then using the menu at the bottom labelled "Active Devices/Scenes (Select Camera first to Edit...)" select your switch and click on the Add button. Done !

PS : it has been already answered here : viewtopic.php?t=2508
Domoticz High Availability Cluster: Synology Dz V3.5877 (Main) - Raspberry Dz V4.97 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation

lost
Posts: 206
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by lost » Friday 14 September 2018 10:40

Antori91 wrote:
Thursday 13 September 2018 11:49
Select your camera by clicking on it. Then using the menu at the bottom labelled "Active Devices/Scenes (Select Camera first to Edit...)" select your switch and click on the Add button. Done !

PS : it has been already answered here : viewtopic.php?t=2508
Thanks a lot, it now works... Create dummy, add it in switch tab as "media player", add on camera side & OK!

I think I already tried this in the past, but tried to click on the switch activation zone and not on camera picture upper right... So did not notice it was working!

Not very straightforward, but it's OK!

lost
Posts: 206
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by lost » Friday 14 September 2018 10:45

Antori91 wrote:
Thursday 13 September 2018 11:36
2 frames per second is for camera live display ONLY. For motion detection it is much more... It is two different parameters within motionEye and of course you can change it (it's just values I've chosen). There is a lot of parameters within motionEye, much more than the ones you have with your camera built-in detection I've used for years before motionEye. But I stop to make advertising about motionEye. ;-)
I think I'll try using motion, alone or through motionEye, when I have time.
But I plan to use it as a second filter after own camera motion detection: Using the FTP'ed images, if motion is able to work on single images a not only a video flow.

This will allow extending a bit camera own setup, quite narrowed on zones & sensibility for now... doing better checking ater using motion.

With this setup, I should minimize network bandwith (especially if I buy some better resolution cams someday) & PI3 CPU usage.

User avatar
Antori91
Posts: 114
Joined: Sunday 12 February 2017 18:12
Target OS: NAS (Synology & others)
Domoticz version: 4.97&3.5
Location: France
Contact:

Re: How to... show live feed from camera on dashboard

Post by Antori91 » Friday 14 September 2018 11:29

Did you post somewhere your Python code to see how it works (algorithms used) ?
Domoticz High Availability Cluster: Synology Dz V3.5877 (Main) - Raspberry Dz V4.97 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation

lost
Posts: 206
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by lost » Friday 14 September 2018 18:03

Antori91 wrote:
Friday 14 September 2018 11:29
Did you post somewhere your Python code to see how it works (algorithms used) ?
No, I did not... In fact, this is executed as a service that is quite independent from Domoticz & require some setup on both side that is not really automatic (virtual switches creation, user variables...). As well, FTP server setup must be done separately, as well as directory tree creation in raspbian startup scripts (as this is is in a tmpfs ramdisk not to wear SD quickly, this must be done every boot).

This is as well linked to my own alarm setup (scripts written mostly in Lua as python support in Domoticz at the time was not the best solution), as cams captures, on top of triggering dummy PIRs, also update the global sensors additive weighting mechanism (objective: A cat/bird/spider... passing by will not reach the siren triggering weight, someone being working my door/window for 30s will).

=> If I start to post this, this will be an heavy support job I presume & I have not enough time to make an easy install script (+ maybe make all the alarm side Lua become a python module with optionnal cam service dependency...).

stephenmhall
Posts: 13
Joined: Saturday 10 June 2017 22:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by stephenmhall » Saturday 13 October 2018 17:37

I'm still having no luck with this, I have Aurora theme added the virtual switch and added it to the camera. I have tried changing it to a media player switch, and have moved them both to the top row so they expand but just get large icons for the switch and the camera select which brings up a pop up window with the stream in it. Are there extra settings needed for the theme?

domoticz camera.png
domoticz camera.png (46.36 KiB) Viewed 675 times

bazyl
Posts: 1
Joined: Wednesday 24 October 2018 11:05
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by bazyl » Wednesday 24 October 2018 11:12

Did anyone get it work to have live view from camera directly in Dashboard?
I stuck only with active switch with working camera live view, only when i click on 'Camera' button.

stephenmhall
Posts: 13
Joined: Saturday 10 June 2017 22:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to... show live feed from camera on dashboard

Post by stephenmhall » Friday 26 October 2018 14:06

I have now updated to version 4.97 and it is still not working.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests