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 04-08-2023, 04:01   #571
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

Really strange thing, the sentence that worked before now is not working and the one not working is working now.

version 2.4.57

$SDDPT,2.37,0.00,*7D<0x0D><0x0A>
conforming NMEA standard with blank max. range field, worked before, now not working.

$SDDPT,2.4,0.0,9999.9*6A<0x0D><0x0A>
also conforming NMEA standard with numeric value in the max. range field, before was not working but now works in the plugin.

both sentences are shown in OCPN but now the first one is not displayed in watchdog plugin.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 04-08-2023, 06:47   #572
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Watchdog Plugin

Corsair I will check WD using your sentences, but I believe the difference is based on the difference between the nmea0183 library used. I can try to make a new version with the opencpn nmea0183 library, but every alarm will have to be tested. Are you willing to do this? I think the pypilot alarms could be tested by Marco Bergman. If you are willing let me know.
rgleason is offline   Reply With Quote
Old 04-08-2023, 06:49   #573
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Watchdog Plugin

Corsair. Is WD depth showing NA all the time?
rgleason is offline   Reply With Quote
Old 04-08-2023, 08:37   #574
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Watchdog Plugin

Rick...
1. Processing of DPT is not implemented in OCPN core. Depth is not required for basic core nav functions. DPT is Implemented by individual plugins as required. So merging core NMEA0183 library gains nothing. The red herring I have mentioned.

2. The DPT message implemented by (12 year old) watchdog plugin handles only the older (2.0?) format, like:
Code:
$SDDPT,2.37,0.00,*7D<0x0D><0x0A>
That is a potential RFE to the plugin, but has nothing to do with core NMEA0183 library.

3. If both DPT and DBT messages are present, only DBT will be used.


Hope this helps.
Dave
bdbcat is offline   Reply With Quote
Old 04-08-2023, 15:45   #575
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

Quote:
Originally Posted by rgleason View Post
Corsair I will check WD using your sentences, but I believe the difference is based on the difference between the nmea0183 library used. I can try to make a new version with the opencpn nmea0183 library, but every alarm will have to be tested. Are you willing to do this? I think the pypilot alarms could be tested by Marco Bergman. If you are willing let me know.
Watchdog is a huge plugin, I can test what I'll be working with it, step by step.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 04-08-2023, 15:55   #576
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

Quote:
Originally Posted by rgleason View Post
Corsair. Is WD depth showing NA all the time?
when switched on the Echo-Sounder (0183) (ES) now working on 3.0 it shows the correct depth (this one is giving the data straight away to the multiplexer and no intervention of it, so the sentence is as is).

when received before the sentence from N2K and converted to 0183 in multiplexer was displayed correctly (e.g. $SDDPT,2.37,0.00,*7D<0x0D><0x0A>) but now only displayed N/A all the time.

another thing is working with N2K ES displays N/A if I switch it off and switch on the ES 0183 still persists the N/A and I have to re-start OCPN and after that the depth is displayed.

I've done the same procedure, in opposite way, ES 0183 off - ES N2k on - re-start OCPN but still persist the N/A.

in all situations I don't loose the depth display in OCPN, only when are switched off both of then.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 04-08-2023, 16:09   #577
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

Quote:
Originally Posted by bdbcat View Post
2. The DPT message implemented by (12 year old) watchdog plugin handles only the older (2.0?) format, like:
Code:
$SDDPT,2.37,0.00,*7D<0x0D><0x0A>
Hi Dave,

that sentence is NMEA 3.0 at least, because it has the third field but empty, the separator is present.

same sentence for version 2.0 should be:
Code:
$SDDPT,2.37,0.00*7D
old NMEA from 2000 rev 2001 (ver 2.0)
the sentence was:
$--DPT,x.x,x.x*hh
1 - depth in m
2 - offset
3 - checksum
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 04-08-2023, 16:29   #578
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Watchdog Plugin

Corsair...
Thanks for the info.
My copy/paste error, I guess. It seems pretty clear to me that DPT parser in watchdog_pi only understands a true 2.0 sentence. Opportunity for improvement.


Dave
bdbcat is offline   Reply With Quote
Old 05-08-2023, 10:30   #579
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Watchdog Plugin

I am finding that Watchdog 14.57.0 is not working with old depth data or new depth data. Please find two depth files attached and 2 screenshots using old depth and new depth files.
Attached Thumbnails
Click image for larger version

Name:	Depth-new.png
Views:	31
Size:	287.9 KB
ID:	279190   Click image for larger version

Name:	Depth-old.png
Views:	29
Size:	359.1 KB
ID:	279191  

Attached Files
File Type: pdf depth-new-DPT - Copy.txt.pdf (1.6 KB, 28 views)
File Type: pdf depth-old-DPT - Copy.txt.pdf (1.5 KB, 46 views)
rgleason is offline   Reply With Quote
Old 05-08-2023, 12:26   #580
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

Hi,

just a remark in my previous finding. tested today.

N2K ES on - sentence converted by multiplexer received in OCPN $SDDPT,2.37,0.00,*7D display NA in WD
(in previous version of WD was properly displayed)

0183 ES on - sentence in $SDDPT,3.3,0.0,9999.9*6C display NA in WD
(in previous version when ES set-up as NMEA 2.0 output was displayed properly by WD)
(just forget about values, is just an example of sentences and situation)

switched off N2K - still display NA
re-started OCPN - WD showing the correct data from 0183 ES

tried another combinations, but no way to display the depth from the N2K converted to proper 0183 sentence.

if started OCPN with 0183 ES on WD displays correctly the data supplied by this ES.

OCPN at any moment looses the depth readings.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 05-08-2023, 18:15   #581
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Watchdog Plugin

Corsair...
"OCPN at any moment looses the depth readings."


Do you mean watchdog_pi, or maybe dashboard_pi?
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 06-08-2023, 01:40   #582
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

Quote:
Originally Posted by bdbcat View Post
Corsair...
"OCPN at any moment looses the depth readings."


Do you mean watchdog_pi, or maybe dashboard_pi?
Thanks
Dave
WD showing NA
Dashboard showing correct depth readings
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 06-08-2023, 18:43   #583
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Watchdog Plugin

Watchdog 2.4.60.0 in Master Catalog, has been merged by Dave into PIM and is available.
Depth is fixed, Pypilot Alarms and Rudder Alarms are back in the plugin.
Please test every aspect of this plugin and and advise here of which alarms work and which don't (we need to know both confirmations and negatives)!!! ..along with Opencpn version and OS!!



We also need the same testing for Tesplugin 1.0.253.0, In particular which OS it works on and which OS it does not.



Thanks. Also a big thanks to Dave R. for his help getting this working!
rgleason is offline   Reply With Quote
Old 07-08-2023, 04:13   #584
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

updated to WD 2.4.60

first test about depth alarm:

several conditions and test performed.
- N2K ES showing correct reading and alarm triggered when condition meets.
- both ES working at the same time, 0183 has priority, working
- 0183 ES working alone, all in order shown depth and alarm triggered when conditions meet.
- switched off one, the reading is still correct with the other one without re-starting OCPN. (same tried with each ES)
- switched off both and alarm triggered (of course)
- started one and showing correct reading.

FYI, ES 0183 is sending ver 3.0 and N2K ES is translated in multiplexer to ver 4.1

all above are situations in WD plugin, OCPN (Dashboard) showing correct reading too as usual.

I'll try another alarms and I'll report findings
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 07-08-2023, 04:32   #585
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Watchdog Plugin

2nd test about course alarm

selected source as GPS and seems to work.

selected heading sensor and displayed N/A, this signals are received in Multiplexer from Autopilot and flux gate via SeaTalk converted to 0183.

some of them:

Code:
<GREEN>13:20:33 (UDP:192.168.1.2:10110) $HCHDG,284.50,,,0.00,E*22<0x0D><0x0A>
<GREEN>13:20:34 (UDP:192.168.1.2:10110) $HEHDT,284.5,T*24<0x0D><0x0A>
<GREEN>13:20:34 (UDP:192.168.1.2:10110) $HCHDG,284.50,,,0.00,E*22<0x0D><0x0A>
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Reply

Tags
plug


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
Plugin: DashBoard SethDart OpenCPN 646 01-07-2024 11:36
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
UncleMag Intro - Watchdog for World Cruisers ! UncleMag Meets & Greets 4 03-02-2011 00:47
Florida to Bahamas Watchdog countrybimm Atlantic & the Caribbean 54 20-04-2010 15:50

Advertise Here


All times are GMT -7. The time now is 16:03.


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.