Post by iconPost by robbywan | 2020-11-23 | 18:54:43

I went through various posts but didn't quite find an answer.
If I manage 2 boats in VR, is there any way to simultaneously have their own NMEA outputs routed to different ports? How to achieve that? I guess I can run VR dashboard in two different private windows, but then I need to be able to select on which port I can forward the NMEA stream.

I hope that's clear and that makes sense, thank you for your help.

commenticon 3 Comments
Post by iconPost by zezo | 2020-11-23 | 19:04:35
The port offset is hardcoded. You can copy the extension and modify it to get different port. It's three 1-line changes in two files, should be pretty easy to do.

1) locate amknkhejaogpekncjekiaolgldbejjan in yout chrome profile directory. copy the directory with the latest version somewhere

2) change PORT = 8081 in to 8082 or something
3) change 10000 in sock.bind((HOST, 10000 + conn_id)) to something else. like 11000
3) change var nmeaPort = 8081; to 8082 in dashboards.js
4) open new chrome instance with --user-data-dir=something. enable dev mode in extensions, select load unpacked and point to the copy from point 1. start the modified nmea_proxy

You'll lose the auto-upgrade and have to repeat steps above with new versions.

Post by iconPost by robbywan | 2020-11-23 | 19:26:34
Thanks for the directions. Going to try !
Post by iconPost by Hardtack | 2020-11-23 | 19:46:31
If you follow your own boat you can also see it on AIS now (see here).

Topics list
Copyright 2009 by ZEZO.ORG. All Rights Reserved.