Anyone was able to do that?
i can send a successful image to home assistant companion app but i am probably missing something to send out to telegram.
that’s the JSON syntax i am using with “call-service” node - notify domain:
{
“message”: “Motion Detected”,
“title”: “RING DOORBELL”,
“data”: {
“ttl”: 0,
“sticky”: “true”,
“color”: “#ff9900”,
“priority”: “high”,
“notification_icon”: “mdi:doorbell-video”,
“image”: “/local/nvr/ring_snapshot3.png”
}
}
I am able to send photo through normal HA automation using YAML but i do not know how i can do the same using node-red:
**This example works fine!
service: notify.telegram_bot_ran
data:
message: test
title: test
data:
photo:
- file: /config/www/nvr/ring_snapshot3.png
caption: test@motion
Many thanks!!