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
SignalK questions
#1
Hi everyone,

I have set up OP 0.8.0 NOOBS with an MPU-9250 and a HTU21D sensor and NMEA0183 sentences for them come up OK in both the inspector as well as at the SignalK 0183 stream on port 10111:
Code:
$OSHDG,68.3,,,,*68
$OSXDR,C,27.6,C,I2CT,H,58.9,R,I2CH*53
$OSXDR,A,2.3,D,I2CX,A,0.1,D,I2CY*53
$OSHDG,68.1,,,,*6A
$OSXDR,C,27.6,C,I2CT,H,58.9,R,I2CH*53
$OSXDR,A,2.3,D,I2CX,A,0.1,D,I2CY*53
$OSHDG,68.5,,,,*6E
$OSXDR,C,27.6,C,I2CT,H,58.5,R,I2CH*5F
$OSXDR,A,2.3,D,I2CX,A,0.2,D,I2CY*50
$OSHDG,68.2,,,,*69
$OSXDR,C,27.6,C,I2CT,H,58.3,R,I2CH*59
$OSXDR,A,2.3,D,I2CX,A,0.2,D,I2CY*50
$OSHDG,68.3,,,,*68
$OSXDR,C,27.6,C,I2CT,H,58.4,R,I2CH*5E
$OSXDR,A,2.3,D,I2CX,A,0.2,D,I2CY*50
$OSHDG,68.7,,,,*6C
$OSXDR,C,27.6,C,I2CT,H,58.4,R,I2CH*5E


However, the Signal K REST page shows this:

Code:
{"vessels":{"xxxxxxxx":{"uuid":"xxxxxxxx"}},"version":"0.1.0","sources":{}}

the openplotter-settings.json is this:

Code:
{"vessel": {"name": "OpenPlotter", "uuid": "xxxxxxxx"}, "pipedProviders": [{"pipeElements": [{"type": "providers/tcp", "options": {"host": "127.0.0.1", "port": "10110"}}, {"optionMappings": [{"toOption": "selfId", "fromAppProperty": "selfId"}, {"toOption": "selfType", "fromAppProperty": "selfType"}], "type": "providers/nmea0183-signalk"}], "id": "kplex_output"}, {"pipeElements": [{"type": "providers/udp", "options": {"port": "7777"}}, {"type": "providers/liner"}, {"type": "providers/from_json"}], "id": "OP_sensors"}], "interfaces": {}}

Since providers/nmea0183-signalk is part of the settings, I would expect that all OP sensors that appear in the NMEA0183 stream are also published in Signal K, but as you can see sources are empty.

Is there something wrong with my setup or arenĀ“t OP I2C/1W etc sensors published in SignalK?
If so, how can I add them to the SignalK providers?
Reply
#2
Nevermind, I just went through the python files in github for 0.8.0 and 0.9.0 and I realised that publishing GPIO, SPI and I2C sensors to SignalK is only supported in 0.9.0 (in i2c_d.py)
Reply
#3
Yes, we are still working on it, feel free to comment. Thanks for testing!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)