Node-Red Push notifications with PushStaq
Node-Red is a low-code programming platform. Connecting devices, APIs and online services for integrations and automation tasks used in IOT industrial sectors and smart homes.
Node-Red runs on any PC, Mac and Linux computers mostly used with Raspberry Pi computers for smart homes.
Integrating push notifications from Node-Red to your desktop and mobile devices with PushStaq can be done with PushStaq node for Node-Red. In this guide you will learn how to install it and use it with Node-Red.
Why use PushStaq for notifications with Node-Red?
Node-Red has over 50 contributed nodes for notifications, from email alerts to SMS and of course push notifications for mobile and desktop.
There are already great existing nodes such as Pushover and Pushbullet, so how does PushStaq node stand out from all the rest?
Using the previously mentioned services requires in most cases to download and install a dedicated native app (from Apple AppStore or Google Play for example) to display notifications on your tablets and mobile devices.
How does PushStaq stands out?
PushStaq runs on a browser that supports web push notifications in desktop and/or mobile - Current modern browsers supports this feature where Chrome is the most recommended to use with PushStaq.
PushStaq does not require special permissions and keeps your phone clean from bloated apps and secure since it runs from the browser.
PushStaq channels can be shared with other team or family members as a link. They can join the channel and subscribe to push notifications without forcing them to install any app.
Corporate organizations that limit their employees devices to install 3rd party apps on desktop and mobile devices due to security reasons won't have issues using PushStaq since it runs from the browser and does not requires a user to install anything.
PushStaq setup with Node-Red does not require many steps which makes it easy for any entry level of Node-Red users and start pushing notifications in one minute setup.
PushStaq is a Progressive Web App (PWA), with this feature some browsers allows you to install PushStaq as a native app on your device which you can access from your device home screen behaving just like native app.
Configuring and using Node-Red PushStaq node
In the selected channel, click the top right settings icon to open the settings pane.
In the Settings pane click the
Generate API Keybutton, This will create a new API key you can copy to be used in Node-Red.
To receive real time push notifications, Login from the Desktop or Mobile device you wish to subscribe to and click the channel
Subscribebutton, on any new message in the channel you will receive a Push Notifications.
First install PushStaq node for Node-Red, this can be done by entering settings page and selecting the
Palettesection then clicking
Installtab. In the search box search for
PushStaqand click the
After PushStaq node is installed drag the PushStaq node from the pallette to the flow canvas (should be under
Double click PushStaq node to edit/add PushStaq configuration where you will need to paste the channel API key you copied from PushStaq channel settings pane in previous steps.
Enter configuration name and paste API key details.
If you wish to enable End-to-end encryption, Paste channel password and channel Id as well.
To learn more about PushStaq End-to-end encryption click here
Select the new created configuration name from the dropdown and click
To test, drag
injectnode and connect it to
PushStaqnode. in the
message.payloadto type of
stringand enter your test message.
Deploy and click the
Injectnode trigger button, the
message.payloadshould appear in PushStaq channel and trigger notification on any device that is subscribed to that specific channel.
This simple flow is to test the PushStaq node to show how it works, In real flows the message should be dynamic and indicate some kind of a sensor alert or anything that is important for you.
In this guide we learned how to Install PushStaq on Node-Red and Setup PushStaq to receive real time Push Notifications from Node-Red.
Node-Red PushStaq node issues
For any bugs, Suggestions and requests please open a new issue here on the github repo.
🌿 Resources to learn more about PushStaq integrations
If you have any feedback, Suggestions or any other questions feel free to Discuss on PushStaq official subreddit
or contact us at