bigredfish
Known around here
Sounds like the red triangle warning we got on some of the 5442’s. Does the camera still work? On the 5442 it did but it broke IVS...
It would, but you would have to construct that functionality yourself. I've been meaning to for a while but it hasn't been important enough Here's the principle though:Hi,
I am quite interested in active deterrence function of this camera. Would it be possible to control when it is active from a smart home platform e.g. home assistant or smart things?
Awesome! This is exactly what I was looking forIt would, but you would have to construct that functionality yourself. I've been meaning to for a while but it hasn't been important enough Here's the principle though:
The Active Deterrence functionality is part of IVS. When you create a new IVS rule, you can enable it over the API with
(or Enable=false to disable)
From my tests it seems like [0][2] is the first VideoAnalyseRule you create yourself, [0][0] and [0][1] are internal ones (HeatMap1 and NumberStat1)
I came as far as creating a Python script to just connect and list the names of the all VideoAnalyseRules present. The next obvious step would be to have the script enable/disable one or more rules and then have something (e.g. the smart home platform) call the script based on a trigger. Somewhere around that I realised I didn't need that as much as I originally thought, so the project was left for a rainy day I can share the code though, if you like!
Please share any additional findings or code to this thread! Helps all the other owners of home automations systemsAwesome! This is exactly what I was looking for
I use H.265 for both Main and Sub stream. Main in 1920x1080 at 25 FPS, VBR quality 6, Max Bit Rate 5888 Kb/s and I Frame Interval 50. Sub stream 704x576 at 25 FPS, VBR quality 6, Max Bit Rate 1280 Kb/s and I Frame Interval 50. Both work well, at least in recent firmware updates (starting 10R I think). Just like with my previous Dahua cam, finding a video setting that didn't strain the camera CPU to intermittent unresponsiveness required a lot of tweaking. The way it works now I don't dare to touch anything in video settings. I fiddled around with Backlight for a while and that was obviously too much for the camera to handle, it started getting unresponsive again: visible in ping rates that should normally be 5-10 ms, but went 200-500 ms under too much load.Has anyone tried this camera as H.265 decoding?
I recently made the change and after a few minutes the picture starts getting blurry. I have tried low to high bitrates and it happens regardless. If I go back to H.264, the picture remains good. But bitrate shouldn't impact live viewing?
This is working great from Domoticz home automation. thxIt would, but you would have to construct that functionality yourself. I've been meaning to for a while but it hasn't been important enough Here's the principle though:
The Active Deterrence functionality is part of IVS. When you create a new IVS rule, you can enable it over the API with
(or Enable=false to disable)
From my tests it seems like [0][2] is the first VideoAnalyseRule you create yourself, [0][0] and [0][1] are internal ones (HeatMap1 and NumberStat1)
I came as far as creating a Python script to just connect and list the names of the all VideoAnalyseRules present. The next obvious step would be to have the script enable/disable one or more rules and then have something (e.g. the smart home platform) call the script based on a trigger. Somewhere around that I realised I didn't need that as much as I originally thought, so the project was left for a rainy day I can share the code though, if you like!
What does your Domoticz trigger look like? I’m running Domoticz too, so I’m curious to know.This is working great from Domoticz home automation. thx
Is there also a way to call and play one of the audio files via a http call?
Can't find this in the API document...
#!/bin/bash
curl --digest -g 'http://user:password@10.0.103.208/cgi-bin/configManager.cgi?action=setConfig&VideoAnalyseRule[0][2].Enable=true'
#!/bin/bash
curl --digest -g 'http://user:password@10.0.103.208/cgi-bin/configManager.cgi?action=setConfig&VideoAnalyseRule[0][2].Enable=false'
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/configManager.cgi?action=getConfig&name=Email"
table.Email.SendInterv=0
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/configManager.cgi?action=setConfig&Email.SendInterv=5"
OK
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/configManager.cgi?action=getConfig&name=Sound"
table.Sound.AlarmSound=/usr/data/audiofiles/audios/alarm.wav
table.Sound.AlarmSoundDuration=10
table.Sound.AlarmSoundVolume=100
table.Sound.SilentMode=false
table.Sound.SoundTipsPlayEnable=true
Thank you for this new version of the HTTP API calls. I will check the section you mentioned. Hope to find the correct syntax.@marigo if you check section 4.3.3 Post Audio Stream in the attached API documentation, you might be able to play an arbitrary sound stream. I haven’t tried this and it’s way too complicated for me to spend time on, but if you like a challenge
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=1"
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/coaxialControlIO.cgi?action=getStatus&channel=1"
status.status.Speaker=Off
status.status.WhiteLight=On
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=0"
curl --digest -g "http://user:password@10.0.103.208/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=2&info[0].IO=1"
The most thing I have ever wanted from these cameras is to turn tripwire off or on without having to log into the webgui all the time. Either by mobile device or pc is that easy enough to do?It would, but you would have to construct that functionality yourself. I've been meaning to for a while but it hasn't been important enough Here's the principle though:
The Active Deterrence functionality is part of IVS. When you create a new IVS rule, you can enable it over the API with
(or Enable=false to disable)
From my tests it seems like [0][2] is the first VideoAnalyseRule you create yourself, [0][0] and [0][1] are internal ones (HeatMap1 and NumberStat1)
I came as far as creating a Python script to just connect and list the names of the all VideoAnalyseRules present. The next obvious step would be to have the script enable/disable one or more rules and then have something (e.g. the smart home platform) call the script based on a trigger. Somewhere around that I realised I didn't need that as much as I originally thought, so the project was left for a rainy day I can share the code though, if you like!
Why do you want to turn the tripwire on and off?The most thing I have ever wanted from these cameras is to turn tripwire off or on without having to log into the webgui all the time. Either by mobile device or pc is that easy enough to do?
I mean IVS off, because I have a garden and back door alarmed at 11:00 pm normally bedtime but sometimes I stay up later and when I go into the garden I need to turn both off in the gui through internet explorer otherwise I wake up all the neighbours with 10x siren alarms.Why do you want to turn the tripwire on and off?
The reason I ask is I had a similar issue. I now use my Amazon Alexa with a smart plug to disable the camera at such times. Good thing is I can switch the plug off from mobile app or just say "Alexa, cameras off".I mean IVS off, because I have a garden and back door alarmed at 11:00 pm normally bedtime but sometimes I stay up later and when I go into the garden I need to turn both off in the gui through internet explorer otherwise I wake up all the neighbours with 10x siren alarms.
Doing this with a smart plug would hands down be the easiest way of achieving what you want to do. Scripting the same thing would certainly be possible, but more complicated and will have to be tailored to your specific setup.That's definitely one way of doing it. I am hoping that somebody with some api coding knowledge can work it out I have very little knowledge of it. Hoping someone can just make a script to login into the ip of the camera to turn it on/off.