wz2b / node-red-contrib-influxdb-line-protocol

Parses InfluxDB Line Protocol to JSON and vice versa.
MIT License
1 stars 2 forks source link

Update influxdb-line-protocol.js #6

Open vdwpsmt opened 2 years ago

vdwpsmt commented 2 years ago

conversion from lineprotocol to json: for integer values, keep format as is (string and with "i" as suffix), otherwise value is automatically converted to float and information about int type is lost. conversion to float can be done outside this node (or as a checkbox option inside the node? LPtoJSON -> convert int to number)