Blockly - Notification - Media direct in Message

  • Platform information:
    • openHAB version: 5.0.1
    • opeHAB App: Android - 3.17.2

Is there a way to output images from items directly via the notification block?

I am gradually switching my rules from DSL to Blocky, and it has worked there so far.

sendBroadcastNotification(“Es hat geklingelt!”, “klingel”, “Klingel”,
“Ring Ring”, “id-doorbell”, null,
“item:DoorbirdKlingel_Doorbell_Pressed_Image”, “Hof Tür öffnen=command:DoorbirdA1081Controller_OpenDoor1:ON”, null, null)

image

The item state in the media URL hasn’t worked so far, and when I add it in the message area, I only get the text value from the image.

Hi,
You need the string ‘item:’ followed by the name of the item

Thanks, that was the solution.