[GH-ISSUE #467] Send notification with android application #355

Closed
opened 2026-05-07 00:23:26 +02:00 by BreizhHardware · 7 comments

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.

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.
BreizhHardware 2026-05-07 00:23:26 +02:00
Author
Owner

@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 POST a message: in JavaScript it's

fetch('https://ntfy.sh/mytopic', {
  method: 'POST', // PUT works too
  body: 'Backup successful 😀'
})

But do check out the examples.

<!-- gh-comment-id:1305343925 --> @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](https://ntfy.sh/docs/publish/) `POST` a message: in JavaScript it's ```js fetch('https://ntfy.sh/mytopic', { method: 'POST', // PUT works too body: 'Backup successful 😀' }) ``` But do check out the examples.
Author
Owner

@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.

<!-- gh-comment-id:1305371992 --> @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.
Author
Owner

@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,

<!-- gh-comment-id:1305928647 --> @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](https://github.com/binwiederhier/ntfy/issues/98) (which I had not found). All my excuses. Regards,
Author
Owner

@olvier commented on GitHub (Dec 17, 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,

How did you managed to receive messages?

<!-- gh-comment-id:1356444312 --> @olvier commented on GitHub (Dec 17, 2022): > Hi! > > I managed to send (and receive) notifications with nodered. > > My request is indeed a duplicate of ticket [#98](https://github.com/binwiederhier/ntfy/issues/98) (which I had not found). > > All my excuses. > > Regards, How did you managed to receive messages?
Author
Owner

@dokho33 commented on GitHub (Dec 17, 2022):

How did you managed to receive messages?

Hello @olvier

With websocket node listening on wss://my.ntfy.server/my_topic/ws

<!-- gh-comment-id:1356459635 --> @dokho33 commented on GitHub (Dec 17, 2022): > How did you managed to receive messages? Hello @olvier With websocket node listening on wss://my.ntfy.server/my_topic/ws
Author
Owner

@olvier commented on GitHub (Dec 17, 2022):

Hm

How did you managed to receive messages?

Hello @olvier

With websocket node listening on wss://my.ntfy.server/my_topic/ws

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 :)

<!-- gh-comment-id:1356460007 --> @olvier commented on GitHub (Dec 17, 2022): Hm > > How did you managed to receive messages? > > Hello @olvier > > With websocket node listening on wss://my.ntfy.server/my_topic/ws 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 :)
Author
Owner

@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.

<!-- gh-comment-id:1356461553 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#355
No description provided.