Skip to content

Commit 7296b38

Browse files
authored
[openhabcloud] Update Notification Docs (openhab#17023)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
1 parent 826e3b6 commit 7296b38

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bundles/org.openhab.io.openhabcloud/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ Note: The optionally exposed items will show up after they receive an update to
8585

8686
The openHAB Cloud Connector allows to send push notifications to apps on mobile devices registered with an [openHAB Cloud instance](https://github.com/openhab/openhab-cloud) such as [myopenHAB.org](https://www.myopenhab.org).
8787

88+
![Push Notification](doc/notifications.png)
89+
8890
To send push notifications, the notification actions have to be used in rules.
8991

9092
### Basic Usage
@@ -138,7 +140,7 @@ The additional parameter for these variants have the following meaning:
138140
- `title`: The title of the notification. Defaults to "openHAB" inside the Android and iOS apps.
139141
- `referenceId`: A user supplied id to both replace existing messages when pushed, and later remove messages with the `hideNotificationByReferenceId` actions.
140142
- `onClickAction`: The action to be performed when the user clicks on the notification. Specified using the [action syntax](#action-syntax).
141-
- `mediaAttachmentUrl`: The URL of the media attachment to be displayed with the notification. This can either be a fully qualified URL, prefixed with `http://` or `https://` and reachable by the client device, or an image item with the format `item:MyImageItem`
143+
- `mediaAttachmentUrl`: The URL of the media attachment to be displayed with the notification. This can either be a fully qualified URL, prefixed with `http://` or `https://` and reachable by the client device, a relative path on the user's openHAB instance starting with `/`, or an image item with the format `item:MyImageItem`
142144
- `actionButton1`: The action to be performed when the user clicks on the first action button. Specified as `Title=$action`, where `$action` follows the [action syntax](#action-syntax).
143145
- `actionButton2`: The action to be performed when the user clicks on the second action button. Specified as `Title=$action`, where `$action` follows the [action syntax](#action-syntax).
144146
- `actionButton3`: The action to be performed when the user clicks on the third action button. Specified as `Title=$action`, where `$action` follows the [action syntax](#action-syntax).
Loading

0 commit comments

Comments
 (0)