npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tyntec/node-red-contrib-tyntec

v1.1.0

Published

[![](https://raw.githubusercontent.com/tyntec/node-red-contrib-tyntec/main/docs/logo.png)](https://tyntec.com)

Downloads

7

Readme

Version Node Downloads/week NPM JavaScript


@tyntec/node-red-contrib-tyntec

We're excited to introduce a new connector for tyntec SMS services that allows you to easily incorporate SMS messaging into your Node-RED workflows. With this connector, you can send SMS messages using tyntec's reliable and scalable REST API. You can use this integration to trigger SMS notifications, alerts, and reminders from within your Node-RED flows, and automate your SMS-based communication.

Our tyntec SMS services connector for Node-RED is designed to be user-friendly and flexible, so you can easily configure and customize your SMS messaging workflows. Whether you're building a chatbot, sending reminders, or triggering SMS notifications, our connector can help you seamlessly integrate SMS messaging into your Node-RED applications.

Table of Contents

Features

  • Send SMS

Prerequisities

Please note that in order to use tyntec connector for node-RED, you’ll need to have a paid account with tyntec.

Installation

  1. Open your Node-RED editor in a web browser and navigate to the menu on the top right corner of the screen.

  2. Click on the "Manage palette" option. This will open the Node-RED Palette Manager, which allows you to search for, install, and manage Node-RED nodes and modules.

  3. Click on the "Install" tab in the Palette Manager.

  4. In the "Search" box, type tyntec-SMS.

  5. Find the palette in the search results and click on the "Install" button to the right of it.

  6. Wait for the installation process to complete. Node-RED will download and install the palette and any necessary dependencies.

Once the installation is complete, you should see the newly installed palette listed in the "Installed" tab in the Palette Manager.

Alternatively, you can install pallet via npm command in your project:


npm install @tyntec/node-red-contrib-tyntec

Usage

Step 1: Create a new Node-RED flow

To demonstrate the functionality of sending SMS via tyntec, we will create a fake temperature sensor. The sensor will use tyntec SMS to send its measurement data.

  1. Create a new flow to add your new nodes into it.

step 1

  1. Add an "inject" node.

step 2-1

  1. Open the edit window of the "inject" node and set these values:
  • name to Fake temperature sensor
  • msg.payload.room to value Livingroom
  • msg.payload.temperature to value 21

step 2-2

  1. Click to "Done" to save your changes.

Step 2: Add and edit the "send-sms" node

  1. Add a node called "send-sms" to your flow (you can find the node in a "function" section).
  2. Connect your "Fake temperature sensor" node output to "send-sms" node input.

step 3-1

  1. Set your "send-sms" node.
  • name to Temperature SMS
  • add a new Tyntec Configuration with your tyntec API key
  • (optional) From to your own name, which will appear as the sender's name
  • add a new To configuration with your own name and phone number (Phone number has to be in E.164 e.g. +420123456789)
  • Message to

Hello from Node-RED.

Your temperature in {{msg.payload.room}} is {{msg.payload.temperature}}ºC.

Your lovely tyntec integration.

(not recommended) uncheck the Delivery check (whether you need to confirm successful or unsuccessful SMS delivery)

step 3-2

Step 3: Deploy and test your new flow

  1. To deploy a flow, click the red "Deploy" button in the upper right corner.

step 4-1

  1. Click on the square on the left side "Fake temperature sensor" to trigger the flow.

step 4-2

  1. You should now see a blue dot labeled "accepted" when the SMS delivery has been triggered via the API.

  2. If the SMS has been delivered, the blue dot will change to green.

step 4-3

If the SMS has not been delivered, the blue dot will change to red.

step 4-4

And that's it! You have just integrated the tyntec SMS connector for Node-Red and used it successfully.

Contributing

Feel free to contribute to our @tyntec/node-red-contrib-tyntec. Please follow the Contribution Guide.

License

The @tyntec/node-red-contrib-tyntec open source project is licensed under the MIT.