0.1.3 • Published 1 year ago

node-red-sensecap-paas v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

SenseCAP PaaS OpenStream Library


Overview

Seeed Studio SenseCAP

This library will walk you through how to subscribe your devices’ messages as well as how to send a command to a specific or all devices.

We realize the wrapper of SenseCAP OpenStream interface, so that users could more easily build their own prototype on the local host and cloud server.

To learn more about "SenseCAP OpenStream", refer to SenseCAP OpenStream API Quickstart.


How to install the plugin

How to install the plugin


Configuration parameters

Edit Account

A Account is a connection between the node red and the SenseCAP PaaS. You need to configure your server account with OrgID and API Key which from the SenseCAP Paas.

Edit OpenStream Node Configuration

parametersdescription
NameDefine any name you like.
AccountThe account you created below.
EUIFilter, the device's EUI. If empty, subscribe all devices' messages.
ChannelFilter, the device's channel. If empty, subscribe all channels' messages.
Measurement IDFilter, the message's measurement id. If empty, subscribe all measurements' messages.
Output FormatFormat of the output message. RAW is the standard and comprehensive data, so choosing the appropriate format can help you get started in certain scenarios.

Output Message Format

RAW

{
    orgId: "000000000000",
    eui: "2CF7F1FFFFFFFFFF",
    channel: "1",
    measurementId: "4098",
    value: 22.2,
    timestamp: 1663579934364,
}

Power BI

[{
    value: 22.2,
    timestamp: 1663579934364
}]