alarmo
alarmo copied to clipboard
Adding Images to Notification
Alarmo Version
v1.4.1
HA Version
2021.6.2
Bug description
Hey Guys, While trying to make a push notification (in this case for an android device) I can’t add an image like I can add it under regular automation - push notification ( notify. ) This might be a user error but I still would like to get some help, Thanks. Is that something that I'm doing wrong or a bug that we cant send images through Alarmo notifications? What I’m trying to write that is working in regular automation:
service: notify.addnamehere
data:
title: ALARM
message: The Alarm Is Disarmed
data:
image: /local/Notification_PNGs/nameofimage.png
### Steps to reproduce
_No response_
### Relevant log output
_No response_
Hi, I'm using: Alarmo Version v1.9.4 HA Version 2021.6.4 and don't see any problem sending image notifications by telegram.
YMAL code i'm using in the Alarmo actions:
service: notify.telegram_******
service_data:
title: ''
message: Grafika
data:
photo:
- file: /config/www/graphics/Alarmo/Alarm_armed_custom.png
caption: ''
Maybe try to send your notification through Services in Developer Tools and see if You can get it. I can't help You with android push notification becasue I've never used it.
it is working via automation or services but it won't send the picture via alarmo notification panel
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
this is is not solved
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
@MrPresident2 I'm sorry for ignoring this issue. The problem is that I don't know how to help you. Actions in alarmo (should) support the same capabilities as a service in HA. The way of attaching an image depend on the device you are sending the image to.
I recommend to test your service in Developer Tools -> Services. Once this is working as it should, you can copy the YAML code of the service, and use it in an Alarmo action. If you experience that your service does work under Developer Tools but not in Alarmo, this is a possible bug that I might be able to help with, but so far I don't think this is the case.
@nielsfaber That's what I'm trying to say. I've done it multiple times before, in the services, everything works just fine, but under Alarmo it is not working, thus it is a bug, not something else.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days