Page 1 of 1

Waterproof Ip cam

Posted: Saturday 13 April 2019 18:20
by Derik
Dear ...

Perhaps some have a good working waterproof Ip cam in Domoticz.
I see the hardware list in the wiki, almost old cams.
Or can i buy a newer type of a working cam in the list, en perhaps working also?

Is there perhaps a place where more working cams are available?

Hope there is....

Re: Waterproof Ip cam

Posted: Saturday 13 April 2019 20:44
by cogliostrio
For cameras you only need one that outputs mjpeg. For price/quality I have found that Dahua delivers on both.

I got A Dahua IPC-HDW4431C-A that I am very happy with. The address for this is "cgi-bin/snapshot.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]"

Re: Waterproof Ip cam

Posted: Saturday 13 April 2019 21:43
by Derik
Thanks....
So you say i can buy all ip camera's, when they use and support mjpeg output?

Something like this?
https://www.ebay.com/sch/i.html?_from=R ... acat=48638

And i see some other cams with 2mp with fullhd.
Only this one have 4M with fullhd.

What is the different?

Re: Waterproof Ip cam

Posted: Saturday 13 April 2019 21:54
by pvm
I'm using a Foscam FI9900EP (integration with Synology Surveillance and Dashticz)
My reasons for chosing this one
-outdoor use
-power over ethernet (requiring only one cable)
-availability of connection box

Re: Waterproof Ip cam

Posted: Saturday 13 April 2019 22:00
by Derik
pvm wrote: Saturday 13 April 2019 21:54 I'm using a Foscam FI9900EP (integration with Synology Surveillance and Dashticz)
My reasons for chosing this one
-outdoor use
-power over ethernet (requiring only one cable)
-availability of connection box
the dahua is much cheaper.
What is the different??

And when i get onvif 2.0 is this perhaps a guaranty it will work in Domoticz?

And i see some other cams with 2mp with fullhd.
Only this one have 4M with fullhd.

What is the different?

Re: Waterproof Ip cam

Posted: Saturday 13 April 2019 22:13
by pvm
Onvif is not supported in domoticz as far as I know. The camera needs to support retrieving an image from the camera (not a video stream).
I do not know the dahua. I had a hard time finding a camera with a connection box, that was one of the reasons for me to choose for Foscam as mentioned (and being a well known brand). The dahua might fit your needs.

Full HD is 1920 x 1080-pixels which is 2.1 megapixels (2.073.600 pixels to be precise ;) ).
I guess the remark on 4MP is only for pictures/stills and not the video stream.

Re: Waterproof Ip cam

Posted: Saturday 13 April 2019 22:18
by EdwinK
Derik wrote: Saturday 13 April 2019 21:43 Thanks....
So you say i can buy all ip camera's, when they use and support mjpeg output?

Something like this?
https://www.ebay.com/sch/i.html?_from=R ... acat=48638
Chinese product, so not sure if they do 'call back' just like the Digoo does. Maybe it doesn't, but I would be careful with placing them on places that you don't want to world to know about.

Re: Waterproof Ip cam

Posted: Thursday 01 August 2019 21:51
by zicht
EdwinK wrote: Saturday 13 April 2019 22:18
Derik wrote: Saturday 13 April 2019 21:43 Thanks....
So you say i can buy all ip camera's, when they use and support mjpeg output?

Something like this?
https://www.ebay.com/sch/i.html?_from=R ... acat=48638
Chinese product, so not sure if they do 'call back' just like the Digoo does. Maybe it doesn't, but I would be careful with placing them on places that you don't want to world to know about.
I have all camera's blocked from internet to avoid any callback to producer
In domoticz i have on the custom tab made html pages for the cam showing the images (fullscreen) from domoticz.
"https://xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg&idx=1"
Domoticz is connected via VPN :)

Re: Waterproof Ip cam

Posted: Thursday 01 August 2019 22:21
by Derik
zicht wrote: Thursday 01 August 2019 21:51
EdwinK wrote: Saturday 13 April 2019 22:18
Derik wrote: Saturday 13 April 2019 21:43 Thanks....
So you say i can buy all ip camera's, when they use and support mjpeg output?

Something like this?
https://www.ebay.com/sch/i.html?_from=R ... acat=48638
Chinese product, so not sure if they do 'call back' just like the Digoo does. Maybe it doesn't, but I would be careful with placing them on places that you don't want to world to know about.
I have all camera's blocked from internet to avoid any callback to producer
In domoticz i have on the custom tab made html pages for the cam showing the images (fullscreen) from domoticz.
"https://xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg&idx=1"
Domoticz is connected via VPN :)
mmm a page with fullscreen...
please share???

And a litle how to...

I have 4 xiaomi cams @home, only time is the problem....
Only when i got the camera's running a custom page is wish for me.
So i hope

Re: Waterproof Ip cam

Posted: Saturday 03 August 2019 12:13
by zicht
In dir domoticz/www/templates i created an html page for each cam
It will show in the custom dropdown menu on top in the domoticz page (all HTML pages in templates dir will be populated there)

you just have to create a page with an image snapshot of you cam that refreshes automticaly, no rocketscience HTML needed.

Code: Select all

<p align="center">
   <a href="https://xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg?idx=x"><img  id="camfeed72"  src="https://xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg?idx=x&amp;count=167?t=" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 750)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 10000)' style="border: 1px solid rgb(30, 40, 50); width: 83%; max-width: 96%;"></a>
</p>
the part after the idx=x is just javascript for refreshing the image. the 750 says every 750 ms refresh. the 10000 is 10000 ms timeout action.
Width is set as % of the page. (make it usable in more platforms a client)

Just replace https://xxx.xxx.xxx.xxx:xxxx with you domoticz instance IP:Port and idx=x replace x by the idx of you cam setup in domoticz.

Tip :
- crossdomain scripting will not work ! EG if you call https://youdomain:your port to see domotixz it has to be an exact match
- for HTTPS you need a certificate : selfsigned probably will not work, letsencryot will do the trick
- IDX can be found in th database or just by checking in your browser if you can call the image by https://xxx.xxx.xxx.xxx:xxxx/camsnapshot.jpg?idx=tryanynumber from 1 to 10 :)
- With CSS you can make it as fency as you want.
- Having domoticz expose to the internet never is a good idea, i use a VPN to dial in to avoid this.( Maybe Http could be used over VPN ... thats up to you.)
- if you need to do cross domain it would be doable by smart css usage hiding and showing elements based on the calling origin. I do not use this.
- I used a href so i can download the image by clicking on it to store it when needed ( on my device i am using like my phone)

BUT : if you make many pages for many cams : i found it can clashup the storage in browser history if you have many camera's : When it becomes slow after hopping true camera's just clear browser refresh

I do not use it a lot to view when not at home : just when my domoticz alerts me on special events to check what happens.


General and on topic : If you use a cam with a junction box : Always make sure the junctionbox will NEVER be with the feed in water.
The capilar working will draw moisture inside the junction box. As i use the junction box horizontally, i mounted 2 mm feed below the juntcion box. It has costed me a broken camera due to oxidation of contacts. Since the 2 mm no problems of these kind occured.

Hope it helps

Re: Waterproof Ip cam

Posted: Tuesday 20 August 2019 14:03
by Derik

Re: Waterproof Ip cam

Posted: Wednesday 21 August 2019 9:03
by lost
Derik wrote: Saturday 13 April 2019 21:43
Something like this?
https://www.ebay.com/sch/i.html?_from=R ... acat=48638

And i see some other cams with 2mp with fullhd.
Only this one have 4M with fullhd.
I have this one:
https://www.aliexpress.com/item/32668136407.html

That's the 2MP one, difference is the resolution (2MP = full HD). As said on the link, 2MP versions behave better in low light despite "starlight" branded versions exists in 4MP: I confirm, the 2MP is really impressive at night even if I do not have the 4MP one to compare.

IMO, another drawback with 4MP is capture file size/LAN bandwith use by video stream. On my side, I even use the cam in HD mode (720p) instead of full HD (1080p) for this reason and even 720p is enough to see what's happening.

I wrote a quick review of this cam in the "cameras" topic:
viewtopic.php?f=35&t=29033

I'm planning to buy another one.

Re: Waterproof Ip cam

Posted: Friday 04 October 2019 16:47
by mpaelinck
Hi Lost,

Have you been able to setup a dummy motion sensor in Domoticz (as mentioned on https://www.domoticz.com/wiki/Camera_Setup) ?

Thanks in advance for your answer.
Kind regards,

Mathieu

Re: Waterproof Ip cam

Posted: Saturday 05 October 2019 10:11
by lost
mpaelinck wrote: Friday 04 October 2019 16:47 Have you been able to setup a dummy motion sensor in Domoticz (as mentioned on https://www.domoticz.com/wiki/Camera_Setup) ?
Hello,

I did setup a virtual motion sensor, but not the way described: I do not get continuous video stream to the PI, doing motion detection there. That's IMO a waste of LAN bandwidth + not sure a single PI3 have enough horse-power to handle 3 IP cam streams. Not sure the PI, I only access from the network, would remain responsive with such setup as well.

=> I select my cams to have quite good internal motion detection setup to minimize false positive and they just use the network to send captured motion images to a FTP server hosted by the PI.

On the PI, I have a python written service that checks all cams FTP subdirs for captures every 10s and, if so, trigger the matching cam virtual PIR using Domoticz http/json API (as well as updating an alarm weight, see later, and immediately sending each 10s slot captures to a dedicated gmail account, compressed and encrypted).

So cameras get integrated with true PIRs/sensors in my Domoticz hosted alarm system (mostly written in Lua+use a naming convention to allow easy integration of new sensors without needing code changes).

As I have 2 external cams, even carefully chosen, false positive cannot be completely avoided by cam setup. But my alarm system is designed with a sensor weight mechanism (internal or door sensors have a base weight that'll trigger alarm immediately, external ones only a fraction so they must trigger several times or multiple ones to reach alarm weight), added on a sliding minute before reset.

=> For cams, weight is calculated from capture files nb (require cams able to capture individual images, not only videos). So I'm able to reject birds or cats passing by but someone trying to break a window/door for more that 10s will trigger the siren.

This way, I could handle as many cams I want on a single PI without performance issues.

Had in mind to handle motion on the PI as a second layer, after cam own motion (so would also limit bandwith use & cope with PI limits not handling several streams continuously), but looks the way motion is designed needs a continuous video stream & can't work on sets of images. So I gave up.

Re: Waterproof Ip cam

Posted: Wednesday 13 November 2019 6:30
by Mackenzie9641
For price/quality I have found that Dahua delivers on both.

I got A Dahua IPC-HDW4431C-A that I am very happy with.

Re: Waterproof Ip cam

Posted: Thursday 14 November 2019 7:25
by lost
Mackenzie9641 wrote: Wednesday 13 November 2019 6:30 For price/quality I have found that Dahua delivers on both.
I got A Dahua IPC-HDW4431C-A that I am very happy with.
Agree: I have the 2MP version (IPC-HDW4233C-A) installed since 5 months and it's working very well. It's around 45€ on Aliexpress, usually a few bucks over the 4MP version... Looks surprising to have a lower price for better resolution, but the 2MP is well known for it's impressive low light performance compared to 4MP version. So choice depends on use case, but internal configuration/possibilities are the same.

Quick summary I did a few month ago on pros (mostly) & cons (as always with IP cams, there is):
https://www.domoticz.com/forum/viewtopi ... 31#p221631