This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 2,131
» Latest member: Stanky
» Forum threads: 1,021
» Forum posts: 6,796

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 42 Guest(s)
Google

Latest Threads
On openplotter 1.2 SMS ta...
Forum: Bug Reports
Last Post: e-sailing
Yesterday, 02:26 PM
» Replies: 1
» Views: 4
ASUS 17 Inch Touch Screen
Forum: General discussion
Last Post: Luckbert
10-18-2018, 05:36 PM
» Replies: 11
» Views: 1,428
segmentation fault
Forum: How do I...?
Last Post: seandepagnier
10-18-2018, 01:09 PM
» Replies: 1
» Views: 2
OpenCPN Chart Downloader ...
Forum: Bug Reports
Last Post: JKitchens
10-18-2018, 10:13 AM
» Replies: 0
» Views: 3
How to configure a LTE us...
Forum: How do I...?
Last Post: kste
10-18-2018, 04:04 AM
» Replies: 1
» Views: 9
Logging battery amps
Forum: How I did it
Last Post: gypsylyon
10-17-2018, 05:31 PM
» Replies: 9
» Views: 500
Implementing /digitalyach...
Forum: How do I...?
Last Post: cepicscepics
10-17-2018, 07:45 AM
» Replies: 23
» Views: 5,290
Error when updating openP...
Forum: Bug Reports
Last Post: cepicscepics
10-17-2018, 06:42 AM
» Replies: 7
» Views: 134
Radar
Forum: How do I...?
Last Post: jim321
10-17-2018, 02:58 AM
» Replies: 1
» Views: 16
How deleting MOB marks?
Forum: How do I...?
Last Post: Werner_K
10-16-2018, 09:11 AM
» Replies: 2
» Views: 14

 
  Kplex lost contact with signal k
Posted by: Littlechay - 08-01-2017, 03:02 PM - Forum: Bug Reports - Replies (14)

I'm not sure if this is a bug or a feature but I don't think that it's finger trouble.

I noticed that OpenCPN was no longer displaying data from my I2C or 1W sensors. I restarted Signal K, restarted Kplex,. Nothing.

Rebooted, nothing
Shutdown and started, nothing.

I can see the data in signal k, temperature, pressures, roll, pitch, heading etc..
But can't see anything in the diagnostics of the entire in the NMEA 0183 window.

I have a serial GPS and that is being passed by Kplex and is being shown in OCPN.

How do I debug Kplex , or Signalk?

I've run openplotter from command line and there are no errors.

Sorry no internet as such to go hunting online at the moment as I'm on the boat.

OCPN is 4.6.1 and OP is 0.13 i.e. the latest updates as performed via Openplotter's update interface.

Cheers
Chris.


  [SOLVED] Humidity ratio, Signal K
Posted by: Saqqara - 07-31-2017, 08:18 PM - Forum: Bug Reports - Replies (4)

I have been in contact with the developer of the Wilhelm Signalk app for iOS about its inability to display humidity properly; he says that according to SignalK standards the number should be a "ratio" and 46% humidity should be .464643630981   What Openplotter sends is SignalK is 46.4643630981. 

It's possible he's the one who is mistaken. Thoughts?

(Seems like in a recent past version of openplotter I also saw numbers like 464643630981 without the decimal. )

I like his app a lot, but it is expensive. 

Greg


  signalk
Posted by: jim321 - 07-27-2017, 07:24 PM - Forum: How do I...? - Replies (6)

i have reinstalled and updated now ws does not work..if i go to "http:/myip:3000/signalk/v1/stream " it says "Upgrade Required"

any idea what i need to do.?

jim


  JsonPath trouble and a solution
Posted by: PaddyB - 07-27-2017, 05:57 AM - Forum: Node Red - No Replies

A few weeks back my node-red started using 100% CPU after an update.

Finally tracked it down to JsonPath node  filtering SignalK data from a websocket node. Annoying as I lost the engine/alternator/exhaust temperatures.

Asking on the node-red google group didn't reveal why it was happening but came up with what looks to be a better way to filter-
Jsonata ->
http://try.jsonata.org/
http://docs.jsonata.org/
https://github.com/jsonata-js/jsonata/bl...utorial.md

Looks very powerful, filtering the engine temp json is this in a change node-

  • msg.payload.updates.values[path="propulsion.eng.temperature"].value
though needed to add a switch node set to "payload is not null" to filter out undefined messages from signalk messages not containing the eng temp data. 

Code:
[
   {
       "id": "67b79641.1fad68",
       "type": "websocket in",
       "z": "749e8283.293f4c",
       "name": "SignalK input",
       "server": "fc1b2b62.0b63a8",
       "client": "",
       "x": 90,
       "y": 180,
       "wires": [
           [
               "20af45d9.7fe30a"
           ]
       ]
   },
   {
       "id": "d652486c.7ed398",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 650,
       "y": 160,
       "wires": [
           [
               "cb80fafe.8bc1d8"
           ]
       ]
   },
   {
       "id": "cb80fafe.8bc1d8",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 830,
       "y": 160,
       "wires": [
           [
               "985338c6.d20748"
           ]
       ]
   },
   {
       "id": "985338c6.d20748",
       "type": "ui_chart",
       "z": "749e8283.293f4c",
       "name": "EngineGraph",
       "group": "839affdb.33ce",
       "order": 0,
       "width": "23",
       "height": "7",
       "label": "Engine temperature history",
       "chartType": "line",
       "legend": "true",
       "xformat": "HH:mm",
       "interpolate": "linear",
       "nodata": "data",
       "ymin": "",
       "ymax": "",
       "removeOlder": "4",
       "removeOlderPoints": "",
       "removeOlderUnit": "3600",
       "cutout": "",
       "colors": [
           "#1f77b4",
           "#aec7e8",
           "#ff7f0e",
           "#2ca02c",
           "#98df8a",
           "#d62728",
           "#ff9896",
           "#9467bd",
           "#c5b0d5"
       ],
       "x": 1040,
       "y": 160,
       "wires": [
           [],
           []
       ]
   },
   {
       "id": "f66f5fb8.176a1",
       "type": "ui_gauge",
       "z": "749e8283.293f4c",
       "name": "EngTempGauge",
       "group": "f5ff732a.35433",
       "order": 1,
       "width": "3",
       "height": "5",
       "gtype": "gage",
       "title": "Engine temperature",
       "label": "Deg C",
       "format": "{{value}}",
       "min": 0,
       "max": "120",
       "colors": [
           "#00b500",
           "#e6e600",
           "#ca3838"
       ],
       "seg1": "",
       "seg2": "",
       "x": 1040,
       "y": 200,
       "wires": []
   },
   {
       "id": "b3490042.bbd67",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 650,
       "y": 240,
       "wires": [
           [
               "c476748a.0d02b8"
           ]
       ]
   },
   {
       "id": "c476748a.0d02b8",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 830,
       "y": 240,
       "wires": [
           [
               "c64d6283.aca53"
           ]
       ]
   },
   {
       "id": "c64d6283.aca53",
       "type": "ui_chart",
       "z": "749e8283.293f4c",
       "name": "Alt graph",
       "group": "839affdb.33ce",
       "order": 0,
       "width": "23",
       "height": "7",
       "label": "Alt temperature history",
       "chartType": "line",
       "legend": "false",
       "xformat": "HH:mm",
       "interpolate": "linear",
       "nodata": "",
       "ymin": "",
       "ymax": "",
       "removeOlder": "4",
       "removeOlderPoints": "",
       "removeOlderUnit": "3600",
       "cutout": "",
       "colors": [
           "#1f77b4",
           "#aec7e8",
           "#ff7f0e",
           "#2ca02c",
           "#98df8a",
           "#d62728",
           "#ff9896",
           "#9467bd",
           "#c5b0d5"
       ],
       "x": 1020,
       "y": 240,
       "wires": [
           [],
           []
       ]
   },
   {
       "id": "2e9c3f90.ea532",
       "type": "ui_gauge",
       "z": "749e8283.293f4c",
       "name": "AltTempGauge",
       "group": "f5ff732a.35433",
       "order": 1,
       "width": "3",
       "height": "5",
       "gtype": "gage",
       "title": "Alternator  temperature",
       "label": "Deg C",
       "format": "{{value}}",
       "min": 0,
       "max": "120",
       "colors": [
           "#00b500",
           "#e6e600",
           "#ca3838"
       ],
       "seg1": "",
       "seg2": "",
       "x": 1040,
       "y": 280,
       "wires": []
   },
   {
       "id": "41967fda.ebcdf",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 650,
       "y": 320,
       "wires": [
           [
               "5ac0570d.33b958"
           ]
       ]
   },
   {
       "id": "5ac0570d.33b958",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 830,
       "y": 320,
       "wires": [
           [
               "9ca91b03.6c5c38"
           ]
       ]
   },
   {
       "id": "9ca91b03.6c5c38",
       "type": "ui_chart",
       "z": "749e8283.293f4c",
       "name": "ExhGraph",
       "group": "839affdb.33ce",
       "order": 0,
       "width": "23",
       "height": "7",
       "label": "Exh temperature history",
       "chartType": "line",
       "legend": "false",
       "xformat": "HH:mm",
       "interpolate": "linear",
       "nodata": "waiting",
       "ymin": "",
       "ymax": "",
       "removeOlder": "4",
       "removeOlderPoints": "",
       "removeOlderUnit": "3600",
       "cutout": "",
       "colors": [
           "#1f77b4",
           "#aec7e8",
           "#ff7f0e",
           "#2ca02c",
           "#98df8a",
           "#d62728",
           "#ff9896",
           "#9467bd",
           "#c5b0d5"
       ],
       "x": 1020,
       "y": 320,
       "wires": [
           [],
           []
       ]
   },
   {
       "id": "acffaa91.dcbd08",
       "type": "ui_gauge",
       "z": "749e8283.293f4c",
       "name": "ExhTempGauge",
       "group": "f5ff732a.35433",
       "order": 1,
       "width": "3",
       "height": "5",
       "gtype": "gage",
       "title": "Exhaust temperature",
       "label": "Deg C",
       "format": "{{value}}",
       "min": 0,
       "max": "120",
       "colors": [
           "#00b500",
           "#e6e600",
           "#ca3838"
       ],
       "seg1": "",
       "seg2": "",
       "x": 1040,
       "y": 360,
       "wires": []
   },
   {
       "id": "ee7ce1a6.f4d62",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 650,
       "y": 360,
       "wires": [
           [
               "2af0ffc5.36311"
           ]
       ]
   },
   {
       "id": "2af0ffc5.36311",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 830,
       "y": 360,
       "wires": [
           [
               "acffaa91.dcbd08"
           ]
       ]
   },
   {
       "id": "23f49bc6.7d4f34",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "minute",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 650,
       "y": 280,
       "wires": [
           [
               "30135c60.5c6134"
           ]
       ]
   },
   {
       "id": "30135c60.5c6134",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 830,
       "y": 280,
       "wires": [
           [
               "2e9c3f90.ea532"
           ]
       ]
   },
   {
       "id": "accdb940.5e5d38",
       "type": "delay",
       "z": "749e8283.293f4c",
       "name": "",
       "pauseType": "rate",
       "timeout": "5",
       "timeoutUnits": "seconds",
       "rate": "1",
       "nbRateUnits": "1",
       "rateUnits": "second",
       "randomFirst": "1",
       "randomLast": "5",
       "randomUnits": "seconds",
       "drop": true,
       "x": 650,
       "y": 200,
       "wires": [
           [
               "6cddc5a1.97f00c"
           ]
       ]
   },
   {
       "id": "6cddc5a1.97f00c",
       "type": "function",
       "z": "749e8283.293f4c",
       "name": "Convert to deg C",
       "func": "var numInput = Number(msg.payload);\nmsg.topic = \"Eng\";\nvar T =  numInput-273.15;\nmsg.payload = T.toFixed(1);\nreturn msg;",
       "outputs": 1,
       "noerr": 0,
       "x": 830,
       "y": 200,
       "wires": [
           [
               "f66f5fb8.176a1"
           ]
       ]
   },
   {
       "id": "ad76e510.526488",
       "type": "comment",
       "z": "749e8283.293f4c",
       "name": "Engine temperature guages and graphs",
       "info": "",
       "x": 174.00005340576172,
       "y": 109.00006675720215,
       "wires": []
   },
   {
       "id": "dbc264db.e996e8",
       "type": "change",
       "z": "749e8283.293f4c",
       "name": "Filter engine temp",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.eng.temperature\"].value",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 270,
       "y": 160,
       "wires": [
           [
               "12d0fbb4.557744"
           ]
       ]
   },
   {
       "id": "20af45d9.7fe30a",
       "type": "json",
       "z": "749e8283.293f4c",
       "name": "",
       "pretty": false,
       "x": 70,
       "y": 320,
       "wires": [
           [
               "dbc264db.e996e8",
               "8b31ff78.f9f4",
               "4e228623.5d83f8"
           ]
       ]
   },
   {
       "id": "12d0fbb4.557744",
       "type": "switch",
       "z": "749e8283.293f4c",
       "name": "Is it empty?",
       "property": "payload",
       "propertyType": "msg",
       "rules": [
           {
               "t": "nnull"
           }
       ],
       "checkall": "true",
       "outputs": 1,
       "x": 330,
       "y": 200,
       "wires": [
           [
               "d652486c.7ed398",
               "accdb940.5e5d38"
           ]
       ]
   },
   {
       "id": "8b31ff78.f9f4",
       "type": "change",
       "z": "749e8283.293f4c",
       "name": "Filter alt temp",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.alt.temperature\"].value",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 280,
       "y": 240,
       "wires": [
           [
               "4a8866f9.186ab8"
           ]
       ]
   },
   {
       "id": "4a8866f9.186ab8",
       "type": "switch",
       "z": "749e8283.293f4c",
       "name": "Is it empty?",
       "property": "payload",
       "propertyType": "msg",
       "rules": [
           {
               "t": "nnull"
           }
       ],
       "checkall": "true",
       "outputs": 1,
       "x": 350,
       "y": 280,
       "wires": [
           [
               "b3490042.bbd67",
               "23f49bc6.7d4f34"
           ]
       ]
   },
   {
       "id": "4e228623.5d83f8",
       "type": "change",
       "z": "749e8283.293f4c",
       "name": "Filter exhaust temp",
       "rules": [
           {
               "t": "set",
               "p": "payload",
               "pt": "msg",
               "to": "msg.payload.updates.values[path=\"propulsion.exh.temperature\"].value",
               "tot": "jsonata"
           }
       ],
       "action": "",
       "property": "",
       "from": "",
       "to": "",
       "reg": false,
       "x": 290,
       "y": 340,
       "wires": [
           [
               "3d303b8e.883b74"
           ]
       ]
   },
   {
       "id": "3d303b8e.883b74",
       "type": "switch",
       "z": "749e8283.293f4c",
       "name": "Is it empty?",
       "property": "payload",
       "propertyType": "msg",
       "rules": [
           {
               "t": "nnull"
           }
       ],
       "checkall": "true",
       "outputs": 1,
       "x": 350,
       "y": 380,
       "wires": [
           [
               "41967fda.ebcdf",
               "ee7ce1a6.f4d62"
           ]
       ]
   },
   {
       "id": "fc1b2b62.0b63a8",
       "type": "websocket-listener",
       "z": "",
       "path": "ws://localhost:3000/signalk/v1/stream",
       "wholemsg": "false"
   },
   {
       "id": "839affdb.33ce",
       "type": "ui_group",
       "z": "",
       "name": "Eng Temp Graphs",
       "tab": "9ba2713.ee8369",
       "disp": true,
       "width": "23"
   },
   {
       "id": "f5ff732a.35433",
       "type": "ui_group",
       "z": "",
       "name": "Gauges",
       "tab": "de6fba2.670c748",
       "disp": true,
       "width": "6"
   },
   {
       "id": "9ba2713.ee8369",
       "type": "ui_tab",
       "z": "",
       "name": "Graphs",
       "icon": "dashboard",
       "order": 2
   },
   {
       "id": "de6fba2.670c748",
       "type": "ui_tab",
       "z": "",
       "name": "Gauges",
       "icon": "dashboard",
       "order": 1
   }
]


  CODE AFLOAT SIGNAL K Competition 2500 $ Price
Posted by: Alpenskipper - 07-24-2017, 09:51 AM - Forum: General discussion - Replies (4)

https://codeafloat.com


  Ais Targets in OpenCPN- can i change somethings?
Posted by: tobaran - 07-24-2017, 07:14 AM - Forum: General discussion - Replies (1)

Hello, i use Openplotter and Opencpn in the stable version on a raspberry (last edition).

The Ais Signals come over serial-usb adapter from my ukw transceiver via nmea output in the Raspberry and all works fine!

Now i will change somethings from the ais design. How can i do this?
I would change, that in normal operation i can see all received ais targets with Name and Speed WITHOUT i must go with the mouse over the ship.
And the size from the Letters from Name and Speed must be can changed too.

The reason is, i drive very often in a heavy used ship ways and i need a fast oversight, how fast is the other big ships around me.
Every ship click with a mouse to see the relevant details (Name and Speed) is not practicable.

Any Ideas?

Sorry about my bad english, i am from german and my old school english is long time ago.


  Wireless GPS and environmental senders
Posted by: toqduj - 07-24-2017, 05:52 AM - Forum: How I did it - Replies (14)

I've installed a SWAB (System Without a Boat), consisting of:

  1. A RPi 3 with a Strato Pi UPS HAT and a small lead acid battery on which it runs for a day or so. This runs OpenPlotter, and is to be placed as a central server somewhere safe on my imaginary boat. 
  2. A WiFi GPS sender, consisting of an Ultimate GPS, an MKR1000 and a LiPo battery. This sends SignalK messages via MQTT to the OpenPlotter broker. Should be placed on the deck to receive GPS clearly. 
  3. A WiFi Environmental sensor, consisting of a few I2C sensors (pressure, humidity, temperature, light) connected to another MKR1000 with LiPo battery. Like #2, this also sends SK messages via MQTT. This shares much the same codebase as #2. Should end up somewhere in my imaginary cockpit, so that the illumination can be tuned to the available light.

Code and a few pictures are available here: https://bitbucket.org/toQDuj/signalk-gps-nodule

The next project will hopefully realise a waterproof WiFi display using an MKR1000 or ESP32 (the former are hard to find now for some reason) and some e-paper. 

/end brag  Smile


  Auto run VDR plugin on OpenCPN
Posted by: BMMRO - 07-23-2017, 05:40 PM - Forum: How do I...? - Replies (1)

Hi there,
 I currently have OpenCPN running on a Pi 3 and using the VDR plugin to record AIS targets. It is just a base station on shore and we are prone to long power cuts. Is there a way for the VDR plug in to start recording once OpenCPN opens? At the moment after every power cut i have to remote connect into the Pi and start the recording again. or are there any other AIS recording programs for the Pi that have this feature?

Thanks


  getting NMEA time when starting open plotter
Posted by: aaltje - 07-23-2017, 08:04 AM - Forum: How do I...? - Replies (2)

Dear all

When starting Openplotter, in start up window I see all necessary services to be started.
As my system was only connected to gps antenna and AIS receiver the start up was running smooth.
After having connected the echosounder and the Vhf-radio via "USB to NMEA Serial Adaptor" from Digital Yacht, the run up routine stops at "Getting NMEA time.....".
I started again without these connections, it runs smooth again. Connecting after run up is possible and system works without problems.
My question is, does anybody know a work around solution, maybe to configure the system that it takes its NMEA time from GPS antenna by default? To connect and disconnect the USB plugs all the time is kind of annoying.

Ludwig


  Where to place IMU sensor on steel ship
Posted by: Sjoerd02 - 07-22-2017, 05:20 PM - Forum: How do I...? - Replies (6)

Hi,

I am wondering where I should place the IMU sensor on a steel boat.
Are the sensor all based on earth magnetic field, or like a mechanical gyro on gravity and really movement?
The urrent (autopilot, no nmea out) compass sensor is place on the wooden mast 1,5 meter above deck.
I can imagine this is not the best place for roll and pitch measurement.

If it's based on earth magnetic field it will not work if I place it inside the boat?

Thanks for the help
Sjoerd