![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
node-red-contrib-ibm-watson-iot
Advanced tools
Connect to IBM Watson Internet of Things Plaform as a Device or Gateway
A pair of Node-RED nodes for connecting to the IBM Watson Internet of Things Platform as a Device or Gateway.
Run the following command in the user directory of your Node-RED install. This is usually ``~/.node-red`.
npm install node-red-contrib-ibm-watson-iot
Feature | Supported? |
---|---|
Device connectivity | ✔ |
Gateway connectivity | ✔ |
SSL/TLS | ✔ |
Client side Certificate based authentication | ✔ |
Auto reconnect | ✔ |
Websocket | ✘ |
Multi-format support | ✔ |
Device Management | ✘ |
The input node receive device commands from the IBM Watson Internet of Things Platform.
The node can connect as either a Device or Gateway:
The message sent by this node will include the following properties:
payload
- the body of the command. If the command was identified as json,
this property will be a JavaScript object, otherwise it will be a string.topic
- the topic the command was received oncommand
- the command nameformat
- the format of the commanddeviceType
- (gateway only) the type of device the command is fordeviceId
- (gateway only) the id of the device the command is forSend device events to the IBM Watson Internet of Things Platform.
The node can connect as either a Device or Gateway, in registered mode or using the Quickstart service.
When connecting using the Quickstart service, the connection will use a device
type of node-red-ibmwiotp
and a randomly generated device id, which can be
configured in the node. The events from the node can then be viewed on the Quickstart dashboard.
The type of the event sent can be configured in the node or, if left blank, can
be set by the msg.event
property.
The format of the event defaults to json
, but can be set to another value or,
if left blank, can be set by the msg.format
property.
The data for the event is taken from msg.payload
. If format
is set to json
,
this node will attempt to encode the data appropriately:
{ d: { ... }}
it will be used as-is.
Similarly if it is a string representation of such an object no further
encoding will be done.{"d":{"value":123}}
If format
is set to anything else, the data will be passed on as-is.
When connected as a Gateway, the type and id of the Device the event is being
sent on behalf of can be configured in the node or, if left blank, can be set by
the msg.deviceType
and msg.deviceId
properties. If these properties are not
provided, either in the node or the message, it will use the type and id of the
Gateway itself.
=======
FAQs
Connect to IBM Watson Internet of Things Plaform as a Device or Gateway
The npm package node-red-contrib-ibm-watson-iot receives a total of 24 weekly downloads. As such, node-red-contrib-ibm-watson-iot popularity was classified as not popular.
We found that node-red-contrib-ibm-watson-iot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.