Hi all,
What i want to do is as follow:
When my camera detects motion (foscam c1), the lights must be go on and after a time, the lights must be go off automatically.
I have added the camera and the lights in domoticz and thats working.
In domoticz the camera don't have a idx unlike the lights.
How can i make the link between the motion of the camera and the lights?
The web interface of the camera is configured when motion is detected, the images are forwarded to an ftp server.
Do i have to add a dummy switch and configure the dummy switch with an script or something?
Or is this only possible with a real motion detector?
Enable lights by motion detection camera
Moderator: leecollings
-
- Posts: 1
- Joined: Wednesday 01 July 2020 16:39
- Target OS: -
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Enable lights by motion detection camera
Did you already had a look at this wiki page ?karbotilne5 wrote: ↑Wednesday 01 July 2020 17:11 When my camera detects motion (foscam c1), the lights must be go on and after a time, the lights must be go off automatically.
How can i make the link between the motion of the camera and the lights?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 660
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Enable lights by motion detection camera
This page is for using motion on the Domoticz host, not the one integrated in IP cams as there is drawbacks:
-Motion on several IP cams will be too much for a PI.
-Hight& constant LAN bandwith use with several video streams to process remotely.
So I think the question was more on "how do I feed a virtual PIR in Domoticz, that may trigger a light switch" from cam integrated motion detection/snaphots.
Well, it depends:
-Some cams allow some POST data to be sent to a remote part/web server when an event occurs (like motion detection): Using Domoticz JSON API to trigger a virtual PIR may be done this way (with some auto-off config in the switch?).
-Custom service monitoring Cam(s) FTP subdirectorie(s) continuously & making the glue to Domoticz virtual PIR.
Second option may allow finer tuning (false positive rejection based on capture nb in a short time slice for instance) & will work with any FTP capable IP cam (most of them are).
Who is online
Users browsing this forum: No registered users and 1 guest