sailoog / openplotter

Obsolete project. New one and active: https://github.com/openplotter
http://www.sailoog.com/openplotter
GNU General Public License v2.0
153 stars 53 forks source link

Port 5555 #125

Closed dmdelorme closed 7 years ago

dmdelorme commented 7 years ago

When i open http://openplotter:5555. It looks like SignalK {"context":"vessels.urn:mrn:imo:mmsi:1999999","updates":[{"source":{"type":"I2C","src":"LSM9DS1","label":"OP_sensors"},"timestamp":"2016-11-20T20:34:57.500Z","values":[{"path":"navigation.headingMagnetic","value":3.52629010044},{"path":"navigation.attitude.roll","value":-0.00658904360104},{"path":"navigation.attitude.pitch","value":-0.0271246105443}]}]}...... and more Where is this in the code?

sailoog commented 7 years ago

https://github.com/sailoog/openplotter/blob/v0.9.0/i2c_d.py#L205

dmdelorme commented 7 years ago

i did a search after not finding it in the Openplotter code. grep -rnw '.config/' -e "5555" the results were. .config/signalk-server-node/lib/interfaces/tcp.js:24: var port = 5555; .config/signalk-server-node/lib/interfaces/tcp.js:66: port: 5555

dmdelorme commented 7 years ago

Thanks

sailoog commented 7 years ago

Ops, you are right. It seems that the last version of signalk-server-node creates a TCP output in 5555 by default. there you will have a stream of delta messages with data updates. thanks for notifying.