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

Moderator: leecollings

User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

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

Post by Antori91 »

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 4555 times
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (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: 621
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by lost »

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: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

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

Post by Antori91 »

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 V4.10693 (Main) - Raspberry Dz V4.10717 (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: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

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

Post by Antori91 »

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 V4.10693 (Main) - Raspberry Dz V4.10717 (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: 621
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by lost »

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: 621
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by lost »

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: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

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

Post by Antori91 »

Did you post somewhere your Python code to see how it works (algorithms used) ?
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (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: 621
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by lost »

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 »

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 4215 times
bazyl
Posts: 4
Joined: Wednesday 24 October 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by bazyl »

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 »

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 1 guest