Action Notifications mediaAttachmentUrl not fully working
Closed this issue · 0 comments
uk59823 commented
Actual behaviour
https://community.openhab.org/t/oh4-2-0-notifications-with-android-app-media-attachements/157291
https://community.openhab.org/t/oh4-2-0-notifications-with-android-app-actions/157204/23
Using the mediaAttachmentUrl
parameter with a fully qualified URL the attachment is part of the notification, visible, but not with an image item with the format item:MyImageItem.
Using:
actions.notificationBuilder("Bewegung am Briefkasten")
.withIcon("letterbox")
.withTitle("Briefkasten")
.withMediaAttachmentUrl(items["SnapShotUri_Arenti_IN1_1"].state.toString())
.addUserId(abc@def.de)
.send();
The image described with the SnapShortUri (http://....) is shown
Using:
actions.notificationBuilder("Bewegung am Briefkasten")
.withIcon("letterbox")
.withTitle("Briefkasten")
.withMediaAttachmentUrl("item:SnapShot_Arenti_IN1_1")
.addUserId(abc@def.de)
.send();
The image is not shown.
Expected behaviour
Both Uri and ImageItem should show the picture
Environment data
Client
- Android version: 14
- Device model: Xiaomi 13T Pro
- App version: 3.15.4
- Build flavor: Play Store
- Device language: German
Server
- Server version: 4.2.0
openHAB Cloud
- Self hosted cloud or myopenhab.org: myopenhab.org