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
SK PUT command, watch alarm.
#1
Here's the situation;

I have an old autohelm autopilot which has a 4min interval "watch" alarm which cannot be disabled. This alarm propagates through my entire ST1, STng and openplotter/SignalK network, including into my Raymarine P70r (STng/N2k) autopilot interface. Very annoying... Note, the P70r (STng/N2k) control head DOES control the old ST1 autopilot.

Though a Raymarine ST1 - STng adapter and into a CAN hat on my Rpi, this shows up in SignalK as:

notifications.instrument.PilotLastMinuteOfWatch

{
  "message": "Pilot Last Minute Of Watch",
  "method": [
     "visual"
],
  "state": "alarm",
  "timestamp": " xxxx "
}

When cancelled via the autopilot interface, the SignalK state changes to "normal" and timestamp to the current time.

I'd like to run a nodered flow (or similar) to constantly update the time stamp to the current time thus keeping the alarm from ever being triggered. Failing that, to detect the alarm state change and update it from "alarm" to "normal" along with the current time stamp.

Only thing I don't know is if SignalK value will propagate this back into the N2k network. If not, then I'll be looking for a way to send the original N2k message to clear the alarm on a schedule.

Any assistance on this would be amazing, I understand the basics of nodered, but the specific coding has eluded me this far.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)