Hi All
I have been trying out the new openHAB 4,2 notifications enhancements with my setup.
I am running on openHAB4.2.0 with Android App version 3.15
I have been looking at the Actions enhancements - but am not sure if these are fully implemented in the App at this stage?
I managed to get the following to work:
*New TAG to create Notification Categories
*Title
*referenceID to overwrite a notification
I am however stuck on the ACTIONS (onClickAction).
I did get the command
action to send a command to my item
actions.NotificationAction.sendBroadcastNotification('***Gate has Opened! ***','presence','MvGTest','Gate Action','refID','command:ShellyGarageDoorshelly1a4cf12f486ac10163199232_Power:ON','null','null','null','null');
However have had no luck with the ui:navigate:
syntax.
This could well be an issue with my Syntax - though I have tried to follow the documentation and tried many options.
The syntax that I believe SHOULD work is:
actions.NotificationAction.sendBroadcastNotification('***Gate has Opened! ***','presence','MvGTest','Gate Action','refID','ui:navigate:/page/OverviewOLD:','null','null','null','null');
This opens up the APP to the default page (SiteMap) but does not navigate to my requested Main UI page, which I have confirmed to be correct.
I have also tried the https
syntax. In this case the App doe snot even open:
actions.NotificationAction.sendBroadcastNotification('***Gate has Opened! ***','presence','MvGTest','Gate Action','refID','https://openhab.org','null','null','null','null');
Any advise / pointers would be appreciated?
Thanks
Mark