Installed this version 2022-05-06T04:40:52.42917
I’ll start logs and try to install cameras
Found them instantly
Logs:
PS C:\dev\edgedrivers> smartthings edge:drivers:logcat 1d68e5c3-03c0-4229-985d-14e225550049 --hub-address 192.168.1.100
connecting… connected
2022-05-06T04:49:48.173869754+00:00 TRACE ONVIF Video Camera V1 Setup driver onvifDriver with lifecycle handlers:
DeviceLifecycleDispatcher: onvifDriver
default_handlers:
added:
removed:
infoChanged:
init:
driverSwitched:
deleted:
doConfigure:
child_dispatchers:
2022-05-06T04:49:48.179125421+00:00 TRACE ONVIF Video Camera V1 Setup driver onvifDriver with Capability handlers:
CapabilityCommandDispatcher: onvifDriver
default_handlers:
partyvoice23922.refresh:
push
videoStream:
startStream
stopStream
partyvoice23922.motionevents:
setSwitch
child_dispatchers:
2022-05-06T04:49:48.182155254+00:00 DEBUG ONVIF Video Camera V1 **** ONVIF Driver V1 Start ****
2022-05-06T04:49:48.192666379+00:00 TRACE ONVIF Video Camera V1 Received event with handler environment_info
2022-05-06T04:49:48.196543171+00:00 TRACE ONVIF Video Camera V1 Received event with handler environment_info
2022-05-06T04:49:48.199698754+00:00 DEBUG ONVIF Video Camera V1 Z-Wave hub node ID environment changed.
2022-05-06T04:49:48.203666171+00:00 TRACE ONVIF Video Camera V1 Received event with handler driver_lifecycle
2022-05-06T04:49:48.207734629+00:00 TRACE ONVIF Video Camera V1 Received event with handler discovery
2022-05-06T04:49:48.214379421+00:00 DEBUG ONVIF Video Camera V1 Starting discovery
2022-05-06T04:49:48.219998588+00:00 DEBUG ONVIF Video Camera V1 Making WS discovery request
2022-05-06T04:49:48.281848004+00:00 DEBUG ONVIF Video Camera V1 Discovery response from: 192.168.1.110
2022-05-06T04:49:48.298067421+00:00 DEBUG ONVIF Video Camera V1 ProbeMatch table: 0x2357f90
2022-05-06T04:49:48.301172046+00:00 DEBUG ONVIF Video Camera V1 MetadataVersion 1
2022-05-06T04:49:48.304164421+00:00 DEBUG ONVIF Video Camera V1 EndpointReference table: 0x23580f8
2022-05-06T04:49:48.307171504+00:00 DEBUG ONVIF Video Camera V1 PortType tt1
2022-05-06T04:49:48.310204879+00:00 DEBUG ONVIF Video Camera V1 Address urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD
2022-05-06T04:49:48.313176671+00:00 DEBUG ONVIF Video Camera V1 Scopes onvif://www.onvif.org/type/Network_Video_Transmitter onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/type/audio_encoder onvif://www.onvif.org/hardware/IPC-model onvif://www.onvif.org/name/IPC-model onvif://www.onvif.org/type/ptz onvif://www.onvif.org/location/country/china
2022-05-06T04:49:48.316173296+00:00 DEBUG ONVIF Video Camera V1 Types tdn:NetworkVideoTransmitter
2022-05-06T04:49:48.319552046+00:00 DEBUG ONVIF Video Camera V1 XAddrs http://192.168.1.110:888/onvif/device_service
2022-05-06T04:49:48.322706671+00:00 WARN ONVIF Video Camera V1 No Streaming profile identified by discovered device
2022-05-06T04:49:48.326026379+00:00 INFO ONVIF Video Camera V1 Creating discovered IP Camera found at 192.168.1.110
2022-05-06T04:49:48.329357421+00:00 INFO ONVIF Video Camera V1 device_network_id = urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD
2022-05-06T04:49:48.337250504+00:00 DEBUG ONVIF Video Camera V1 Discovery response from: 192.168.1.111
2022-05-06T04:49:48.354100963+00:00 DEBUG ONVIF Video Camera V1 ProbeMatch table: 0x23ceca8
2022-05-06T04:49:48.357276588+00:00 DEBUG ONVIF Video Camera V1 MetadataVersion 1
2022-05-06T04:49:48.360498754+00:00 DEBUG ONVIF Video Camera V1 EndpointReference table: 0x23cecf8
2022-05-06T04:49:48.363349838+00:00 DEBUG ONVIF Video Camera V1 PortType tt1
2022-05-06T04:49:48.366299629+00:00 DEBUG ONVIF Video Camera V1 Address urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76
2022-05-06T04:49:48.369471463+00:00 DEBUG ONVIF Video Camera V1 Scopes onvif://www.onvif.org/type/Network_Video_Transmitter onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/type/audio_encoder onvif://www.onvif.org/hardware/IPC-model onvif://www.onvif.org/name/IPC-model onvif://www.onvif.org/type/ptz onvif://www.onvif.org/location/country/china
2022-05-06T04:49:48.372652963+00:00 DEBUG ONVIF Video Camera V1 Types tdn:NetworkVideoTransmitter
2022-05-06T04:49:48.375968796+00:00 DEBUG ONVIF Video Camera V1 XAddrs http://192.168.1.111:889/onvif/device_service
2022-05-06T04:49:48.379128879+00:00 WARN ONVIF Video Camera V1 No Streaming profile identified by discovered device
2022-05-06T04:49:49.258425255+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:49:49.266793963+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received lifecycle event: added
2022-05-06T04:49:49.274286005+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:49:49.277381255+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received lifecycle event: doConfigure
2022-05-06T04:49:49.282573796+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:49:49.285479755+00:00 INFO ONVIF Video Camera V1 ADDED handler: <77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> successfully added; device_network_id = urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD
2022-05-06T04:49:49.291101546+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“motion”,“capability_id”:“motionSensor”,“component_id”:“main”,“state”:{“value”:“inactive”}}
2022-05-06T04:49:49.300724088+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“switch”,“capability_id”:“partyvoice23922.motionevents”,“component_id”:“main”,“state”:{“value”:“Off”}}
2022-05-06T04:49:49.311088171+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Not configured”}}
2022-05-06T04:49:49.320899796+00:00 DEBUG ONVIF Video Camera V1 ADDED handler exiting for IPCam #1 (configure!)
2022-05-06T04:49:49.323996630+00:00 INFO ONVIF Video Camera V1 Creating discovered IP Camera found at 192.168.1.111
2022-05-06T04:49:49.328003463+00:00 INFO ONVIF Video Camera V1 device_network_id = urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76
2022-05-06T04:49:49.335752255+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:49:49.340740505+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:49:49.343647880+00:00 DEBUG ONVIF Video Camera V1 INIT handler for: <urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD (IPCam #1 (configure!))>
2022-05-06T04:49:49.346880671+00:00 INFO ONVIF Video Camera V1 Starting Device Initialization routine for IPCam #1 (configure!)
2022-05-06T04:49:49.350673880+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“info”,“capability_id”:“partyvoice23922.onvifinfo”,“component_id”:“info”,“state”:{“value”:"\n\n\n\ntable, td {\n border: 1px solid black;\n border-collapse: collapse;\n font-size: 11px;\n padding: 3px;\n}\n\n\n\n\n\n\n\n\n\n
| IP addr: 192.168.1.110 |
| Name: IPC-model |
| Hardware: IPC-model |
| Location: country/china |
| urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD |
2022-05-06T04:49:49.361716963+00:00 DEBUG ONVIF Video Camera V1 Sending GetSystemDateAndTime request to http://192.168.1.110:888/onvif/device_service
2022-05-06T04:49:49.443175755+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-06T04:49:49.461562838+00:00 INFO ONVIF Video Camera V1 Hub UTC datetime: 5/6/2022 4:49:49
2022-05-06T04:49:49.464992547+00:00 INFO ONVIF Video Camera V1 IP cam UTC datetime: 5/6/2022 4:49:47
2022-05-06T04:49:49.469468922+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Responding”}}
2022-05-06T04:49:49.482862047+00:00 WARN ONVIF Video Camera V1 Userid/Password not configured: IPCam #1 (configure!)
2022-05-06T04:49:49.486078005+00:00 ERROR ONVIF Video Camera V1 Failed to initialize device IPCam #1 (configure!)
2022-05-06T04:49:49.489404922+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:49:49.494392255+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:49:49.497612422+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:49:49.506616963+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:49:50.197413005+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:49:50.207280714+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received lifecycle event: added
2022-05-06T04:49:50.219273630+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:49:50.222834589+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received lifecycle event: doConfigure
2022-05-06T04:49:50.228317755+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:49:50.231279297+00:00 INFO ONVIF Video Camera V1 ADDED handler: <e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> successfully added; device_network_id = urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76
2022-05-06T04:49:50.235665297+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“motion”,“capability_id”:“motionSensor”,“component_id”:“main”,“state”:{“value”:“inactive”}}
2022-05-06T04:49:50.245341505+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“switch”,“capability_id”:“partyvoice23922.motionevents”,“component_id”:“main”,“state”:{“value”:“Off”}}
2022-05-06T04:49:50.255979797+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Not configured”}}
2022-05-06T04:49:50.267336172+00:00 DEBUG ONVIF Video Camera V1 ADDED handler exiting for IPCam #2 (configure!)
2022-05-06T04:49:50.270542464+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T04:49:50.275325630+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:49:50.278322922+00:00 DEBUG ONVIF Video Camera V1 INIT handler for: <urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76 (IPCam #2 (configure!))>
2022-05-06T04:49:50.283113797+00:00 INFO ONVIF Video Camera V1 Starting Device Initialization routine for IPCam #2 (configure!)
2022-05-06T04:49:50.286940380+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“info”,“capability_id”:“partyvoice23922.onvifinfo”,“component_id”:“info”,“state”:{“value”:"\n\n\n\ntable, td {\n border: 1px solid black;\n border-collapse: collapse;\n font-size: 11px;\n padding: 3px;\n}\n\n\n\n\n\n\n\n\n\n
| IP addr: 192.168.1.111 |
| Name: IPC-model |
| Hardware: IPC-model |
| Location: country/china |
| urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76 |
2022-05-06T04:49:50.298177089+00:00 DEBUG ONVIF Video Camera V1 Sending GetSystemDateAndTime request to http://192.168.1.111:889/onvif/device_service
2022-05-06T04:49:50.401053089+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-06T04:49:50.421365422+00:00 INFO ONVIF Video Camera V1 Hub UTC datetime: 5/6/2022 4:49:50
2022-05-06T04:49:50.424624297+00:00 INFO ONVIF Video Camera V1 IP cam UTC datetime: 5/6/2022 4:49:48
2022-05-06T04:49:50.428331755+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Responding”}}
2022-05-06T04:49:50.441261297+00:00 WARN ONVIF Video Camera V1 Userid/Password not configured: IPCam #2 (configure!)
2022-05-06T04:49:50.444622589+00:00 ERROR ONVIF Video Camera V1 Failed to initialize device IPCam #2 (configure!)
2022-05-06T04:49:50.448231339+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T04:49:50.453525005+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:49:50.456378047+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T04:49:50.465323380+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T04:50:00.958307760+00:00 TRACE ONVIF Video Camera V1 Received event with handler discovery
2022-05-06T04:50:08.739157931+00:00 INFO ONVIF Video Camera V1 Driver is exiting discovery
2022-05-06T04:50:08.747853431+00:00 DEBUG ONVIF Video Camera V1 discovery device thread event handled
You need to configure your userid and password in device Settings for each camera. Then press the Refresh button back on the device Controls screen.
I just did
2022-05-06T04:51:39.173595057+00:00 TRACE ONVIF Video Camera V1 Received event with handler discovery
2022-05-06T04:51:39.365943099+00:00 DEBUG ONVIF Video Camera V1 Starting discovery
2022-05-06T04:51:39.381278974+00:00 DEBUG ONVIF Video Camera V1 Making WS discovery request
2022-05-06T04:51:39.460157682+00:00 DEBUG ONVIF Video Camera V1 Discovery response from: 192.168.1.111
2022-05-06T04:51:39.477079307+00:00 DEBUG ONVIF Video Camera V1 ProbeMatch table: 0x2388600
2022-05-06T04:51:39.480229974+00:00 DEBUG ONVIF Video Camera V1 MetadataVersion 1
2022-05-06T04:51:39.483215182+00:00 DEBUG ONVIF Video Camera V1 EndpointReference table: 0x2346820
2022-05-06T04:51:39.486158349+00:00 DEBUG ONVIF Video Camera V1 PortType tt1
2022-05-06T04:51:39.489083516+00:00 DEBUG ONVIF Video Camera V1 Address urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76
2022-05-06T04:51:39.492133141+00:00 DEBUG ONVIF Video Camera V1 Scopes onvif://www.onvif.org/type/Network_Video_Transmitter onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/type/audio_encoder onvif://www.onvif.org/hardware/IPC-model onvif://www.onvif.org/name/IPC-model onvif://www.onvif.org/type/ptz onvif://www.onvif.org/location/country/china
2022-05-06T04:51:39.495598932+00:00 DEBUG ONVIF Video Camera V1 Types tdn:NetworkVideoTransmitter
2022-05-06T04:51:39.499007224+00:00 DEBUG ONVIF Video Camera V1 XAddrs http://192.168.1.111:889/onvif/device_service
2022-05-06T04:51:39.502301182+00:00 WARN ONVIF Video Camera V1 No Streaming profile identified by discovered device
2022-05-06T04:51:39.505537182+00:00 DEBUG ONVIF Video Camera V1 Discovered device was already known
2022-05-06T04:51:39.509028766+00:00 DEBUG ONVIF Video Camera V1 Discovery response from: 192.168.1.110
2022-05-06T04:51:39.525211432+00:00 DEBUG ONVIF Video Camera V1 ProbeMatch table: 0x233e120
2022-05-06T04:51:39.528413016+00:00 DEBUG ONVIF Video Camera V1 MetadataVersion 1
2022-05-06T04:51:39.531591099+00:00 DEBUG ONVIF Video Camera V1 EndpointReference table: 0x239a068
2022-05-06T04:51:39.534690266+00:00 DEBUG ONVIF Video Camera V1 PortType tt1
2022-05-06T04:51:39.537704391+00:00 DEBUG ONVIF Video Camera V1 Address urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD
2022-05-06T04:51:39.541295641+00:00 DEBUG ONVIF Video Camera V1 Scopes onvif://www.onvif.org/type/Network_Video_Transmitter onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/type/audio_encoder onvif://www.onvif.org/hardware/IPC-model onvif://www.onvif.org/name/IPC-model onvif://www.onvif.org/type/ptz onvif://www.onvif.org/location/country/china
2022-05-06T04:51:39.544247849+00:00 DEBUG ONVIF Video Camera V1 Types tdn:NetworkVideoTransmitter
2022-05-06T04:51:39.547529099+00:00 DEBUG ONVIF Video Camera V1 XAddrs http://192.168.1.110:888/onvif/device_service
2022-05-06T04:51:39.550911016+00:00 WARN ONVIF Video Camera V1 No Streaming profile identified by discovered device
2022-05-06T04:51:39.554138849+00:00 DEBUG ONVIF Video Camera V1 Discovered device was already known
2022-05-06T04:51:41.145826315+00:00 TRACE ONVIF Video Camera V1 Received event with handler discovery
2022-05-06T04:51:59.912964427+00:00 INFO ONVIF Video Camera V1 Driver is exiting discovery
2022-05-06T04:51:59.916298302+00:00 DEBUG ONVIF Video Camera V1 discovery device thread event handled
2022-05-06T04:52:13.086734304+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:52:13.092608637+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received lifecycle event: infoChanged
2022-05-06T04:52:13.100421804+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:52:13.103512679+00:00 DEBUG ONVIF Video Camera V1 INFOCHANGED handler; event= infoChanged
2022-05-06T04:52:13.106615970+00:00 INFO ONVIF Video Camera V1 UserID updated to 1144
2022-05-06T04:52:13.110396845+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Tap Refresh to connect”}}
2022-05-06T04:52:13.120666262+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:52:24.578276222+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:52:24.584781513+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received lifecycle event: infoChanged
2022-05-06T04:52:24.595439638+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:52:24.598478055+00:00 DEBUG ONVIF Video Camera V1 INFOCHANGED handler; event= infoChanged
2022-05-06T04:52:24.601617763+00:00 INFO ONVIF Video Camera V1 Password updated
2022-05-06T04:52:24.605093347+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Tap Refresh to connect”}}
2022-05-06T04:52:24.615097513+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:52:34.228156514+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:52:34.237895098+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received lifecycle event: infoChanged
2022-05-06T04:52:34.248864973+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:52:34.252567889+00:00 DEBUG ONVIF Video Camera V1 INFOCHANGED handler; event= infoChanged
2022-05-06T04:52:34.255499639+00:00 INFO ONVIF Video Camera V1 Video stream changed to mainstream
2022-05-06T04:52:34.258721056+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:52:52.057891767+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T04:52:52.066223142+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received command: {“args”:{},“capability”:“partyvoice23922.refresh”,“command”:“push”,“component”:“info”,“positional_args”:{}}
2022-05-06T04:52:52.070037767+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T04:52:52.074265725+00:00 INFO ONVIF Video Camera V1 Refresh requested
2022-05-06T04:52:52.078305392+00:00 INFO ONVIF Video Camera V1 Starting Device Initialization routine for IPCam #1 (configure!)
2022-05-06T04:52:52.082878892+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“info”,“capability_id”:“partyvoice23922.onvifinfo”,“component_id”:“info”,“state”:{“value”:"\n\n\n\ntable, td {\n border: 1px solid black;\n border-collapse: collapse;\n font-size: 11px;\n padding: 3px;\n}\n\n\n\n\n\n\n\n\n\n
| IP addr: 192.168.1.110 |
| Name: IPC-model |
| Hardware: IPC-model |
| Location: country/china |
| urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E82AFCD |
2022-05-06T04:52:52.094194808+00:00 DEBUG ONVIF Video Camera V1 Sending GetSystemDateAndTime request to http://192.168.1.110:888/onvif/device_service
2022-05-06T04:52:52.175100100+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-06T04:52:52.207687017+00:00 INFO ONVIF Video Camera V1 Hub UTC datetime: 5/6/2022 4:52:52
2022-05-06T04:52:52.210977225+00:00 INFO ONVIF Video Camera V1 IP cam UTC datetime: 5/6/2022 4:52:50
2022-05-06T04:52:52.214484017+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Responding”}}
2022-05-06T04:52:52.228022558+00:00 DEBUG ONVIF Video Camera V1 Sending GetScopes request to http://192.168.1.110:888/onvif/device_service
2022-05-06T04:52:52.325797933+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-06T04:52:52.342565392+00:00 ERROR ONVIF Video Camera V1 Unexpected HTTP Error 200 from camera: IPCam #1 (configure!)
2022-05-06T04:52:52.345755642+00:00 ERROR ONVIF Video Camera V1 Failed to determine authentication method
2022-05-06T04:52:52.349163475+00:00 ERROR ONVIF Video Camera V1 Failed to get Scopes from http://192.168.1.110:888/onvif/device_service
2022-05-06T04:52:52.352523100+00:00 ERROR ONVIF Video Camera V1 Failed to initialize device IPCam #1 (configure!)
2022-05-06T04:52:52.355666433+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:52:58.758030767+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T04:52:58.775125726+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received command: {“args”:{“value”:“On”},“capability”:“partyvoice23922.motionevents”,“command”:“setSwitch”,“component”:“main”,“positional_args”:[“On”]}
2022-05-06T04:52:58.778550934+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T04:52:58.781654017+00:00 DEBUG ONVIF Video Camera V1 main switch turned setSwitch / On
2022-05-06T04:52:58.784624309+00:00 WARN ONVIF Video Camera V1 Cannot enable motion events - IPCam #1 (configure!) not yet initialized
2022-05-06T04:52:58.788183184+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> emitting event: {“attribute_id”:“switch”,“capability_id”:“partyvoice23922.motionevents”,“component_id”:“main”,“state”:{“value”:“Off”}}
2022-05-06T04:52:58.797877517+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T04:53:16.108224061+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:53:16.117891186+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received lifecycle event: infoChanged
2022-05-06T04:53:16.128830103+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:53:16.131879353+00:00 DEBUG ONVIF Video Camera V1 INFOCHANGED handler; event= infoChanged
2022-05-06T04:53:16.134859269+00:00 INFO ONVIF Video Camera V1 UserID updated to 1144
2022-05-06T04:53:16.138452103+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Tap Refresh to connect”}}
2022-05-06T04:53:16.148409894+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T04:53:27.637962104+00:00 TRACE ONVIF Video Camera V1 Received event with handler device_lifecycle
2022-05-06T04:53:27.644421562+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received lifecycle event: infoChanged
2022-05-06T04:53:27.696013312+00:00 TRACE ONVIF Video Camera V1 Found DeviceLifecycleDispatcher handler in onvifDriver
2022-05-06T04:53:27.718993812+00:00 DEBUG ONVIF Video Camera V1 INFOCHANGED handler; event= infoChanged
2022-05-06T04:53:27.729014062+00:00 INFO ONVIF Video Camera V1 Password updated
2022-05-06T04:53:27.732675521+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Tap Refresh to connect”}}
2022-05-06T04:53:27.778073271+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T04:53:33.004424813+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T04:53:33.032935063+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received command: {“args”:{},“capability”:“partyvoice23922.refresh”,“command”:“push”,“component”:“info”,“positional_args”:{}}
2022-05-06T04:53:33.045142771+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T04:53:33.055984313+00:00 INFO ONVIF Video Camera V1 Refresh requested
2022-05-06T04:53:33.067090938+00:00 INFO ONVIF Video Camera V1 Starting Device Initialization routine for IPCam #2 (configure!)
2022-05-06T04:53:33.088078438+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“info”,“capability_id”:“partyvoice23922.onvifinfo”,“component_id”:“info”,“state”:{“value”:"\n\n\n\ntable, td {\n border: 1px solid black;\n border-collapse: collapse;\n font-size: 11px;\n padding: 3px;\n}\n\n\n\n\n\n\n\n\n\n
| IP addr: 192.168.1.111 |
| Name: IPC-model |
| Hardware: IPC-model |
| Location: country/china |
| urn:uuid:88d87a05-d7f7-7e45-b1e9-00626E6EAF76 |
2022-05-06T04:53:33.101159063+00:00 DEBUG ONVIF Video Camera V1 Sending GetSystemDateAndTime request to http://192.168.1.111:889/onvif/device_service
2022-05-06T04:53:33.175269771+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-06T04:53:33.193053105+00:00 INFO ONVIF Video Camera V1 Hub UTC datetime: 5/6/2022 4:53:33
2022-05-06T04:53:33.196296480+00:00 INFO ONVIF Video Camera V1 IP cam UTC datetime: 5/6/2022 4:53:30
2022-05-06T04:53:33.199953021+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Responding”}}
2022-05-06T04:53:33.218385980+00:00 DEBUG ONVIF Video Camera V1 Sending GetScopes request to http://192.168.1.111:889/onvif/device_service
2022-05-06T04:53:33.251643896+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-06T04:53:33.268124230+00:00 ERROR ONVIF Video Camera V1 Unexpected HTTP Error 200 from camera: IPCam #2 (configure!)
2022-05-06T04:53:33.271466980+00:00 ERROR ONVIF Video Camera V1 Failed to determine authentication method
2022-05-06T04:53:33.275236146+00:00 ERROR ONVIF Video Camera V1 Failed to get Scopes from http://192.168.1.111:889/onvif/device_service
2022-05-06T04:53:33.278450605+00:00 ERROR ONVIF Video Camera V1 Failed to initialize device IPCam #2 (configure!)
2022-05-06T04:53:33.281675105+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
FYI, you guys can email me logs at rpi.smartthings@gmail.com rather than fill up the postings here, since they can get pretty verbose!
OK, I see what is happening, your camera is not replying with the expected ONVIF authentication request. They really haven’t gone by the ONVIF spec, so this is going to be a bit of a slog…
I’ll have to come up with a solution to this situation. It’s getting late here, so I’ll have something for you to try later in the afternoon for you.
Yes, they won’t until we get through a successful initialization sequence. Not there yet but we’ll get there eventually!
We can continue tomorrow. I think that we are same time zone (I am in Chicago)
Anyway let me know if I need to change any camera’s network settings.
This just couple of repeating logs2022-05-06T05:05:27.079431598+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T05:05:27.082426973+00:00 DEBUG ONVIF Video Camera V1 Streaming handler invoked with command startStream
2022-05-06T05:05:27.085507848+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T05:05:27.188824473+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T05:05:27.193989098+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received command: {“args”:{},“capability”:“videoStream”,“command”:“startStream”,“component”:“main”,“positional_args”:{}}
2022-05-06T05:05:27.197442640+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T05:05:27.200560223+00:00 DEBUG ONVIF Video Camera V1 Streaming handler invoked with command startStream
2022-05-06T05:05:27.203584515+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T05:05:27.218097223+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T05:05:27.222143682+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received command: {“args”:{},“capability”:“videoStream”,“command”:“stopStream”,“component”:“main”,“positional_args”:{}}
2022-05-06T05:05:27.225521015+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T05:05:27.228528432+00:00 DEBUG ONVIF Video Camera V1 Streaming handler invoked with command stopStream
2022-05-06T05:05:27.231661598+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T05:05:48.013340816+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T05:05:48.051881066+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received command: {“args”:{},“capability”:“videoStream”,“command”:“stopStream”,“component”:“main”,“positional_args”:{}}
2022-05-06T05:05:48.081103900+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T05:05:48.084366733+00:00 DEBUG ONVIF Video Camera V1 Streaming handler invoked with command stopStream
2022-05-06T05:05:48.089685317+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled
2022-05-06T05:05:48.103308150+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T05:05:48.130224358+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received command: {“args”:{},“capability”:“videoStream”,“command”:“stopStream”,“component”:“main”,“positional_args”:{}}
2022-05-06T05:05:48.148389775+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T05:05:48.161934442+00:00 DEBUG ONVIF Video Camera V1 Streaming handler invoked with command stopStream
2022-05-06T05:05:48.169179317+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T05:07:13.755386524+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T05:07:13.761015441+00:00 INFO ONVIF Video Camera V1 <Device: e7a0aa38-3448-45b6-a457-90bfa8b06eb5 (IPCam #2 (configure!))> received command: {“args”:{},“capability”:“videoStream”,“command”:“startStream”,“component”:“main”,“positional_args”:{}}
2022-05-06T05:07:13.764432941+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-06T05:07:13.767847232+00:00 DEBUG ONVIF Video Camera V1 Streaming handler invoked with command startStream
2022-05-06T05:07:13.771523524+00:00 DEBUG ONVIF Video Camera V1 IPCam #2 (configure!) device thread event handled
2022-05-06T05:07:13.797162441+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-06T05:07:13.802480441+00:00 INFO ONVIF Video Camera V1 <Device: 77e3cb75-1727-42ed-b410-5081143131bf (IPCam #1 (configure!))> received command: {“args”:{},“capability”:“videoStream”,“command”:“startStream”,“component”:“main”,“positional_args”:{}}
At time of writing
It is worth noting that the maximum resolution the cameras will display at are 1920 x 1080
If your camera displays a native higher resolution it might display but no other camera will play, this is possibly due to another platform limitation
As the ST platform at present is limited in its handling of various resolutions it is advised to use the sub stream setting in the drivers settings option, using a sub stream should give reliable playback
Also due to a current platform inability to create a device with its own playback image outside of camera group, camera group can only be created with a minimum of 2 cameras
If your camera does successfully install by this driver and your camera sends motion detection alarms to its native app this driver can still be used for motion automations in ST even if you only have one camera and no video
The ST platform at this time does not allow for PTZ control
Got up this morning and tried again, both cams appeared immediately so all good. However after creating a camera group which went well, within minutes my camera group changed to a lighting group which I could not open/edit/delete. A few minutes later it disappeared completely and when I tried to create a new camera group, only 1 of my cams was selectable. Both cams showing as responding.
Think there was something going on at my end last night as I had just added a nest indoor camera earlier in the evening and it wasn’t working but this morning it’s working fine again
Yes, I changed the ip. For some reason I thought it shouldn’t be shared to the public. I sent you an email about the logs.
Todd,
Once again thanks for all your contributions to Smartthings.
I added the driver and scanned it found all 14 of my IP cameras.
I have a mixture of HikVision and Dahua.
Unfortunately I have to go to work today, so I will try to play with them at the weekend and report back with the model numbers and any issues.
Thanks,
NickA
Make sure you switch on Onvif control in the cam settings and create a user, use those Onvif settings (username and password) to login to the cameras with the driver
Dont try and use your cameras normal login details as that is not how the connection is created
I’ve pushed out a new driver: version 2022-05-06T17:16:40.126588
This attempts to help diagnose issues that @milandjurovic71 and @Sakari are having. I will take up further problem determination with them in a separate DM thread so as not to fill up this topic with all the back and forth. Also, to that end, PLEASE DON’T POST LOGS here. Either DM them to me or use my email, rpi.smartthings@gmail.com
Thanks!
I’m glad your got your camera devices created, but that indeed is a VERY strange thing to happen with your camera group. I’m afraid that may be a SmartThings issue.
Are you getting motion alerts?
One thing to be aware of, that would indicate a possible driver issue, is that when you try to bring up the stream of your camera using the camera group, and it never works, this could be a case where the driver was unable to retrieve the stream URL from the camera. If that happens, the driver cannot provide SmartThings with the stream URL when asked for. One thing to try is to go into Settings and try switching the stream between main and sub. Main is typically high def and sub is typically a lower resolution ‘preview’ stream (the default). You will need to do a Refresh each time you change the stream selection.
I just read quickly the topic and the first thing what came into my mind that some cameras using ONVIF but not fully according the official specifications. So reports wrongly the streams and ports.
I read about an issue like that with the Foscam integration where ports were wrongly reported by the camera when the ONVIF discovery happened. (I will try to find the topic where I read it, so you would understand it better.)
One other question to @fido and anybody else who installed and set up the driver. Can you use the camera in an Automation/Routine?
As I remember there was an option in the Automation builder that you can send a Camera snapshot as part of a notification. Most basic example, send snapshot of camera (5 seconds after) when the gate/garage door opens.
Edit: Have a look here: FOSCAM cameras migrated from yaml without error, but fail to display video when clicking the preview · Issue #45939 · home-assistant/core · GitHub
The Foscam camera returns incorrectly the RTSP port.
Edit 2: By the way, really cool job! Well done!
Yes, the camera/s can be used in an automation but the include a snapshot option remains greyed out, at least for me it does, due to this being a venture into the relative unknown, some users may find different
To clarify, there is little control added by Tods driver, so changing a cameras resolution, or moving a PTZ is not possible, the option for an automation is movement detection, this is sent from the camera and detected by the driver
An automation will then be
IF
Movement detected or not detected
THEN
Any of the usual ST automation options including notify me
Yeah very strange with the camera/lighting group. Thankfully it has resolved itself now and I’m pretty consistently seeing a camera group now.
I am getting motion alerts on both cams but no live feed. I have tried as you suggested by changing the stream from sub to main etc and refreshing each time but with no joy. I tested using an onvif app on my phone and both cams work as expected. Whether it’s something at my end or not I’m unsure. Happy to provide any additional details as necessary and thank you for your assistance.

