Canbus on Windows
I'm dropping an AliExpress 12v fanless PC into the boat to run the bridge between the B&G H3000 and the Raymarine N2K pilot and whatever else I want to run.
I want to run windows on it.
Has anyone run Signalk hooked up to a USB canbus adaptor on Windows? The whole socketcan thing works beautifully with Linux but obviously is not available on Windows.
Hoping to get away with a Waveshare USB can adaptor for 40 bucks rather than buy a 300-400 dollar "converter".
7 Replies
Definitely not possible right now.
Good option: https://shop.hatlabs.fi/products/sh-wg
Hat Labs
SH-wg NMEA 2000 WiFi Gateway (SH-wg)
SH-wg lets you display your boat data on phones and tablets, connect two NMEA 2000 network segments wirelessly, and share your boat NMEA 2000 network data wirelessly with a Signal K marine data server.--SH-wg plugs into an NMEA 2000 network and transmits the traffic over WiFi. It can join an existing WiFi network or cr
And just to add… it would be really cool to add support for those “socketcan” devices on windows and I’m sure it is possible. But we need a Windows person to figure it out. I’d be happy to help out, but not something I’m going to be tackling.
Scott thank you. I had a suggestion that WSL might do the trick and it looks like the car guys are going it already. Why don't I give it a go with WSL and if it works, I'll report back. Not as good as doing it without, but "done" would be better than "perfect"....
https://github.com/uv-software/SerialCAN compiles on windows and works with canable style USB adapters but I assume it would still need a little bit of code to make SignalK familiar with the output.
OK, I'm tempted to start hacking at this. Am I starting with Canboatjs? Not a javascript programmer, don't expect any PR's any time soon...
Yes, start with canboatjs
Probably something like lib/can*.js