Skip to content

Rich push notifications stopped working for Reolink B1200, Duo Wifi, and RLC-1212A Cameras #144082

Open
@freakinbluechair

Description

@freakinbluechair

The problem

Describe the bug
I have rich push notifications set up for my cameras that were working fine until a few days ago. The notifications still work on my POE doorbell, but have stopped working for all of my B1200s, Duo floodlight wifi, and RLC-1212A camera. I cannot tell exactly why it is no longer working but from logs it appears right after person is detected on a camera, all sensors go to unavailable. Additionally, attempting to take a snapshot from the cameras returns on error on HA. The non working notifications are on all 4 of the B1200 cameras as well as the RLC-1212A and Duo. All of these cameras have the same error when attempting to get a snapshot as well. The doorbell camera has no issues with snapshot or sending the push notifications.

Here is that error: "Received a different content type than expected: Expected type 'image/jpeg' but received 'text/html', response: [ { "cmd" : "Snap", "code" : 1, "error" : { "detail" : "rcv failed", "rspCode" : -17 } } ]"

I have verified my secondary rules of timing out the notifications and the pause notifications timer are not causing the issue (both pass on the automations page).

To Reproduce
I have push notifications set up exactly as outlined in the official documentation on the integration. YAML for push command is below.

According to HA, all of my cameras and NVR are on the latest firmware. As far as I can easily tell, nothing has changed in my HA environment since this stopped working.

Expected behavior
Rich push notification to phone with last snapshot from camera where person was detected.

Screenshots
Here is what I am seeing with the sensors.
https://imgur.com/a/GA0N1jO
As you can see the Push automation is being triggered however. But no notification comes through.

Here is my integration page https://imgur.com/a/MNNZlL2

Environment:
All cameras, with the exception of the Duo, including the working doorbell are hardwired back to the NVR which is a RLN8-410. NVR is directly plugged into my main switch.

Running full unifi setup for networking and everything seems to be working fine on that end.

HA is running in proxmox on a laptop hardwired to the network.

Additional context
I have tried basic troubleshooting steps. Restarted HA, reloaded integration, rebuilt automations.

What version of Home Assistant Core has the issue?

core-2024.4.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

reolink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/reolink

Diagnostics information

config_entry-reolink-01JQ0TXXR4N72KYFT4RMW3KF7K (2).json

Example YAML snippet

alias: Back Patio Push
description: ""
triggers:

trigger: state
entity_id:
binary_sensor.back_patio_person
to: "on"
conditions:
condition: template
value_template: >-
{{as_timestamp(now()) -
as_timestamp(state_attr('automation.back_patio_push', 'last_triggered'),
0) > 30}}
condition: state
entity_id: input_select.pause_notifications
state: Notifications Turned On
actions:
action: camera.snapshot
metadata: {}
data:
filename: /media/reolink_snapshot/last_snapshot_back_patio.jpg
target:
entity_id: camera.back_patio_fluent
action: notify.mobile_app_MYPHONE
metadata: {}
data:
message: Person in the back yard
title: Back Patio
data:
image: /media/local/reolink_snapshot/last_snapshot_back_patio.jpg
clickAction: /camera-feeds/back_patio
ttl: 0
priority: high
action: notify.mobile_app_WIFESPHONE
metadata: {}
data:
data:
image: /media/local/reolink_snapshot/last_snapshot_back_patio.jpg
url: /camera-feeds/back_patio
title: Back Patio
message: Person in the back yard
mode: single

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions