This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UDP MQTT to Openplotter with ESP32
#7
(2020-11-10, 09:03 AM)tkurki Wrote: I can relate to the frustration, but calling other peopls's software s*** is not the best way to get help.

Despite that here goes....

Your post title is misleading: UDP and MQTT don't have practically anything to do with each other. Please think about others who are reading what you write, maybe much later - you are adding confusion.

Your first example seems to be sending UDP to itself as it uses localIP.

Here's a real life ESP8266 example to send SK over UDP that you can adapt: https://gist.github.com/tkurki/d8d45dfb3...1e8e95a45b

Netcat is a great way to test that your messages make to the server - points for sharing that!

SK Server does not accept UDP input by default, you need to add a Data Connection:
- Data type: Signal K
- Signal K Source. UDP

I agree with your comment but this is still very frustrating and I’ve been reading countless of other forums and no clear solutions are available for a beginner like me. It’s all “here is my code” stuff and it doesn’t help much if you are a hobby programmer.

As for the title I was uncertain about going the Udo or mqtt path and hence why they were both included. At the time I was trying micropython and mqtt which honestly no-one should touch if you are a beginner.

So, since my UDP is working is there something I can do on the server/Openplotter side to get this into SignalK? Can node red help with this? And how do I do it?

When you say add a data connection, do you mean in KPLEX? I have tried that it didn’t work..

Kind regards,
Peter

ps: once I get this solved I’ll make a clear step by step guide for anyone to use in the future
Reply


Messages In This Thread
UDP MQTT to Openplotter with ESP32 - by Peter— - 2020-11-09, 03:57 PM
RE: UDP MQTT to Openplotter with ESP32 - by Peter— - 2020-11-10, 09:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)