# Remote Red Push Notifications

**URL:** <https://discourse.nodered.org/t/remote-red-push-notifications/88482>\
**Category:** General\
**Created:** [4 June 2024 02:48 UTC](https://discourse.nodered.org/t/remote-red-push-notifications/88482 "2024-06-04T02:48:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rawbutter](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@Rawbutter](https://discourse.nodered.org/u/Rawbutter)\
**Post date:** [4 June 2024 02:48 UTC](https://discourse.nodered.org/t/remote-red-push-notifications/88482/1 "2024-06-04T02:48:56Z")

</div>

Hi, I'm after some help in regards to formatting the way I see the push notifications that come through on my phone.

I read MQTT data from a PLC then every hour push that data into notifications which works perfectly I just want to know how to, if possible, remove the {} and some of the "quotation marks"

This is what

 ![Screenshot 2024-06-04 104305](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0cd244143e36a5e12da4ccc1e746e03e22d70fed.png)

 ![IMG_3370](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/4760acebe4716f6362bc84ca39feba8571c53f5f.jpeg)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [4 June 2024 03:50 UTC](https://discourse.nodered.org/t/remote-red-push-notifications/88482/2 "2024-06-04T03:50:05Z")

</div>

You may need to elaborate on how you are making the messages.

For the sake of it, could you please make an `inject` node that gives the same as what you receive in/on the `MQTT IN` node and put a `debug` node on the output of the `json` node.

Paste here - correctly - what the `inject` node sends and what the `debug` node sees.

(use the button at the top of the window that looks like `</>` to surround the code.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [4 June 2024 05:59 UTC](https://discourse.nodered.org/t/remote-red-push-notifications/88482/3 "2024-06-04T05:59:45Z")

</div>

Try using the template node in mustache mode to create your message.  
Something like below in the template, you will not require the JSON node either.  
`Total logs {{payload.TOTAL LOGS}} in last {{payload.LAST HOUR}} hours`  
You can make the text anything you wish and the {{ }} sections will be replaced by the values.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 June 2024 06:00 UTC](https://discourse.nodered.org/t/remote-red-push-notifications/88482/4 "2024-06-18T06:00:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
