M5Stack - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2) +--- Thread: M5Stack (/showthread.php?tid=1819) Pages:
1
2
|
RE: M5Stack - DanielGoedhuis - 2020-03-28 (2020-03-25, 03:07 PM)mgrouch Wrote: Here is my version of M5Stack Boat Display. I looked at abarrow's code (it was very useful) but ended up with quite different. Great piece of work! I tried it out last night and got it to work quite easily. I only had to change the name_sources from "openplotter" to "192.168.[....]" in order to get a connection. My setup is an RPi4 which runs openplotter, hooked to a separate Wifi router. Would there be another way to get the connection without using the IP-address of the RPi. The reason is that this will change when I'm on the boat (currently testing things at home) Another feature would be to use Signal-K data without nmea. That way all data in Signal-K would become available. I guess that's the set-up that abarrow has used, but I haven't figured out his software. (2020-03-27, 07:40 PM)abarrow Wrote: It looks great! I spent some time getting mine to work with websockets and SignalK. I used it recently on a trip down the coast. Looking forward to that! I tried to understand the code and run it, but struggled with the WebSocketClient. Which library do you use for this? Basically I'm trying to understand how I would need to get a single Signal-K path into a variable in Arduino (including all the connecting and handshaking, etc). From that I can expand and incorporate it in any Arduino code, e.g. mgrouch's. RE: M5Stack - Opie91 - 2020-03-28 Changed it from openplotter to openplotter.local on my RPI4 works great. Used OP as a local access point since that is the way it will work on the boat. Thanks to all for posting all your good works! RE: M5Stack - mgrouch - 2020-03-29 It works in my set up with just 'openplotter'. My DNS server is on the router though. I'd like to add more screens to that project for completeness. I think depth/speed/heading would be easy. Its just same as first screen. And I'd like to add a screen to show 5 nearest ships from AIS. I think it's easier to parse AIS stream on pi4 and just write custom (proprietary NMEA sentense for M5Stack) to display it via same code on M5Stack display. Thanks, --MG RE: M5Stack - abarrow - 2020-03-30 (2020-03-29, 10:50 PM)mgrouch Wrote: And I'd like to add a screen to show 5 nearest ships from AIS. Using SignalK keys like "/vessels/<RegExp>/navigation/closestApproach" would work for that, but you'd have to have something doing the calculations for you. OpenPlotter in it's basic configuration won't do that, but I did notice a couple of AIS-related apps in the SignalK App Store that might help. RE: M5Stack - Sjoerd02 - 2020-11-30 (2020-03-27, 07:40 PM)abarrow Wrote: It looks great! I spent some time getting mine to work with websockets and SignalK. I used it recently on a trip down the coast. Hi Andy, Being an newbie to platformIO I set it up and loaded you project. Trying to compile it i get several errors like: framework-arduinoespressif32\libraries\HTTPClient\src\HTTPClient.cpp:263:32: error: 'base64' has not been declared Any suggestion how to fix it? Thanks, Sjoerd |