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.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NMEA0183 streaming on 0.9.0alpha
#4
You are right. It isn't good that it isn't compatible. It also isn't easy to put in the right settings into NMEA 0183 generator (SignalK works consequent with SI units NMEA doesn't)
This is an example that should work for the i2c sensors:
[NMEA0183]

sentences = [['XDR', ['C', ['environment.inside.temperature.value', 'x.x', u'-', 273.15], 'C', 'I2CT'], 1.0],['XDR', ['C', ['environment.outside.temperature.value', 'x.x', u'-', 273.15], 'C', 'I2CT'], 1.0],['XDR', ['P', ['environment.outside.pressure.value', 'x.x', u'*', 0.01], 'B', 'I2CP'], 1.0],['XDR', ['H', ['environment.inside.humidity.value', 'x.x', u'*', 0.01], 'R', 'I2CH'], 1.0],['XDR', ['A', ['navigation.attitude.roll.value', 'x.x', u'*', 57.2957795], 'D', 'I2CX'], 1.0],['XDR', ['A', ['navigation.attitude.pitch.value', 'x.x', u'*', 57.2957795], 'D', 'I2CY'], 1.0],['HDG', [['navigation.headingMagnetic.value', 'x.x', u'*', 57.2957795], '', '', '', ''], 1.0]]

You can copy this into openplotter.conf section [NMEA0183].
(There are 2x I2CT. One should be deleted or renamed. 1wire sensors could be send on the same way as done in I2CT sentence)

what about incoming NMEA0183 sentences?
Every sentence in NMEA 0183 goes into kplex so there is no change. But you can generate NMEA 0183 sentences from NMEA 2000 and analog inputs from MPC3008, ads1115, arduino or esp8266 or digital GPIO inputs (everything you see in SignalK diagnostic).
There are some info in gitbook:
https://sailoog.gitbooks.io/openplotter-documentation (english)
https://sailoog.gitbooks.io/openplotter-...lexer.html
https://sailoog.gitbooks.io/openplotter-...pilot.html
Reply


Messages In This Thread
NMEA0183 streaming on 0.9.0alpha - by simone71 - 2016-12-07, 03:26 PM
RE: NMEA0183 streaming on 0.9.0alpha - by e-sailing - 2016-12-08, 07:37 PM
RE: NMEA0183 streaming on 0.9.0alpha - by LeoA - 2016-12-08, 10:55 PM
RE: NMEA0183 streaming on 0.9.0alpha - by PaddyB - 2016-12-09, 10:04 AM
RE: NMEA0183 streaming on 0.9.0alpha - by LeoA - 2016-12-09, 03:09 PM
RE: NMEA0183 streaming on 0.9.0alpha - by Sailoog - 2016-12-15, 07:55 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)