I am having trouble getting notifications to work on the lock screen of my pixel 7.
I have allowed show all notification content for the lock screen field of my channel, override DND enabled enabled sensitive notifications, set show conversations, default, and silent in my phones notification settings and removed any battery saving settings.
I have tried setting channel importance and using ttl: 0 with priority: high.
The only way I can get it to work is if I set up a persistent connection to the server. I want to try and avoid the battery drain cause by doing this.
Current code from node red is below. I normally use the visual editor for JSON so I initially had everything in quotations. Switched to expressions to try with/without for
ttl, priority, importance, and visibility to see if it made any difference.
{
"title": "Front Door",
"message": "There is someone at the front door",
"data": {
"ttl": 0,
"priority": high,
"channel": "cctv",
"importance": high,
"visibility": public,
"notification_icon": "mdi:cctv",
"clickAction": "/lovelace/camera_testing",
"image": "/api/camera_proxy/camera.doorcam"
}
}