Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triggering Notifications #74

Open
sw7ft opened this issue Aug 19, 2024 · 0 comments
Open

Triggering Notifications #74

sw7ft opened this issue Aug 19, 2024 · 0 comments

Comments

@sw7ft
Copy link

sw7ft commented Aug 19, 2024

This is how you can trigger notifications, you can use this to build programs with bash or python that also allow for notifications. For example, i run a couple of bash programs that connect to an api, the bash program runs a loop checking for messages and if new messages are found i send a notifcation to the blackberry hub.

echo "msg::notify\ndat:json:{\"itemid\":\"yourItemIdHere\",\"title\":\"YourTitle\",\"subtitle\":\"YourSubtitle\",\"target\":\"YourTarget\",\"targetAction\":\"YourTargetAction\",\"payload\":\"YourPayload\",\"payloadType\":\"YourPayloadType\",\"payloadURI\":\"YourPayloadURI\"}" >> /pps/services/notify/control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant