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

@semilimes/node-red-semilimes

v1.2.2

Published

The new semilimes connector which integrates with the public API

Downloads

117

Readme

Node-RED semilimes connector

Platform License Downloads Install

This Node-RED package lets you extend your semilimes experience with automation and IoT capabilities, such as the implementation of auto replies, booking flows, control dashboards or message-based interfaces, all exposed through your semilimes app.

Github project

Official semilimes API Documentation

Install

NPM

You can install the nodes by either

  • using node-red's "Manage palette" in the side bar and searching for node-red-semilimes

    or

  • running the following command in the root directory of your Node-RED installation

    npm install @semilimes/node-red-semilimes --save

Setup Node-RED persistent context

Some of the use cases of this node work more reliably when saving the necessary variables in a persistent storage. To ease this behaviour without adding complexity to the built flows, it is recommended to enable multiple context stores in your NodeRED configuration, so that you can use in-memory flow/global variables (deleted upon restart), or file variables, surviving a restart.

To enable the default implementation of multiple context store, add this configuration chunk in node-red's settings.js file.

multicontextstore

To use the multiple-context in your flow, you can select the storage whenever you are dealing with a flow or global variable, like the example below:

multicontextvars

Note: The default implementation of the file context in NodeRED makes sure that values are cached in memory and flushed to disk every 30 seconds, to preserve SD cards health in systems that make use of them (e.g. RaspberryPI). You can tweak this value to your liking by setting the appropriate variable in the configuration itself.

Learn more on the multiple context stores section in NodeRED documentation.

Setup your developer environment

  1. Install the semilimes app through the Official semilimes Website or by using the following direct store links

    • iOS : Platform

    • Android : Platform

  2. Access the semilimes Services website and login using the on-screen instructions

  3. Create a subaccount

    CreateSubAccount

  4. Enter billing information for the created subaccount

    EnterBillingInfo

  5. Request an API Key for your new subaccount

    GenerateApiKey

Connect to semilimes

  1. Add a standard inject node

  2. Add and connect a Sender node, select Channel - Create and give it a title. This will be your new channel name. Make sure you give a value to the Save ChannelId property, you will reuse this later.

  3. In the same node, configure its Connector property to create a connection configuration, and enter your API key. Config connector node

  4. Add and connect a Message node and select the Text message option, then enter a message in the Text field.

  5. Add and connect another Sender node, this time for actually sending the message. Select Channel - Send and configure its ChannelId property with the one you previously saved in step 2.

  6. Make sure you select the previously created Connector in this node as well. Property editor of sender node

  7. Run the flow and access your semilimes app with the subaccount corresponding to your API key. You will find a new channel containing your first message!

For reference, your completed flow should look like this example

Examples

You can find all the provided examples by importing them from this Node-RED package, or you can explore and import them manually at this GitHub link:

All Example flows

Dependencies

The nodes are tested on linux environments with Node.js v19.2.0 and Node-RED v3.0.2

License

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/