Non standard NMEA string to Influx

Can drop a standard NMEA string into NMEA node and Influx node takes it no problem.

NMEA input

$HEHDT,248.03,T*12

Output from NMEA node to Influx node

{"sentence":"HDT","type":"heading-info","heading":248.11,"talker_id":"HE"}

Can't quite get the function correct (to influx node) for non standard string

$TWIND,4.3,101.83,4.3,213.5,0,61.9,248.33,

Welcome to the forum!

The non standard string should be easy to handle with a split / join node. What are the individual parameters?I'm guessing the last one is the heading?

The csv node can be used to convert a csv string to an object, which I think is what you are trying to do. For example

[{"id":"de1d683f618c27f8","type":"inject","z":"a09f61f0c8158af3","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$TWIND,4.3,101.83,4.3,213.5,0,61.9,248.33,","payloadType":"str","x":150,"y":160,"wires":[["7d8069ae2e8b4afd"]]},{"id":"7d8069ae2e8b4afd","type":"csv","z":"a09f61f0c8158af3","name":"","sep":",","hdrin":"","hdrout":"none","multi":"one","ret":"\\n","temp":"a,b,c,d,e","skip":"0","strings":true,"include_empty_strings":"","include_null_values":"","x":310,"y":160,"wires":[["2536feb2e6fd10dc"]]},{"id":"2536feb2e6fd10dc","type":"debug","z":"a09f61f0c8158af3","name":"debug 60","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":460,"y":160,"wires":[]}]
1 Like

Worked great thanks so much for the help!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.