I just started my Blockly adventure. While testing relevant blocks to replace my Rules DSL step by step, I couldn’t get most of the new notifications block features (e.g. Icon, Tag) working as it was described in the blog.
(“sendNotification” is working with Rules DSL)
First of all I have to apologize that the blocks aren’t documented yet. I only noticed a few days ago that I forgot ( I was kind of sure I had done it …).
Regarding iOS I actually tested the Blocks on iOS as well. Can you explain what the problem is? Is it every notification not working or only the custom headers? I don’t understand what issue is you are trying to show with the notification screenshot.
Icon is only supported by Android, tag is not shown on iOS (not sure how exactly tag is used on Android) but can still be used to hide notifications.
Media URL and On-Click Action should work however.
Can you please share the full media URL?
On-click Action and Action Buttons are working as well. It needs a “tap hold” on the notification to make all of it visible. Seems I missed that quite important piece of information
The Notification block is amazing. I love how you have managed to include so many options in one block.
Perhaps I am missing something, but the linked documentation indicates that the “Send notification to specific cloud email user” block should still be available, but I don’t see it as one of the options under openHAB/Notifications in Blockly in OH 5.0.1. In fact, the instances where I use this block stopped working, I think when I updated from 5.0 to 5.0.1.
I tried to reproduce the functionality using the “to Users” option in the main new block, but I am not receiving any notifications on my iOS devices. (I have 2 separate OH installations, each of which has its own myopenhab cloud logins, and I use the email address for the one that is set up on the iOS openHAB app).
If I leave the user option empty on the linked system, the notifications come through as expected.