Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.35 KB

InfluxDB_to_Proficloud.md

File metadata and controls

42 lines (32 loc) · 2.35 KB

Quick Reference Guide

Send data into Proficloud


SourceCode can be found here

To learn about the Proficloud.io from Phoenix Contact, please visit:
https://proficloud.io/e-learning/

Especially start the courses:
Node-RED and Proficloud.io
and
Connect the Machine Manager to Proficloud.io

  1. Inside the Proficloud.io, create a new "Virtual Device" to create a new UUID.
    This process is also descibed in the above links.
  2. Import the JSON SourceCode in Node-RED.
    Influx_to_Proficloud1
  3. Set the vitual UUID you just created inside the "ProficloudDevice" Node.
  4. Configure the InfluxDB "Read data" node.
    In my example, all data inside the bucket "PLCnext" will be read.
    The data of the last 10 seconds "(start: -10s, stop: -1s)" are summarized in a sampling rate of 1s "every 1s, fn: mean".
    Change the settings according to your application.
    Influx_to_Proficloud2

If you want to only read some data out of a single InfluxDB bucket, you can do so by setting filters inside the query.
![Influx_to_Proficloud3](../../images/Influx_PCloud3.JPG)
  1. Read the data from InfluxDB and write data into Proficloud.io using the inject node "timestamp".

If everything was configured correct, switch to Proficloud.io and assign your metrics.
Each variable send to the cloud has to be assigned to a metric to be able to log those inside the Time Series Database of the Prodicloud.io.
Proficloud_Metrics

Assign each variable you want to work on to a metric.

For small-scale application with up to 20 metrics (variables), the Proficloud.io is completely free of charge!

Proficloud_Metrics_Assigned

Switch to the "Time Series Data Service" and create a Dashboard with the data you just assigned to a metric. Proficloud_TSDB
Proficloud_TSDB