Difference between revisions of "Edge Gateway CSV adapter"
From Datonis
(Created page with " == CSV Adapter Protocol Connection ==") |
(CSV adapter - added connection details and tag details) (Tag: Visual edit) |
||
Line 1: | Line 1: | ||
== CSV Adapter Protocol Connection == | == CSV Adapter Protocol Connection == | ||
+ | {| class="wikitable" | ||
+ | |file_path | ||
+ | |String | ||
+ | |Absolute file path of CSV file from which Gateway adapter is going scan records. | ||
+ | |} | ||
+ | |||
+ | == CSV Read Tags == | ||
+ | {| class="wikitable" | ||
+ | |tag_id | ||
+ | |String | ||
+ | |Unique tag id defined in the context of the current thing_config. This is used further in metric_mappings or derived_tags or scan_tag_ids or monitor_tag_ids to refer to this tag value. | ||
+ | |- | ||
+ | |column_name | ||
+ | |String | ||
+ | |This column name from CSV file is used to map with corresponding tag. | ||
+ | |} | ||
+ | |||
+ | = Example CSV file contents = | ||
+ | <code>current,voltage,temperature</code> | ||
+ | |||
+ | <code>1,3,4</code> | ||
+ | |||
+ | <code>2,2,9</code> | ||
+ | |||
+ | <code>4,9,7</code> | ||
+ | |||
+ | <code>5,4,6</code> | ||
+ | |||
+ | <code>2,6,5</code> | ||
+ | |||
+ | <code>3,4,3</code> | ||
+ | |||
+ | <code>5,3,5</code> | ||
+ | |||
+ | <code>6,10,10</code> |
Latest revision as of 08:12, 1 August 2017
CSV Adapter Protocol Connection
file_path | String | Absolute file path of CSV file from which Gateway adapter is going scan records. |
CSV Read Tags
tag_id | String | Unique tag id defined in the context of the current thing_config. This is used further in metric_mappings or derived_tags or scan_tag_ids or monitor_tag_ids to refer to this tag value. |
column_name | String | This column name from CSV file is used to map with corresponding tag. |
Example CSV file contents
current,voltage,temperature
1,3,4
2,2,9
4,9,7
5,4,6
2,6,5
3,4,3
5,3,5
6,10,10