Expedition Expedition Navigation Software

You are not logged in. Would you like to login or register?



5/23/2024 11:29 pm  #1


Expedition and Grafana

Hello,

I'm looking to integrate a live feed from Expedition into Grafana. Has anyone accomplished this, and if so, could you share some tips or guidance on how to set it up?

Best regards

 

6/26/2024 8:01 am  #2


Re: Expedition and Grafana

Hi, you could use infinity or the json data feed as noted here 

https://community.grafana.com/t/how-to-import-rest-api-data/5772/4

You'll need a server that understands expedition udp and can handle api calls. This is a prototype that I wrote in python that records the expedition udp data updates and to responds to requests that you could tweak

https://github.com/SailingGreg/exputils/blob/main/expudp.py

For an overview see - https://github.com/SailingGreg/exputils/tree/main

 

 

7/04/2024 4:01 am  #3


Re: Expedition and Grafana

I'm no python expert, but Tom's EXP to Python API could possibly read the DLL and send data to Grafana without too much work.

https://expedition.boardhost.com/viewtopic.php?id=2318

If anyone gets it working, please share the method  etc.
 

 

7/04/2024 5:36 am  #4


Re: Expedition and Grafana

You could do that but each api endpoint would require a series of synchronous calls via the dll for the individual data values (parser or no parser). I used another level of abstraction based on 'profiles' which reflect the things that you are interested such as bsp vs polars and these are updated based on broadcast data from expedition. It would then be simply a case of wrapping this with fastapi ( https://fastapi.tiangolo.com/) to service infinity plugin url requests that returned the profile values.

 

Board footera

 

Powered by Boardhost. Create a Free Forum


Interested in advertising here? Over a thousand active navigators and Expedition users visit this forum. Click here to contact the administrator.