Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-mbed-cloud

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-mbed-cloud

Node-red implementation of the Mbed Cloud SDK for JavaScript

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Mbed Cloud plugin for Node-RED

Node-RED nodes to talk to mbed-cloud. This will enable various 3rd party services that already have node-RED workflows to connect to Mbed Cloud.

How to install

Available as a package on NPM. Run the following command in your .node-red directory.

npm i node-red-contrib-mbed-cloud

Further instructions can be found here.

How to use

Import the following code:

[
    {
        "id": "1a178161.5a8187",
        "type": "tab",
        "label": "Set Get Resource Value",
        "disabled": false,
        "info": ""
    },
    {
        "id": "ff3952e9.d5a43",
        "type": "set-resource-value",
        "z": "1a178161.5a8187",
        "config": "c6bb36d.f301ec8",
        "deviceId": "015e3854194000000000000100100223",
        "resourceURI": "5001/0/1",
        "payload": "node-red-payload-5",
        "x": 321,
        "y": 180,
        "wires": [
            [
                "f3744107.8875d"
            ]
        ]
    },
    {
        "id": "c44e6fb3.1a908",
        "type": "inject",
        "z": "1a178161.5a8187",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "repeat": "",
        "crontab": "",
        "once": false,
        "x": 106.5,
        "y": 89,
        "wires": [
            [
                "ff3952e9.d5a43"
            ]
        ]
    },
    {
        "id": "f3744107.8875d",
        "type": "get-resource-value",
        "z": "1a178161.5a8187",
        "config": "c6bb36d.f301ec8",
        "deviceId": "",
        "resourceURI": "",
        "x": 534.5,
        "y": 271,
        "wires": [
            [
                "df00e36e.1bcb6"
            ]
        ]
    },
    {
        "id": "df00e36e.1bcb6",
        "type": "debug",
        "z": "1a178161.5a8187",
        "name": "",
        "active": true,
        "console": "false",
        "complete": "false",
        "x": 724.5,
        "y": 349,
        "wires": []
    },
    {
        "id": "c6bb36d.f301ec8",
        "type": "cloud-config",
        "z": "",
        "host": "https://lab-api.mbedcloudintegration.net"
    }
]

Further examples can be found in the examples folder.

Liscense

Apache 2.0

Keywords

FAQs

Package last updated on 10 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc