Tapo C500 - Broken Onvif Events subscription

Tapo C500 - Broken Onvif Events subscription

Tapo C500 - Broken Onvif Events subscription
Tapo C500 - Broken Onvif Events subscription
2024-06-19 13:39:25 - last edited 2024-07-05 10:24:31
Model: Tapo C500  
Hardware Version: V1
Firmware Version: 1.1.3

Good Afternoon, 

 

Everything working apart from ONVIF events subscription on my Tapo C500.

I have been attempting to use Zoneminder V1.37.60 for ONVIF motion events detection. 

The zoneminder logs show the following entry: ONVIF Couldn't create subscription! (null), null

 

I tried using ODM, live streaming works, but get the following error on Events: 
 

 




When attempting to use Curl to connect to the Onvif service and getting an empty response:

gary@ZoneMinder:~$ curl http://192.168.1.238:2020/onvif/device_service
curl: (52) Empty reply from server


Also tried this bash script:

 

#!/bin/bash

# Camera IP address and port
CAMERA_IP="192.168.1.238"
CAMERA_PORT="2020"

# Camera credentials
USERNAME="REDACTED"
PASSWORD="REDACTED"

# ONVIF Event Subscription XML
SUBSCRIBE_XML="<?xml version=\"1.0\" encoding=\"UTF-8\"?> \
<env:Envelope xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"> \
  <env:Body> \
    <wsa:Subscribe> \
      <wsa:InitialTerminationTime>PT2M</wsa:InitialTerminationTime> \
      <wsa:ReferenceParameters> \
        <wsa:Callback>http://${CAMERA_IP}/Events</wsa:Callback> \
      </wsa:ReferenceParameters> \
      <wsa:Filter> \
        <wsa:TopicExpression>Detection</wsa:TopicExpression> \
      </wsa:Filter> \
    </wsa:Subscribe> \
  </env:Body> \
</env:Envelope>"

# Send the subscription request
curl -X POST \
  http://${CAMERA_IP}:${CAMERA_PORT}/onvif/device_service/Events \
  -u ${USERNAME}:${PASSWORD} \
  -H "Content-Type: application/soap+xml" \
  -d "${SUBSCRIBE_XML}"


And this is the relevant part of the reply I got: 

ter:NotAuthorized
Authority failure

The camera account username and password works perfectly for the stream. 
Are Onvif events broken for this firmware? (ver 1.1.3)

Thanks in advance. 

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Tapo C500 - Broken Onvif Events subscription-Solution
2024-07-05 10:24:27 - last edited 2024-07-05 10:24:31

Good Morning,

I can confirm that ONVIF events are now working on the C500.
This is on Firmware: 1.1.4 Build 240704 Rel.38662n

I would like to thank you for your efforts in getting this back up and running. 
I know this has been a challenge to get working, but thank you for your persistence and professionalism throughout the support process. 
I will add screenshots when available. 

 

Thanks again, much appreciated. 

Recommended Solution
  2  
  2  
#4
Options
3 Reply
Re:Tapo C500 - Broken Onvif Events subscription
2024-06-20 18:10:42

I am seeing beta firmware updates that fix this issue for the C520WS cameras, is there a beta release for the C500 firmare to fix this issue?

  1  
  1  
#2
Options
Re:Tapo C500 - Broken Onvif Events subscription
2024-06-21 03:32:41

  @Primed73 

Hi,
I have reported your case to our tech team, and they will contact you via email to follow up on your case. They can provide firmware to solve the case, but you may need to wait some time for the new firmware.
Best Regards

  1  
  1  
#3
Options
Re:Tapo C500 - Broken Onvif Events subscription-Solution
2024-07-05 10:24:27 - last edited 2024-07-05 10:24:31

Good Morning,

I can confirm that ONVIF events are now working on the C500.
This is on Firmware: 1.1.4 Build 240704 Rel.38662n

I would like to thank you for your efforts in getting this back up and running. 
I know this has been a challenge to get working, but thank you for your persistence and professionalism throughout the support process. 
I will add screenshots when available. 

 

Thanks again, much appreciated. 

Recommended Solution
  2  
  2  
#4
Options

Information

Helpful: 0

Views: 407

Replies: 3

Related Articles