Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST1 via ShipModul, GUI shows "No Pilot" but AP does go into 'Auto' #21

Open
EdKok opened this issue Oct 11, 2021 · 16 comments
Open

ST1 via ShipModul, GUI shows "No Pilot" but AP does go into 'Auto' #21

EdKok opened this issue Oct 11, 2021 · 16 comments

Comments

@EdKok
Copy link

EdKok commented Oct 11, 2021

Situation:
RaspBerry with SignalK -- WiFi -- ShipModul -- ST1 to RayMarine ST7000+

Problem:
The buttons in the GUI do put the AP into 'Auto' and back to 'Standby' but the display only shows "No Pilot". And the four steering-buttons do not work at all.

I noticed the plugin sends $PSMDST which is "Proprietary ShipModul", so I was hoping this plugin supports the ShipModul. That is also what is in the plugin's readme.
Using this $PSMDST is why my AP goes into 'Auto' just fine, but why does the GUI stay on "No Pilot"? I guess it is waiting for the status? How should that sentence look like? Or what else do I need to configure to get the status updated?

@EdKok EdKok changed the title ST1 via ShipModul, GUI shows "No Pilot" but does go into 'Auto' ST1 via ShipModul, GUI shows "No Pilot" but AP does go into 'Auto' Oct 11, 2021
@joabakk
Copy link
Contributor

joabakk commented Oct 11, 2021

There should be a response from the AP which is then parsed in https://github.com/SignalK/nmea0183-signalk/blob/master/hooks/proprietary/PSMDST.js into Signal K. You have an active 0183 connection to the shipmodul unit?

@EdKok
Copy link
Author

EdKok commented Oct 12, 2021

Ahh, that explains something for me: that webapp is not available to me in the AppStore. I assumed the webapp SignalK-autopilot is what was needed for this.
But even besides that, when I switch on the AP I can see data coming into SignalK with the ‘Data Browser’ with source = ShipModul. So the connection is working, but I maybe need that webapp for converting that data?
Edit1: just learned on slack this is not a plugin but standard functionality of SignalK. That explains why I already see data coming in from seatalk labelled as source 'ShipModul' because that is the connection that I configured.
Edit2: I have the connection type set up as 'nmea0183'. Because that is what the ShipModul converts to. But has this plugin actually been tested with a connection nmea0183, or just with 'Seatalk (GPIO)'?

@joabakk
Copy link
Contributor

joabakk commented Oct 14, 2021

I tested the module with the two linked nmea0183 usb units linked in the readme, and not with the GPIO unit. But I no longer have any way of testing the seatalk 1 parts. And I only tested with an ST2000+. There may be differences in the solutions. The more you can diagnose, the better we can help

@EdKok
Copy link
Author

EdKok commented Oct 15, 2021

To rule out any possible WiFi problems I have now connected the ShipModul via USB, but see no difference.
I can still use the GUI to select "Auto" and "Standby" but the GUI display still shows "No Pilot". This tells me that there is some communication from SignalK to ST1 via the ShipModul mux.
Looking in the log with filter on the autopilot plugin:
Oct 15 19:16:58 GET /@signalk/signalk-autopilot 301 5.813 ms - 219 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/ 200 6.601 ms - - Oct 15 19:16:58 GET /@signalk/signalk-autopilot/js/scale2fit.js 200 4.749 ms - 766 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/js/signalk-autopilot.js 200 8.114 ms - - Oct 15 19:16:58 GET /@signalk/signalk-autopilot/css/signalk-autopilot.css 200 9.658 ms - - Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/signalK_16x16.png 200 17.187 ms - 496 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/btnLeftBlack.png 200 11.715 ms - 28264 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/bgRemoteMain.png 200 18.343 ms - 77895 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/btnRightBlack.png 200 16.197 ms - 28089 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/btnBottomSmallBlack.png 200 5.497 ms - 28101 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/btnCircleRed.png 200 3.090 ms - 13939 Oct 15 19:16:58 GET /@signalk/signalk-autopilot/img/btnCircleWithDotRed.png 200 3.136 ms - 13852 Oct 15 19:16:58 GET /favicon.ico 200 3.305 ms - - Oct 15 19:17:39 2021-10-15T17:17:39.770Z signalk-server:put received put vessels.self steering.autopilot.state {"path":"steering.autopilot.state","value":"standby"} Oct 15 19:17:46 2021-10-15T17:17:46.692Z signalk-server:put received put vessels.self steering.autopilot.state {"path":"steering.autopilot.state","value":"auto"} Oct 15 19:18:02 2021-10-15T17:18:02.025Z signalk-server:put received put vessels.self steering.autopilot.actions.adjustHeading {"path":"steering.autopilot.actions.adjustHeading","value":10} Oct 15 19:19:19 2021-10-15T17:19:19.668Z signalk-server:put received put vessels.self steering.autopilot.state {"path":"steering.autopilot.state","value":"auto"} Oct 15 19:19:44 2021-10-15T17:19:44.172Z signalk-server:put received put vessels.self steering.autopilot.state {"path":"steering.autopilot.state","value":"auto"} Oct 15 19:19:44 2021-10-15T17:19:44.173Z @signalk/signalk-autopilot datagram: 86,11,01,FE Oct 15 19:19:44 2021-10-15T17:19:44.175Z signalk-server:put got result: {"state":"COMPLETED","statusCode":200} Oct 15 19:20:08 2021-10-15T17:20:08.100Z signalk-server:put received put vessels.self steering.autopilot.actions.adjustHeading {"path":"steering.autopilot.actions.adjustHeading","value":10} Oct 15 19:20:08 2021-10-15T17:20:08.102Z signalk-server:put got result: {"message":"Autopilot not in auto, standby or route mode","state":"FAILURE"} Oct 15 19:20:12 2021-10-15T17:20:12.067Z signalk-server:put received put vessels.self steering.autopilot.actions.adjustHeading {"path":"steering.autopilot.actions.adjustHeading","value":1} Oct 15 19:20:12 2021-10-15T17:20:12.070Z signalk-server:put got result: {"message":"Autopilot not in auto, standby or route mode","state":"FAILURE"} Oct 15 19:20:15 2021-10-15T17:20:15.226Z signalk-server:put received put vessels.self steering.autopilot.actions.adjustHeading {"path":"steering.autopilot.actions.adjustHeading","value":-10} Oct 15 19:20:15 2021-10-15T17:20:15.230Z signalk-server:put got result: {"message":"Autopilot not in auto, standby or route mode","state":"FAILURE"} Oct 15 19:20:18 2021-10-15T17:20:18.806Z signalk-server:put received put vessels.self steering.autopilot.actions.adjustHeading {"path":"steering.autopilot.actions.adjustHeading","value":-1} Oct 15 19:20:18 2021-10-15T17:20:18.809Z signalk-server:put got result: {"message":"Autopilot not in auto, standby or route mode","state":"FAILURE"} Oct 15 19:20:23 2021-10-15T17:20:23.695Z signalk-server:put received put vessels.self steering.autopilot.state {"path":"steering.autopilot.state","value":"standby"} Oct 15 19:20:23 2021-10-15T17:20:23.698Z @signalk/signalk-autopilot datagram: 86,11,02,FD Oct 15 19:20:23 2021-10-15T17:20:23.700Z signalk-server:put got result: {"state":"COMPLETED","statusCode":200}
and filtering on data from MiniPlex:
Oct 15 19:55:13 2021-10-15T17:55:13.925Z signalk-server:events:MiniPlex [ '$HCHDG,66.00,,,0.00,E*19' ] Oct 15 19:55:14 2021-10-15T17:55:14.021Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:14 2021-10-15T17:55:14.023Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:14 2021-10-15T17:55:14.133Z signalk-server:events:MiniPlex [ '$VWVHW,,T,66.00,M,0.00,N,0.00,K*7A' ] Oct 15 19:55:14 2021-10-15T17:55:14.201Z signalk-server:events:MiniPlex [ '$STALK,86,11,03,FC*49' ] Oct 15 19:55:14 2021-10-15T17:55:14.202Z signalk-server:events:MiniPlex [ '$PSMDST,86,11,03,FC*05' ] Oct 15 19:55:14 2021-10-15T17:55:14.325Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:14 2021-10-15T17:55:14.421Z signalk-server:events:MiniPlex [ '$HCHDG,66.00,,,0.00,E*19' ] Oct 15 19:55:14 2021-10-15T17:55:14.533Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:14 2021-10-15T17:55:14.629Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:14 2021-10-15T17:55:14.933Z signalk-server:events:MiniPlex [ '$HCHDG,66.00,,,0.00,E*19' ] Oct 15 19:55:15 2021-10-15T17:55:15.029Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:15 2021-10-15T17:55:15.030Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:15 2021-10-15T17:55:15.125Z signalk-server:events:MiniPlex [ '$VWVHW,,T,66.00,M,0.00,N,0.00,K*7A' ] Oct 15 19:55:15 2021-10-15T17:55:15.333Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:15 2021-10-15T17:55:15.429Z signalk-server:events:MiniPlex [ '$HCHDG,66.00,,,0.00,E*19' ] Oct 15 19:55:15 2021-10-15T17:55:15.525Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:15 2021-10-15T17:55:15.621Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:15 2021-10-15T17:55:15.925Z signalk-server:events:MiniPlex [ '$HCHDG,66.00,,,0.00,E*19' ] Oct 15 19:55:16 2021-10-15T17:55:16.020Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:16 2021-10-15T17:55:16.027Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:16 2021-10-15T17:55:16.132Z signalk-server:events:MiniPlex [ '$VWVHW,,T,66.00,M,0.00,N,0.00,K*7A' ] Oct 15 19:55:16 2021-10-15T17:55:16.325Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:16 2021-10-15T17:55:16.421Z signalk-server:events:MiniPlex [ '$HCHDG,66.00,,,0.00,E*19' ] Oct 15 19:55:16 2021-10-15T17:55:16.532Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:16 2021-10-15T17:55:16.629Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:16 2021-10-15T17:55:16.933Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:17 2021-10-15T17:55:17.028Z signalk-server:events:MiniPlex [ '$SDDPT,0.88,,*65' ] Oct 15 19:55:17 2021-10-15T17:55:17.030Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:17 2021-10-15T17:55:17.124Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.50,M,0.00,N,0.00,K*7C' ] Oct 15 19:55:17 2021-10-15T17:55:17.332Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:17 2021-10-15T17:55:17.343Z signalk-server:events:MiniPlex [ '$STALK,86,11,02,FD*4F' ] Oct 15 19:55:17 2021-10-15T17:55:17.344Z signalk-server:events:MiniPlex [ '$PSMDST,86,11,02,FD*03' ] Oct 15 19:55:17 2021-10-15T17:55:17.428Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:17 2021-10-15T17:55:17.524Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:17 2021-10-15T17:55:17.620Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:17 2021-10-15T17:55:17.924Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:18 2021-10-15T17:55:18.020Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:18 2021-10-15T17:55:18.022Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:18 2021-10-15T17:55:18.132Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.50,M,0.00,N,0.00,K*7C' ] Oct 15 19:55:18 2021-10-15T17:55:18.324Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:18 2021-10-15T17:55:18.420Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:18 2021-10-15T17:55:18.538Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:18 2021-10-15T17:55:18.628Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:18 2021-10-15T17:55:18.932Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:19 2021-10-15T17:55:19.028Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:19 2021-10-15T17:55:19.029Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:19 2021-10-15T17:55:19.124Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.50,M,0.00,N,0.00,K*7C' ] Oct 15 19:55:19 2021-10-15T17:55:19.332Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:19 2021-10-15T17:55:19.428Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:19 2021-10-15T17:55:19.524Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:19 2021-10-15T17:55:19.620Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:19 2021-10-15T17:55:19.924Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:20 2021-10-15T17:55:20.020Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:20 2021-10-15T17:55:20.021Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:20 2021-10-15T17:55:20.132Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.50,M,0.00,N,0.00,K*7C' ] Oct 15 19:55:20 2021-10-15T17:55:20.324Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:20 2021-10-15T17:55:20.420Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:20 2021-10-15T17:55:20.532Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:20 2021-10-15T17:55:20.627Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:20 2021-10-15T17:55:20.932Z signalk-server:events:MiniPlex [ '$HCHDG,65.50,,,0.00,E*1F' ] Oct 15 19:55:21 2021-10-15T17:55:21.028Z signalk-server:events:MiniPlex [ '$SDDPT,0.85,,*68' ] Oct 15 19:55:21 2021-10-15T17:55:21.030Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:21 2021-10-15T17:55:21.124Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.50,M,0.00,N,0.00,K*7C' ] Oct 15 19:55:21 2021-10-15T17:55:21.332Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:21 2021-10-15T17:55:21.428Z signalk-server:events:MiniPlex [ '$HCHDG,65.00,,,0.00,E*1A' ] Oct 15 19:55:21 2021-10-15T17:55:21.524Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:21 2021-10-15T17:55:21.620Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:21 2021-10-15T17:55:21.924Z signalk-server:events:MiniPlex [ '$HCHDG,65.00,,,0.00,E*1A' ] Oct 15 19:55:22 2021-10-15T17:55:22.020Z signalk-server:events:MiniPlex [ '$SDDPT,0.91,,*6D' ] Oct 15 19:55:22 2021-10-15T17:55:22.021Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:22 2021-10-15T17:55:22.132Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.00,M,0.00,N,0.00,K*79' ] Oct 15 19:55:22 2021-10-15T17:55:22.324Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:22 2021-10-15T17:55:22.420Z signalk-server:events:MiniPlex [ '$HCHDG,65.00,,,0.00,E*1A' ] Oct 15 19:55:22 2021-10-15T17:55:22.532Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:22 2021-10-15T17:55:22.628Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:22 2021-10-15T17:55:22.932Z signalk-server:events:MiniPlex [ '$HCHDG,65.00,,,0.00,E*1A' ] Oct 15 19:55:23 2021-10-15T17:55:23.027Z signalk-server:events:MiniPlex [ '$SDDPT,0.94,,*68' ] Oct 15 19:55:23 2021-10-15T17:55:23.029Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:23 2021-10-15T17:55:23.123Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.00,M,0.00,N,0.00,K*79' ] Oct 15 19:55:23 2021-10-15T17:55:23.331Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:23 2021-10-15T17:55:23.427Z signalk-server:events:MiniPlex [ '$HCHDG,65.00,,,0.00,E*1A' ] Oct 15 19:55:23 2021-10-15T17:55:23.523Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:23 2021-10-15T17:55:23.619Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:23 2021-10-15T17:55:23.923Z signalk-server:events:MiniPlex [ '$HCHDG,65.00,,,0.00,E*1A' ] Oct 15 19:55:24 2021-10-15T17:55:24.019Z signalk-server:events:MiniPlex [ '$SDDPT,0.91,,*6D' ] Oct 15 19:55:24 2021-10-15T17:55:24.021Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:24 2021-10-15T17:55:24.131Z signalk-server:events:MiniPlex [ '$VWVHW,,T,65.00,M,0.00,N,0.00,K*79' ] Oct 15 19:55:24 2021-10-15T17:55:24.323Z signalk-server:events:MiniPlex [ '$WIMTW,12.50,C*3B' ] Oct 15 19:55:24 2021-10-15T17:55:24.419Z signalk-server:events:MiniPlex [ '$HCHDG,64.50,,,0.00,E*1E' ] Oct 15 19:55:24 2021-10-15T17:55:24.531Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:24 2021-10-15T17:55:24.627Z signalk-server:events:MiniPlex [ '$WIMDA,,I,,B,,C,12.50,C,,,,,,T,,M,,N,,M*6F' ] Oct 15 19:55:24 2021-10-15T17:55:24.931Z signalk-server:events:MiniPlex [ '$HCHDG,64.50,,,0.00,E*1E' ] Oct 15 19:55:25 2021-10-15T17:55:25.027Z signalk-server:events:MiniPlex [ '$SDDPT,0.88,,*65' ] Oct 15 19:55:25 2021-10-15T17:55:25.029Z signalk-server:events:MiniPlex [ '$AGRSA,-2.00,A,,V*60' ] Oct 15 19:55:25 2021-10-15T17:55:25.123Z signalk-server:events:MiniPlex [ '$VWVHW,,T,64.50,M,0.00,N,0.00,K*7D' ]

@inspirity
Copy link

@EdKok Hi I have the same problem and configuration. ST1 Autopilot over a multiplex shipmodul. I see for ca. 2 seconds the autopilot data on the Plugin interface and then the no pilot response. The autopilot reacts to PUT commands but I'm not able to get a response. For now, I'm using node-red PUT module to access the autopilot and set the SK values separately, which is not a good solution. Where are you able to solve the problem?
Kind Regards

@EdKok
Copy link
Author

EdKok commented Jul 12, 2022

@inspirity I have stopped trying and built this instead: https://github.com/AK-Homberger/Seatalk-Autopilot-Remote-Control
Works very well. It is a small arduino directly connected to ST1 and a RF remote from AliExpress.
The forum is in German but I can help if needed; I'm Dutch but I can read most of it.

@inspirity
Copy link

@EdKok Thank you for your info. I will dive deeper into the signal plugin because I'm convinced there is a solution. Worst case, I will write my plugin for it.

@EdKok
Copy link
Author

EdKok commented Jul 15, 2022

Good luck and pls keep us posted. A PR would be great! I can test if you want.

@jprotzman
Copy link

@EdKok What firmware version of the Miniplex are you using? I had somewhat similar issues and found that at somepoint ShipModul updated the Miniplex PSMDST sentence to include a new column which is either R or C indicating receiving from or sending to SeaTalk. To handle this, I created a PR into this plugin as well as the https://github.com/SignalK/nmea0183-signalk.

I also found that the Miniplex only sends the PSMDST message for sentences that it does not convert to some other message type. To get it to send all SeaTalk datagrams as a PSMDST message you have to uncheck the Raw SeaTalk option then change the input to a NMEA input at 4800 baud, then re-check the Raw SeaTalk option.

@jandroamc
Copy link

jandroamc commented Apr 27, 2023

@jprotzman can you share screenshots of the configuration of your miniplex? I have all components, but not working. Thanks

@jprotzman
Copy link

@jandroamc Attached is my current Miniplex config export changed to .txt since GitHub does not allow .ini attachments. I am using firmware 3.6.3.

Also, I found that in the 3.14.0 firmware, I never received the PSMDST messages from the Miniplex like I should have. I reached out to the creator who said he found a bug in that code causing these messages to not work. I did not hear if that had been resolved and I see the latest version is still 3.14.0. I have just continued with 3.6.3 because it does everything I need.

MiniplexConfig.txt

@jandroamc
Copy link

jandroamc commented May 2, 2023

Thanks @jprotzman I prefer keep updated all the system. With the 3.16.2 I see the PSMDST messages. And I can write with the MPX Config the sentence: "PSMDST,C,86,11,01,FE" and works fine. But the plugin still not working...

@jprotzman
Copy link

@jandroamc I agree with staying with the newest firmware. I had only avoided it because it had some issues. I spoke with Miendert Sprang (the creator of Miniplex) about this issue a few days ago. He let me know that he had resolved it and make the update available.

As for you issue, I have two open PRs that have not been added to the core code. Without making these changes manually on your install, this will continue to not work.
Here is the PR for this plugin #25
Here is the PR for the nmea0183-signalk plugin SignalK/nmea0183-signalk#234

If you complete the same code changes that I have done in these PRs, it should start working correctly. I can confirm that it is working for me.

@jandroamc
Copy link

@jprotzman can you help me to do the changes manually? thanks

@jprotzman
Copy link

jprotzman commented May 25, 2023

@jandroamc This PR SignalK/nmea0183-signalk#234 has been merged into the normal branch so you can just install the latest version to get that part working.

For the PR into this plugin, you will have to modify the file raymarinest.js. You will find this code at line 74 and 74 of that file
app.emit(outputEvent, sentence) }

In between these lines, add this
var sentence = toSentence([ '$PSMDST', 'C', datagram ]) app.emit(outputEvent, sentence)

@jandroamc
Copy link

Thanks @jprotzman . I'm trying to send from node red the sentence in nmea 0183:
$PSMDST,C,86,11,01,FE
But nothing happen. I think must work. I'm connected by udp, maybe this is not right?
I have the signalk and node-red installed in a Cerbo GX. Maybe this can be a problem?
And can we discus this directly? Maybe email?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants