GithubHelp home page GithubHelp logo

Comments (3)

sbender9 avatar sbender9 commented on May 12, 2024

I don't see a screenshot. Better yet, export your flow and post it here.

from node-red-embedded.

zero1974 avatar zero1974 commented on May 12, 2024

Many thanks for your quick response.

ok, i exported the flow and will paste it here. i modified it and the error "no topic for incomming message" is fixed. i forgot to declare the topic correctly...SORRY, i installed openplotter not so long ago... Now the flow works, but signalk cant xfer it to nmea2000 output. My goal is the following:

i would like to send data from my boat (nmea network and actisense NGT-1running on openplotter at raspberry 4 ) to my home-raspberry4 , running openplotter, too. So i have 2 signalk servers up. vpn things will be done in the future.

I want to test if it is possible to visualize the nmea2000 data from the boat at home, on my b&G Triton2 display, witch is connected to another NGT-1 by sending data from boat to my home signalk and trasform the data by using the plugin "signal-k to nmea2000" at home.
The flow works now, but

  1. it connects to the local (boat) signalk server because of using the node-red predefined flows and
  2. in the data browser (boat pi) i can see : Path, Value, units, timestamp and source correctly, but behind the source value, witch is 1.1,(coming from node red) there is no pgn number in brackets available like other source entries have: e.g nmea2000.2 (127258). Further on, the source: "node-red" printed below have no keys like other sources have, for example the nmea2000 source with 4 keys.

i would be very! happy about some help or ideas or maby a link to get some more input.
I hope you can comprehend .....
Here is the exported code:

[
{
"id": "ae7635f29dd78094",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "604444910f84b34b",
"type": "signalk-send-pathvalue",
"z": "ae7635f29dd78094",
"name": "SendToSigK",
"source": "node-red",
"meta": "",
"x": 830,
"y": 320,
"wires": []
},
{
"id": "7cee26dd8febc84f",
"type": "inject",
"z": "ae7635f29dd78094",
"name": "manual trigger via timestamp",
"props": [
{
"p": "payload"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 210,
"y": 240,
"wires": [
[
"611b087fa2c6276c"
]
]
},
{
"id": "1d067e73554dacc5",
"type": "debug",
"z": "ae7635f29dd78094",
"name": "",
"active": true,
"tosidebar": true,
"console": true,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 840,
"y": 160,
"wires": []
},
{
"id": "611b087fa2c6276c",
"type": "function",
"z": "ae7635f29dd78094",
"name": "",
"func": "msg.topic="environment.wind.angleApparent";\nmsg.path="environment.wind.angleApparent";\nmsg.source={"label":"node-red","type":"NMEA2000","pgn":130306,"src":"35"};\nmsg.$source="node-red";\nmsg.payload=1.1;\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 580,
"y": 240,
"wires": [
[
"604444910f84b34b",
"1d067e73554dacc5"
]
]
}
]

Thank you very much!

from node-red-embedded.

sbender9 avatar sbender9 commented on May 12, 2024

The source will always be node-red in this case.

Why do you care what the source is?

from node-red-embedded.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.