mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #467] Send notification with android application #355
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#355
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dokho33 on GitHub (Nov 6, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/467
Hello.
First sorry for my English (I am French).
Sorry if I'm not in the right place to ask this question but I'm not familiar with github.
I would like to know if it is possible to send notifications with the android application?
I would like to create a bot for my home automation (using nodered).
Thanks.
@jpmens commented on GitHub (Nov 7, 2022):
I would assume sending notifications directly from Node Red (without the Android app) would easier? The documentation describes how to
POSTa message: in JavaScript it'sBut do check out the examples.
@binwiederhier commented on GitHub (Nov 7, 2022):
If you're talking about sending custom messages via the Android app, then this is a duplicate thicket #98.
If you are talking about sending messages via the ntfy app from other Android apps, then look at https://ntfy.sh/docs/subscribe/phone/#automation-apps
If you are talking about merely sending messages from your own app, then doing what @jpmens says and manually sending messages via POST/PUT is the best thing to do.
@dokho33 commented on GitHub (Nov 7, 2022):
Hi!
I managed to send (and receive) notifications with nodered.
My request is indeed a duplicate of ticket #98 (which I had not found).
All my excuses.
Regards,
@olvier commented on GitHub (Dec 17, 2022):
How did you managed to receive messages?
@dokho33 commented on GitHub (Dec 17, 2022):
Hello @olvier
With websocket node listening on wss://my.ntfy.server/my_topic/ws
@olvier commented on GitHub (Dec 17, 2022):
Hm
Hm, I already tried, but w/o any luck.
I dont use custom server, just ntfy.sh.
Any idea for further testing?
btw: Thank you for the fast answer :)
@olvier commented on GitHub (Dec 17, 2022):
It works now, just needed to add the "ws://" at beginning.
Assumed, that this is done by the node itself.