connio / node-red-contrib-connio

Node-Red module for Connio nodes
MIT License
0 stars 0 forks source link

[CONNIO EDGE] Add edge nodes to send data from device to the platform #12

Closed bmrb closed 4 years ago

bmrb commented 4 years ago

[See next comments for changes. We might need to change node fields accordingly]

This is for the cases where Nodered works in a device. Selected device will write a data point into the selected property using device key meaning we will be able to write into all device properties including private and protected ones.

If property is selected make sure that the flowing value is converted to a data point as expected by the platform.

The data will be written via MQTT API.

Screen Shot 2019-11-26 at 9 54 47 PM

Details

We need only 3 fields on this dialog:

  1. Connio mqtt endpoint address and port (default will be mqtt.connio.cloud + 1883)
  2. Device key id
  3. Device key secret
  4. Property name

The node must have only one input.

Example usage is as the following:

Important

For example, if temperature is selected in the list, the MQTT topic will as following: .../devices/{id}/properties/temperature and the data will be in raw format.

if JSON is selected in the list, the MQTT topic will as following: .../devices/{id}/properties/json.

See the documentation for details.

bmrb commented 4 years ago
Screen Shot 2019-12-02 at 10 50 17 PM

Connio MQTT connection will be established using the device credentials.

Property and Method nodes are going to have input and output points.

User might be able to choose json instead of property or method name in order to send multiple data points from a single node.

ivan-gerasimov-1 commented 4 years ago

JSON is moved into Property selector and renamed to Data Feed Format

Screen Shot 2019-12-12 at 3 52 12 PM

Version 0.5.5

ivan-gerasimov-1 commented 4 years ago

Added [Connio Edge] device in node

Version 0.5.6

ivan-gerasimov-1 commented 4 years ago

Version 0.5.8

ivan-gerasimov-1 commented 4 years ago

Version 0.5.9

ivan-gerasimov-1 commented 4 years ago

Version 0.5.10