Hi
I have some issues to get the image working on my Android by using the “item:” tag in the media part of the notification.
I can’t get the image working when I try to send notifications from OpenHab in following way
sendNotification("gmail@gmail.com", "message", "camera","CameraTag", "Camera Title", null, null, "**item:NOB_ZM_Monitor1_Image**", "Turn on the light=command:Shelly1_01_Button:ON", null, null)
The item NOB_ZM_Monitor1_Image is defined as an image
Image NOB_ZM_Monitor1_Image "Image [%s]" { channel="zoneminder:monitor:1:image" }
However when I save that image to a jpg file in HTML folder and reference it then I get the image as expected.
sendNotification("gmail@gmail.com", "messageToSend", "camera","Camera", "Camera Detection", null, null, **"/static/camera.jpg"**, "Turn on the light=command:Shelly1_01_Button:ON", null, null)
I tried to look in the android code and as well in the cloud connector to understand where the parsing happens and if I am using the right format. Please advice
Note: I tried to upgrade my Android client with the latest release available in GitHub, and the OpenHab version is also on latest.