hi all, i’m trying to use the binding with my ipcamera Shenzhen. i think a bluecam remark.
the camera reply to this command that i found in an other forum.
Identifier: BLUECOM.GMT
Default ip_address: 192.168.1.250
Default user interface credentials: admin/
Default command credentials: admin/admin
nmap -sN -r -n -p-1-65535
(null scan (TCP flag header is 0) , do not randomize, no DNS resolution, all ports)
-O - enable OS detection
nmap port open results:
6554 - tcp (video streams)
8080 - http-proxy
9527 - tcp (command)
On power up the camera first tries to find 192.168.1.1 and then tries to contact:
116.62.7.175 - Beijing Kuancong
13.58.115.239 - amazon.com - USA
35.177.224.169 - amazon.com - Europe
OCX download www.cam158.com
High and low resolution video streams
ip_address:6554/stream-0
ip_address:6554/stream-1
ip-address:6554
Command port (use login user and password – configuration and control items)
ip_address:9527/index.htm
ip_address:9527/index1.html
ip_address:9527/jpeg.html
ip_address:9527/snapshot.htm
ip_address:9527/status.htm – Device status
ip_address:9527/ip.htm – Basic Network Settings - Obtain IP from DHCP Server (uncheck for manual), http port: 9527
ip_address:9527/wireless.htm – Wireless LAN - Using Wireless Lan (check) - SSID, Authentication
ip_address:9527/ddns.htm – DDNS Service activation, parameters
ip_address:9527/Onvif.htm – ONVIF Stream settings ‘open’
ip_address:9527/RTSP.htm – RTSP Stream ‘open’ - port 10554 (must be wrong, should be 6554)
ip_address:9527/ptz.htm – PTZ - not available
ip_address:9527/multidev.htm – Multi-Device Settings (accessible from Internet)
ip_address:9527/user.htm – Administrator, Operator, Visitor
ip_address:9527/alias.htm – Alias Settings - IPCAM
ip_address:9527/datetime.htm – Timezone, NTP Server
ip_address:9527/recordpath.htm – Local record path - file length, time, reserved space, cover
ip_address:9527/recordsch.htm – Record schedule SD card format, capacity, recording options, time schedule
ip_address:9527/voice.htm – Voice setting (Mute, English, Chinese)
ip_address:9527/alarm.htm – Motion detect, audio detect, mail notification, upload image, arming time schedule
ip_address:9527/mail.htm – Mail service settings
ip_address:9527/ftp.htm – FTP service settings
ip_address:9527/log.htm
ip_address:9527/ipc_reboot_dev.cgi?next_url=reboot.htm
ip_address:9527/ipc_reset.cgi?next_url=rebootme.htm
ip_address:9527/upgrade.htm – Upgrade Device Firmware, Embedded Web UI (Browse)
ip_address:9527/get_ipc_status.cgi
ip_address:9527/ipc_control_video.cgi?loginuse=admin&loginpas=admin¶m=xxxx&value=yyyy
param=18&value=1
param=17&value=1
param=14&value=0 PIR off
param=14&value=1 PIR on
ip_address:9527/ipc_control_ptz.cgi
ip_address:9527/get_ipc_status.cgi
ip_address:9527/get_ipc_params.cgi
ip_address:9527/get_ipc_encode_params.cgi
ip_address:9527/get_ipc_factory_param.cgi
ip_address:9527/get_ipc_record.cgi
ip_address:9527/videostream.cgi?loginuse=admin&loginpas=admin -
ip_address:9527/snapshot.cgi?loginuse=admin&loginpas=admin - get jpeg image (704x576)
Get a jpeg image (for motion detection)
curl “http://192.168.1.250:9527/snapshot.cgi?loginuse=admin&loginpas=admin” -o test.jpeg
get_status.cgi? -> admin/ - reset
login.cgi
get_camera_params.cgi
public.cgi
get_ipc_loginmessage.cgi
jquery/jquery.min.js
public.js
This is my configuration
and this is the openhab’s log… the camera is online but not images, not moving etc…
2019-11-08 10:27:42.701 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Sending camera: GET: http://192.168.0.22/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:42.733 [TRACE] [ipcamera.internal.MyNettyAuthHandler] - MyNettyAuthHandler is now setup for GET:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:42.739 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:0 GET:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:42.751 [TRACE] [ing.ipcamera.handler.IpCameraHandler] - DefaultHttpResponse(decodeResult: failure(java.lang.IllegalArgumentException: a header name cannot contain the following prohibited characters: =,;: \t\r\n\v\f: ,), version: HTTP/1.1)
HTTP/1.1 200 OK
Server: GoaHead
2019-11-08 10:27:42.802 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:0 URL:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:47.701 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Sending camera: GET: http://192.168.0.22/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:47.726 [TRACE] [ipcamera.internal.MyNettyAuthHandler] - MyNettyAuthHandler is now setup for GET:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:47.729 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:0 GET:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:47.739 [TRACE] [ing.ipcamera.handler.IpCameraHandler] - DefaultHttpResponse(decodeResult: failure(java.lang.IllegalArgumentException: a header name cannot contain the following prohibited characters: =,;: \t\r\n\v\f: ,), version: HTTP/1.1)
HTTP/1.1 200 OK
Server: GoaHead
2019-11-08 10:27:47.791 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:0 URL:/snapshot.cgi?loginuse=admin&loginpas=admin
==> /var/log/openhab2/events.log <==
2019-11-08 10:27:52.648 [vent.ItemStateChangedEvent] - Azimuth changed from 153.9958881237165 ° to 154.24468189742086 °
2019-11-08 10:27:52.661 [vent.ItemStateChangedEvent] - Elevation changed from 23.964394694529478 ° to 24.04038843790722 °
2019-11-08 10:27:52.670 [vent.ItemStateChangedEvent] - Diffuse_Radiation changed from 105.94218879750758 W/m² to 106.08175261299178 W/m²
2019-11-08 10:27:52.678 [vent.ItemStateChangedEvent] - Total_Radiation changed from 267.8630844990612 W/m² to 269.08593069868414 W/m²
==> /var/log/openhab2/openhab.log <==
2019-11-08 10:27:52.701 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Sending camera: GET: http://192.168.0.22/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:52.715 [TRACE] [ipcamera.internal.MyNettyAuthHandler] - MyNettyAuthHandler is now setup for GET:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:52.719 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - Have re-opened the closed channel:0 GET:/snapshot.cgi?loginuse=admin&loginpas=admin
2019-11-08 10:27:52.729 [TRACE] [ing.ipcamera.handler.IpCameraHandler] - DefaultHttpResponse(decodeResult: failure(java.lang.IllegalArgumentException: a header name cannot contain the following prohibited characters: =,;: \t\r\n\v\f: ,), version: HTTP/1.1)
HTTP/1.1 200 OK
Server: GoaHead
2019-11-08 10:27:52.781 [DEBUG] [ing.ipcamera.handler.IpCameraHandler] - commonCameraHandler closed channel:0 URL:/snapshot.cgi?loginuse=admin&loginpas=admin
What i’m wrong? Someone could help me?