Page 1 of 1
Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Monday 04 June 2018 18:08
by JHO01
I recently bought some cheap chinese ip camera's with ONVIF RTSP support, not expecting the snapshot capability, but....... to my surprise I accidentally did find the precious snapshot link with the help of ONVIFER
https://nl.aliexpress.com/item/H-265-H- ... 4c4dSmCSlm
https://nl.aliexpress.com/item/H-265-H- ... 4c4dSmCSlm
https://nl.aliexpress.com/item/ONVIF-P2 ... autifyAB=0
Install
https://play.google.com/store/apps/deta ... ifer&hl=en (free) on an Android device and setup the camera.
Once the camera is detected, press test and the link to the snapshot stream is visible :
- file.jpg (51.22 KiB) Viewed 20999 times
http://192.168.2.211/webcapture.jpg?com ... &channel=1
In Domoticz, Add Camera and fill in what is discovered in ONVIFER
IP address: 192.168.2.211
Port: 80
imageURL: webcapture.jpg?command=snap&channel=1
Please note:
The above mentioned camera's are almost constantly trying to communicate with the outside world:
23.91.102.185:8086
23.91.102.59:8086
203.12.203.24:8086
My pFsense firewall does not allow this
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Wednesday 13 June 2018 22:16
by EdwinK
I think something has changed in the app, I can't get this information for my camera.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Thursday 14 June 2018 9:37
by gielie
JHO01 wrote: ↑Monday 04 June 2018 18:08
The above mentioned camera's are almost constantly trying to communicate with the outside world:
All chinese cams are phoning home, if someones buying a chinese cam make sure to block all outside communications, big brothel is watching you.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Thursday 14 June 2018 10:38
by JHO01
I am running ONVIFER 12.01
Procedure:
-install camera
-right click on camera feed
-select edit and scroll down to see the snapshot address (if available)
alternative
-install camera
-right click on camera feed
-select edit
-select test
-scroll down to see the snapshot address (if available)
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Thursday 14 June 2018 11:28
by EdwinK
O.. You use a web version. I had it on Android phone.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Tuesday 11 September 2018 13:41
by markk
Thanks for this. I used this method to find the snapshot info for this Camera I just got off Amazon:
https://www.amazon.co.uk/gp/product/B07 ... UTF8&psc=1
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Wednesday 12 September 2018 12:45
by lost
gielie wrote: ↑Thursday 14 June 2018 9:37
All chinese cams are phoning home, if someones buying a chinese cam make sure to block all outside communications, big brothel is watching you.
Problem is these cams can sometimes (or maybe "mostly", theses days!) only be configured through a dumb-phone app... Exit the good old web configuration page that did not need calling home because using your favorite navigator from your own LAN.
And even if I take care to only buy such http(s) configurable cameras, it's more & more difficult to get informations about this setup mode support.
On top of your router firewall that can prevent the cam from accessing the outside after configuration, I always setup a bad gateway (sometimes also needing a fixed IP setup) on the device itself.
As well, all theses chinese IP cams lack informations about motion detection (+ fine-configurable zones, otherwise the feature is quite useless, especially outside if you cannot prevent vegetation that'll spam you with false captures when windy for instance), FTP support for motion captures...
Only solution is to buy, check, and if requirements are NOK, re-sell...
Would be nice to make a topic about currently tested devices feature set IMO.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Sunday 24 November 2019 22:47
by huismuis
maybe stupid question but how did you find out what your IP cam is communicating (outside) with
I can't find anything in my KPN V10 router
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Monday 25 November 2019 7:31
by lost
huismuis wrote: ↑Sunday 24 November 2019 22:47
maybe stupid question but how did you find out what your IP cam is communicating (outside) with
I can't find anything in my KPN V10 router
If you don't have anything to monitor network use in your router, maybe blocking any external access for the device may then log forbidden attempts.
Otherwise, as any network (except open wifi) is now switched (or made impossible to monitor from a 3rd party using ciphering for wifi/wpa), and many soho switches/router does not allow a port (to your PC with a wireshark/tcpdump session filtering on your cam LAN IP) to replicate data from another port (the one your cam is wired), this can become a bit more complex (flood the switch with many MAC to exceed it's internal routing tables size, thus making it usually default to a good old hub, setup a PC with 2 ethernet interfaces and allow one to share internet connection on the other with cam connected, then monitor this interface... but will need to unwire cam).
Problem with these dumb-phones only managed cams is you'll most probably have to re-enable it's cloud connection anytime you'll have to modify their configuration. This also means that when the manufacturer stops this external support (or the one for the phone app), you're stuck. This is not the case when configuration is possible from a device hosted web site only needing a LAN access.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Friday 31 May 2024 18:26
by bobje
I saw someone posting these command for getting a picture from a cheap chinese camera (with Onvif).
http://ip/webcapture.jpg?command=snap&channel=0
http://ip/webcapture.jpg?command=snap&channel=1
This works but...... After several days it stops working. It states that the username/password have been incorrect to many times. After resetting the camera it works again for several days and the same happens.
How do i pass the username and password to this command? (I have set the name and password in the camera so i know them).
I have tried may options with name=...:password=... or <name:password>@ip-address... but nothing seems to work.
Anybody any ideas?
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Saturday 01 June 2024 17:02
by habahabahaba
From where are you trying to get images?
In Domoticz there are fields username and password and everything must be ok
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Saturday 08 June 2024 17:40
by bobje
In my case just from a HTML-page.
<img class="thumbnail-image" id="barn-Cam" src="http://<ip-address>/webcapture.jpg?command=snap&channel=1" alt=""></img>
The strange thing is that this works for several days, so even without a username or password. But after a week or so it stops. And if i do the command via a seperate web-browser i get the error that the UserName and Password are wrong. After a reset of the camera you can use the same command again for a couple of days.
I have tried the actual call with: "http://<ip-address>/webcapture.jpg?UserName=<username>;Password=<passwd>command=snap&channel=1"
and other variations but that never works. So i am looking for the correct syntax.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Saturday 08 June 2024 17:47
by jvdz
did you also try this format?:
Code: Select all
http://<username>:<passwd>@<ip-address>/webcapture.jpg?command=snap&channel=1
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Saturday 08 June 2024 18:26
by bobje
Yep, tried that. Same result unfortunately.
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Saturday 08 June 2024 20:01
by habahabahaba
In my case it works at any browser even in FF private mode without authorization.
But i installed the latest firmware. Did you?
Anyway its dificult to say whats wrong - its chineese camera
Did you use Onvife Device Manager? Is Onvif discovery mode Discoverable?
And I have a hidden user with name Default that i can see in ODM and not see in camera options
- 2024-06-08_20-58-23.png (23.06 KiB) Viewed 2088 times
- 2024-06-08_20-57-32.png (29.64 KiB) Viewed 2088 times
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Friday 14 June 2024 16:07
by bobje
I searched for the Onvif Device Manager but for MAC there is no installable. When i download the MAC version all i get is a directory with a bunch off DLL's (looks more like the Windows version)...
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Tuesday 18 June 2024 11:06
by bobje
I have a DVR connected now and i see no additional accounts as far as i can see. I am able to get a still image from the DVR via the same command but only for the first attached camera. If i change the channel to 2 or higher it still gives me only channel 1 (and without supplying a password!!).
Re: Cheap Chinese IP Camera find Snapshot with ONVIFER
Posted: Tuesday 18 June 2024 12:16
by bobje
Finally got it working: The command should be:
Code: Select all
http://IP-ADDRESS/webcapture.jpg?command=snap&channel=1&user=USER&password=PASSWORD
Edit waltervl: made link readable