Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-12-2023, 10:14   #1
Registered User

Join Date: May 2020
Posts: 1
Help with Grafana

Hi

Been trying for quite some time now to figure out Grafana. Getting nowhere in my queries I hope for some help here.

I have a TouCAN connected to my NMEA 2000 and a working Signal k server on a raspberry PI. All the measured values are written to a InfluxDB database also on the PI. And Grafana to present the values. I have no trouble make a query, in influxQL, getting a serie of values for different measurements.
My goal is to use this for calibrating my H3000. The measurements I am intressted in are
Speed overground
Speed through water
Roll
First I calculate in Grafana the difference between speedover ground / speed through water. This works fine.
But I also want the difference at different roll angles and in different speeds envelopes. Like between 0 and 5 degrees roll and 0 and 5knops speed, what is the average error. Then 5-10 degrees roll and 5-10 knops speed. And so on.
Lots of testing with no success. I asked ChatGPT and got an answer that did not work.

SELECT Mean("your_measurement") As "average_value"
From "your measurement"
Where "measurement1" >= minvalue1 and "measurement1" <= maxvalue1
and "measurement2" >= minvalue2 and "measurement2" <= maxvalue2
and time >= 'start_time* and time <= 'end_time'

Any help or pointers would be very much appreciated.

Thanks / Christian
chris the rat is offline   Reply With Quote
Old 18-12-2023, 15:39   #2
Registered User

Join Date: Oct 2021
Posts: 589
Re: Help with Grafana

So many questions. If you can post the SOG/STW query that works, and a small sample of the data table so that we can see structure it would go a long way toward being able to offer suggestions.
HeywoodJ is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!!! Can you help us re-float? C.Karo The Sailor's Confessional 4 02-06-2015 17:43
Help me help others...3 mile swim in the Bay! boatsail Health, Safety & Related Gear 4 23-09-2013 20:12
Help: Insurance needed - Ferro Cement Yacht any help? zooplax Boat Ownership & Making a Living 10 20-06-2013 05:58
Crew Available: Onboard mechanic/ help/ cook help/ anything helmsmax Crew Archives 0 28-03-2012 16:31
HELP - Water Coming Out of Air Filter - Boca Grande, FL - HELP chadlaroche Engines and Propulsion Systems 14 30-12-2010 15:33

Advertise Here


All times are GMT -7. The time now is 06:32.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.