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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moitessier Hat and signal K not connecting consistently
#1
So I am experiencing some strange behavior after reboot, sometimes signalk is not receiving data from the Moitessier Hat 1, sometimes it takes 1 - 3 reboots to fix this issue.
Is anyone else having this problem? 

I am running OP2 with all up to date apps including the latest openCPN, and SignalK
Reply
#2
The fact is that I use a Moitessier 1 with an Rpi 3A+ and it works great. It always resets OK and never fails. And I've done over 100 restarts in a row to make sure.

The HAT Moitessier has a not negligible energy consumption, which together with the consumption of the same Rpi could be important. If the power source is not powerful enough or stable enough it could have problems loading the HAT driver and produce those random errors.

For the other part, I can confirm that the software and the Hat 1 are working correctly so it must be a problem specific to your installation-configuration.
Reply
#3
The power supply is good. I’ve struggled with that before but I no longer get under voltage warnings. It just recently began doing this after upgrading to the latest signalk and opencpn. I’ve used it for a year without issue similar to this.
Reply
#4
Does Signalk reports any errors communicating with Moitesser on the Dashboard page?
Could you run in terminal this command:

head -n 50 /dev/moitessier.tty

and post it's output here?
Reply
#5
(2020-10-08, 05:05 PM)serh11 Wrote: Does Signalk reports any errors communicating with Moitesser on the Dashboard page?
Could you run in terminal this command:

head -n 50 /dev/moitessier.tty

and post it's output here?

Hi Sorry for the delay.

I just uninstalled and reinstalled the drivers after several reboot attempts did not restore the mhat signal k connection. It is currently working and here is the output

pi@openplotter:~ $ head -n 50 /dev/moitessier.tty
$GNGLL,4313.6314,N,08154.9043,W,173122.000,A,D*57
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GNRMC,173123.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*14
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
$GPGGA,173123.000,4313.6314,N,08154.9043,W,2,18,0.67,189.2,M,-34.7,M,,*5C
$GNGSA,A,3,29,23,24,18,27,10,15,13,20,,,,1.10,0.67,0.87,1*0A
$GNGSA,A,3,68,82,83,67,69,76,,,,,,,1.10,0.67,0.87,2*0C
$GNGSA,A,3,13,03,08,,,,,,,,,,1.10,0.67,0.87,3*04
$GPGSV,3,1,11,18,82,222,47,15,64,058,47,20,58,301,49,23,55,298,49,0*62
$GPGSV,3,2,11,24,33,141,44,13,30,048,34,44,29,225,35,10,26,283,38,0*63
$GPGSV,3,3,11,27,18,315,32,29,11,195,28,05,04,091,35,0*5C
$GLGSV,3,1,09,83,68,250,32,68,63,299,43,67,44,039,35,82,34,182,19,1*7D
$GLGSV,3,2,09,84,26,329,17,69,19,255,28,77,17,084,,76,13,032,32,1*70
$GLGSV,3,3,09,78,01,131,,1*4C
$GAGSV,2,1,07,08,80,037,41,13,70,210,44,07,44,239,,26,39,311,,0*75
$GAGSV,2,2,07,03,26,054,36,15,25,158,,25,04,063,,0*49
$GNGLL,4313.6314,N,08154.9043,W,173123.000,A,D*56
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GNRMC,173124.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*13
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
$GPGGA,173124.000,4313.6314,N,08154.9043,W,2,18,0.67,189.2,M,-34.7,M,,*5B
$GNGSA,A,3,29,23,24,18,27,10,15,13,20,,,,1.10,0.67,0.87,1*0A
$GNGSA,A,3,68,82,83,67,69,76,,,,,,,1.10,0.67,0.87,2*0C
$GNGSA,A,3,13,03,08,,,,,,,,,,1.10,0.67,0.87,3*04
$GPGSV,3,1,11,18,82,222,47,15,64,058,47,20,58,301,49,23,55,298,49,0*62
$GPGSV,3,2,11,24,33,141,44,13,30,048,33,44,29,225,35,10,26,283,38,0*64
$GPGSV,3,3,11,27,18,315,32,29,11,195,28,05,04,091,35,0*5C
$GLGSV,3,1,09,83,68,250,32,68,63,299,43,67,44,039,35,82,34,182,19,1*7D
$GLGSV,3,2,09,84,26,329,17,69,19,255,27,77,17,084,,76,13,032,32,1*7F
$GLGSV,3,3,09,78,01,131,,1*4C
$GAGSV,2,1,07,08,80,037,41,13,70,210,44,07,44,239,,26,39,311,,0*75
$GAGSV,2,2,07,03,26,054,36,15,25,158,,25,04,063,,0*49
$GNGLL,4313.6314,N,08154.9043,W,173124.000,A,D*51
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GNRMC,173125.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*12
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
$GPGGA,173125.000,4313.6314,N,08154.9043,W,2,17,0.74,189.2,M,-34.7,M,,*57
$GNGSA,A,3,23,24,18,27,10,15,13,20,,,,,1.24,0.74,0.99,1*0B
$GNGSA,A,3,68,82,83,67,69,76,,,,,,,1.24,0.74,0.99,2*06
$GNGSA,A,3,13,03,08,,,,,,,,,,1.24,0.74,0.99,3*0E
$GPGSV,3,1,11,18,82,222,47,15,64,058,47,20,58,301,50,23,55,298,49,0*6A
$GPGSV,3,2,11,24,33,141,44,13,30,048,33,44,29,225,35,10,26,283,38,0*64
$GPGSV,3,3,11,27,18,315,32,29,11,195,28,05,04,091,35,0*5C
$GLGSV,3,1,09,83,68,250,32,68,63,299,42,67,44,039,34,82,34,182,18,1*7C
$GLGSV,3,2,09,84,26,329,17,69,19,255,26,77,17,084,,76,13,032,31,1*7D
$GLGSV,3,3,09,78,01,131,,1*4C
$GAGSV,2,1,07,08,80,037,41,13,70,210,44,07,44,239,,26,39,311,,0*75
$GAGSV,2,2,07,03,26,054,36,15,25,158,,25,04,062,,0*48
$GNGLL,4313.6314,N,08154.9043,W,173125.000,A,D*50
$GPTXT,01,01,02,ANTSTATUS=OK*3B
pi@openplotter:~ $ 

Did you want me to reboot to see if I can get it to loose connection again and then run the terminal command?

Shortly after I ran the terminal cmd I lost GPS data in OpenCPN.

Here is the terminal info after I lost gps

pi@openplotter:~ $ head -n 50 /dev/moitessier.tty
$GNRMC,173559.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*1D
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
$GPGGA,173559.000,4313.6314,N,08154.9043,W,2,21,0.59,189.2,M,-34.7,M,,*52
$GNGSA,A,3,29,23,24,18,27,10,15,13,20,,,,1.01,0.59,0.83,1*03
$GNGSA,A,3,68,83,67,77,84,69,82,76,,,,,1.01,0.59,0.83,2*09
$GNGSA,A,3,13,03,15,08,,,,,,,,,1.01,0.59,0.83,3*09
$GPGSV,3,1,11,18,81,211,43,15,62,057,48,20,59,303,47,23,56,300,48,0*6C
$GPGSV,3,2,11,24,35,140,46,44,29,225,35,13,28,048,23,10,28,284,44,0*6B
$GPGSV,3,3,11,27,18,313,35,29,09,194,22,05,03,092,22,0*5D
$GLGSV,3,1,09,83,67,242,29,68,64,306,42,67,41,042,30,82,30,182,16,1*7D
$GLGSV,3,2,09,84,28,327,28,69,21,258,37,77,19,081,18,76,12,029,31,1*7E
$GLGSV,3,3,09,78,03,129,,1*47
$GAGSV,2,1,07,08,78,038,44,13,68,207,45,07,45,241,,26,41,309,,0*7E
$GAGSV,2,2,07,03,25,055,32,15,23,159,36,25,05,061,,0*4E
$GNGLL,4313.6314,N,08154.9043,W,173559.000,A,D*5F
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GNRMC,173600.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*12
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
$GPGGA,173600.000,4313.6314,N,08154.9043,W,2,21,0.59,189.2,M,-34.7,M,,*5D
$GNGSA,A,3,29,23,24,18,27,10,15,13,20,,,,1.01,0.59,0.83,1*03
$GNGSA,A,3,68,83,67,77,84,69,82,76,,,,,1.01,0.59,0.83,2*09
$GNGSA,A,3,13,03,15,08,,,,,,,,,1.01,0.59,0.83,3*09
$GPGSV,3,1,11,18,81,211,43,15,62,057,48,20,59,303,47,23,56,300,48,0*6C
$GPGSV,3,2,11,24,35,140,46,44,29,225,36,13,28,048,23,10,28,284,44,0*68
$GPGSV,3,3,11,27,18,313,35,29,09,194,18,05,03,092,22,0*54
$GLGSV,3,1,09,83,67,242,29,68,64,306,42,67,41,042,31,82,30,182,18,1*72
$GLGSV,3,2,09,84,28,327,28,69,21,258,37,77,19,081,18,76,12,029,31,1*7E
$GLGSV,3,3,09,78,03,129,,1*47
$GAGSV,2,1,07,08,78,038,44,13,68,207,45,07,45,241,,26,41,309,,0*7E
$GAGSV,2,2,07,03,25,055,32,15,23,159,36,25,05,061,,0*4E
$GNGLL,4313.6314,N,08154.9043,W,173600.000,A,D*50
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GNRMC,173601.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*13
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
$GPGGA,173601.000,4313.6314,N,08154.9043,W,2,21,0.59,189.2,M,-34.7,M,,*5C
$GNGSA,A,3,29,23,24,18,27,10,15,13,20,,,,1.01,0.59,0.83,1*03
$GNGSA,A,3,68,83,67,77,84,69,82,76,,,,,1.01,0.59,0.83,2*09
$GNGSA,A,3,13,03,15,08,,,,,,,,,1.01,0.59,0.83,3*09
$GPGSV,3,1,11,18,81,211,43,15,62,057,48,20,59,303,47,23,56,300,48,0*6C
$GPGSV,3,2,11,24,35,140,46,44,29,225,35,13,28,048,23,10,28,284,44,0*6B
$GPGSV,3,3,11,27,18,313,35,29,09,194,20,05,03,092,25,0*58
$GLGSV,3,1,09,83,67,242,29,68,64,306,42,67,41,042,32,82,30,182,18,1*71
$GLGSV,3,2,09,84,28,327,28,69,21,258,37,77,19,081,18,76,12,029,31,1*7E
$GLGSV,3,3,09,78,03,129,,1*47
$GAGSV,2,1,07,08,78,038,44,13,68,207,45,07,45,241,,26,41,309,,0*7E
$GAGSV,2,2,07,03,25,055,32,15,23,159,36,25,05,061,,0*4E
$GNGLL,4313.6314,N,08154.9043,W,173601.000,A,D*51
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GNRMC,173602.000,A,4313.6314,N,08154.9043,W,0.00,100.81,151020,,,D,V*10
$GPVTG,100.81,T,,M,0.00,N,0.00,K,D*30
pi@openplotter:~ $

There are no noticeable errors in the signalk data browser
Reply
#6
This looks like a healthy GPS data coming in from Moitessier HAT. The total number of visible sattelites is between 7 and 11 which is a bit on a low side, but should be enough. So the issue is somewhere up the stack. Do you get any errors or related messages in the Signalk server log when you loose GPS data? It is available via web interface as well.
Reply
#7
(2020-10-17, 07:37 PM)serh11 Wrote: This looks like a healthy GPS data coming in from Moitessier HAT. The total number of visible sattelites is between 7 and 11 which is a bit on a low side, but should be enough. So the issue is somewhere up the stack. Do you get any errors or related messages in the Signalk server log when you loose GPS data? It is available via web interface as well.

Just this one line after restarting signalk


Oct 17 17:15:31 [signalk-to-nmea0183] GGA: no position, not converting
Reply
#8
What do you see on Dashboard (not data browser) page when GPS is not available? There is a table with all the data sources and their status and some statistics on the number of actual messages received.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)