(2020-12-09, 11:05 AM)Peter— Wrote: Super!!!! I got it working and my code that I posted earlier was perfect.
[...]
Maybe one last question. Has anyone had luck with sending wind data to the raymarine? I tried to send MWV from OpenCPN but I can see in the NMEA debug window that it is not sending it out...
Well done, inspiring idea that wireless ESP32 solution!
It is my understanding that OpenCPN sends out what it receives, unless filtered out. So the question is: do you receive MWV into OpenCPN?
(2020-12-09, 06:53 PM)hreuver Wrote: ls -al /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Mar 28 07:12 /dev/ttyAMA0
If it reads the same as above, try "sudo usermod -a -G dialout opencpnuser" to add the opencpnuser to the dialout group.
With OpenCPN you also might want to check the groups for /dev/ttyS0 and /dev/ttyUSB0 if they exist and if you get a warning message.
Thanks for this - I have matched the group membership but the ttyAMA0 still does not show up in the OpenCPN serial connection dialog dropdown. When I force-type the device name, OpenCPN gives me a referral to the /etc/udev/rules.d. There seems to an openplotter file there already, but these kernel rules are beyond my ambition levels ;-) What had to be demonstrated was the electrical aspect and that has been QED'd sufficiently.
Cheers,
-