 |
|
17-06-2023, 08:51
|
#601
|
Registered User
Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,699
|
Re: Plugin: DashBoard
Quote:
Originally Posted by Hakan
Franziska..
This is nothing OCPN can control. You've to set the inactive title bar color in Win settings. I've made them light gray to not shine to much on night mode.
One example how to do it on This page
|
Great. Thanks.
Also came across this:
https://apps.microsoft.com/store/det...XP8JK4HZBVF435
|
|
|
17-06-2023, 09:02
|
#602
|
Registered User
Join Date: Jan 2011
Location: France/UK
Boat: Gib'Sea 402
Posts: 552
|
Re: Plugin: DashBoard
Inevitably, Windows 11 seems to be different. Selecting Accessibility>Contrast Themes allows one of four sets of colour values for Windows elements, including subdued and dark themes for night use. These can be edited if you don't like the preset colour choices.
|
|
|
27-01-2024, 04:14
|
#603
|
Registered User
Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 657
|
Re: Plugin: Dashboard
Updated with latest version of WD 2.4.105
Windows 11 (23H2) x64 & ARM64 - O 5.9.0
Done the test at home with Arduino device.
in COM connection rejected MTA & MDA and accepted only XDR sentences.
WD correctly shows the values and alarms working.
really good, also Dashboard shows the pressure trends and value but not showing the temperature.
so, it means that Dashboard should not read the temperature value in XDR format.
in connection added to filter to accept MTA and now dashboard showing the temperature.
attached pictures with and without MTA sentence
__________________
Corsair
Roses don't bloom on the sailor's grave
|
|
|
27-01-2024, 07:01
|
#604
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,441
|
Re: Plugin: DashBoard
Corsair..
The XDR is a mess wo a common specification.
You happened to use a string not covered by the various attempts in Dashboard.
Try one the below instead?
// XDR Airtemp
Code:
if (m_NMEA0183.Xdr.TransducerInfo[i].TransducerType == _T("C") && (
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("Te") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("TempAir") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("AIRTEMP") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("ENV_OUTAIR_T") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("ENV_OUTSIDE_T"))) {
|
|
|
27-01-2024, 08:15
|
#605
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,221
|
Re: Plugin: DashBoard
We need to have a common VDR file(s) for testing Dashboard and Watchdog!!
I think they should be divided into (for example)
Weather
Wind
Course
etc.
Shouldn't we also use MDA for weather?
We are trying to get all watchdog alarms working, and would really appreciate any good VDR files for that.
|
|
|
27-01-2024, 08:23
|
#606
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,441
|
Re: Plugin: DashBoard
Quote:
Originally Posted by rgleason
Shouldn't we also use MDA for weather?
|
In Dashboard we do. Parsing pressure and air temp
|
|
|
27-01-2024, 14:15
|
#607
|
Registered User
Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 657
|
Re: Plugin: DashBoard
Quote:
Originally Posted by Hakan
In Dashboard we do. Parsing pressure and air temp
|
Right too, but as per newest standards MTA & MDA sentences are deprecates and all measurements should be based in XDR sentences.
of course, I understand that all of us we keep old firmware devices should be aware of it and should have to do something else, using e.g. NMEA converter plugin to convert old sentences in latest standard? maybe but the fact is the attachment.
__________________
Corsair
Roses don't bloom on the sailor's grave
|
|
|
27-01-2024, 15:00
|
#608
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,221
|
Re: Plugin: DashBoard
Hakan, do you have a VDR file like this that you could share by uploading here? Even one with more instruments...
Quote:
Originally Posted by Hakan
Corsair..
The XDR is a mess wo a common specification.
You happened to use a string not covered by the various attempts in Dashboard.
Try one the below instead?
// XDR Airtemp
Code:
if (m_NMEA0183.Xdr.TransducerInfo[i].TransducerType == _T("C") && (
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("Te") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("TempAir") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("AIRTEMP") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("ENV_OUTAIR_T") ||
m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
_T("ENV_OUTSIDE_T"))) {
|
|
|
|
27-01-2024, 17:32
|
#609
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,221
|
Re: Plugin: DashBoard
I am trying to get a complete list of what should be acceptable in the XDR sentence. This is for watchdog and dashboard.
References
https://opencpn.org/wiki/dokuwiki/do...shboard_plugin
XDR - Transducer Measurement
XDR Support https://github.com/SignalK/nmea0183-signalk/issues/54
Have also been looking in Opencpn Code, have been unable to find it.
I really badly need "Relative Humidity" and "Absolute Humidity" format and
Here is what I have so far.
Mean Temp Water xxMTW,19.5,C*1E
Water Temp xxXDR,C,19.52,C,ENV_WATER_T
Air Temperature xxXDR,C,19.52,C,TempAir*19
Air Temperature xxXDR,C,19.52,C,ENV_OUTAIR_T
Air Temperature xxXDR,C,19.52,C,ENV_OUTSIDE_T
Air Temperature xxXDR,C,19.52,C,Te
Humidity Relative
Humidity Absolute
Barometer xxXDR,P,1.02481,B,Barometer
Pitch
Roll
And anything else we are likely to need.
-------------------
/1/ Nexus, from http://www.nexusmarine.se/wp-content/uploads/2011/11/NMEA-HPC-Compas.pdf /2/ Airmar, from http://www.airmartechnology.com/uploads/installguide/GCR200UserManual.pdf
[["PTCH","deg","navigation.attitude_pitch"],
["PIT","deg","navigation.attitude_pitch"],// ref /1/ Te
["ROLL","deg","navigation.attitude_roll"],
["ROL","deg","navigation.attitude_roll"]];// ref /1/
["WCHR","deg",""],//relative wind chill, ref /2/
https://github.com/SignalK/nmea0183-signalk/issues/54
|
|
|
27-01-2024, 17:43
|
#610
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,221
|
Re: Plugin: DashBoard
Also I just found this XDR Plugin with examples.
Should we be using these? are there any other common ones being used?
https://www.eye4software.com/hydroma...-nmea0183-xdr/
Dual frequency depth
$SDXDR,D,2.85,M,XDHI,D,2.92,M,XDLO,C,23.16,C,WTHI* 77
$SDXDR,D,2.83,M,XDHI,D,2.92,M,XDLO,C,23.16,C,WTHI* 71
Water Temperature
$SDXDR,C,23.13,C,WTHI*76
$SDXDR,C,23.15,C,WTHI*70
Weather Sensor
$IIXDR,P,1.01408,B,Barometer*2B
$IIXDR,C,19.8,C,AirTemp*26
Vessel Motion
$IIXDR,A,4,D,ROLL,A,-2,D,PTCH,A*1A
|
|
|
27-01-2024, 23:58
|
#611
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,441
|
Re: Plugin: DashBoard
Quote:
Originally Posted by rgleason
Hakan, do you have a VDR file like this that you could share by uploading here? Even one with more instruments...
|
Here's a VDR with most instrument and more. Welcome to Sweden.
Dropbox Link
|
|
|
28-01-2024, 07:39
|
#612
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,221
|
Re: Plugin: DashBoard
Thank you Hakan, you might have saved me a lot of trouble and work!
Where/how would I find the all the XDR transducer types supported by Dashboard at this point in time? Is it in some file in src/ or is it in the nmea lib ? Where would I look? Thanks.
Quote:
Originally Posted by Hakan
|
|
|
|
28-01-2024, 08:03
|
#613
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,441
|
Re: Plugin: DashBoard
Rick..
In Dashboard code here
|
|
|
28-01-2024, 08:15
|
#614
|
Registered User
Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 657
|
Re: Plugin: DashBoard
Maybe I should be doing something wrong, but not able to show the date in the Dashboard.
should it be possible to add such feature? as another field to show.
this is useful e.g. the case of time & date when sometimes this doesn't match with system time, it has happened sometimes to me with my tablet, it doesn't update automatically the date/time and when displayed with another software you realize e.g. the time of OCPN is correct because it comes from GNSS and the system time is different but could no verify the date.
__________________
Corsair
Roses don't bloom on the sailor's grave
|
|
|
29-01-2024, 00:58
|
#615
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,441
|
Re: Plugin: DashBoard
On occasion I've to explain the provided VDR above is just an example of sensors to see how it looks in Dashboard. The data is not based on a real cruise.
|
|
|
 |
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|