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

node-red-contrib-motechat

v2.5.2

Published

ultranet topic and payload communication

Downloads

108

Readme

node-red-contrib-motechat

Install

  1. Ensure Node (between v8.0 - v12.5)
  2. Ensure NPM (v6.0 or above)
  3. Navigate to Node-Red folder first
cd ~/.node-red 
  1. Then install node-red-contrib-motechat
npm install --unsafe-perm node-red-contrib-motechat
  • cannot install outside node-red folder
  1. Download Sphere (must download to use motechat)
  • Use Snapd (only Linux)
sudo snap install sphere
  1. Additional Info

Examples On Node-Red

Send

Overall Flow for Send Node Grab { Inject Node } from Input Grab { Send Node } from Motechat Send Node Info DDN section can input other device's DDN or its EI_NAME Inject Node Ino Result From Other Device's Terminal

On Event. Debug

Debug Flow. Using OnEvent In order to read signals from other devices Grab { Debug Node } from Output Grab { OnEvent Node } from motechat Debug Node Info

Send Email, Text

DDN | Topic | Payload | Notes | --- | --- | --- | --- | >>COMM | email://[email protected] | {"subject":"xxxxx","content":"xxxxx" } | Send Email via comm | >>COMM | sms://TaiwaneseCellPhone | {"text":"xxxxxxxxxxx"} | Send Text via Comm |

COMM is written by YPCloud Inc. It provides several utilities to inspire developers around the world to develop in motebus environment.

Simple Motechat Samples

https://github.com/motebus/motechat

The above link provides 6 examples to help you develop your uBots in JavaScript. It explains and shows samples for send, call, urt, onEvent, retEvent, and Page.

Node| Description | --- | --- | send | sending messages to telegram with chat-id being fully customizable | call | similar to send, but has an input for a function, able to obtain the output that the function desires | onEvent | wait until recieve a signal and read the signal | retEvent | upon onEvent, tells the sender if the device has made an action | page | allows the user a way to attach/upload a JavaScript file in order for them to work conveniently |