-
Notifications
You must be signed in to change notification settings - Fork 2
/
signalk-send-nmea2000.html
38 lines (36 loc) · 1.36 KB
/
signalk-send-nmea2000.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<script type="text/javascript">
RED.nodes.registerType('signalk-send-nmea2000',{
category: 'Signal K',
color: '#ffcc01',
defaults: {
name: {value:""},
nmea2000Event: {value: "nmea2000out"},
nmea2000JsonEvent: {value: "nmea2000JsonOut"}
},
inputs:1,
outputs:0,
icon: "bridge.png",
align: 'right',
label: function() {
return this.name||"signalk-send-nmea2000";
},
paletteLabel: 'send NMEA2000'
});
</script>
<script type="text/x-red" data-template-name="signalk-send-nmea2000">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-nmea2000Event"><i class="icon-tag"></i> NMEA2000 Event</label>
<input type="text" id="node-input-nmea2000Event" placeholder="NMEA2000 Event">
</div>
<div class="form-row">
<label for="node-input-nmea2000JsonEvent"><i class="icon-tag"></i> NMEA2000 Json Event</label>
<input type="text" id="node-input-nmea2000JsonEvent" placeholder="NMEA2000 Json Event">
</div>
</script>
<script type="text/x-red" data-help-name="signalk-send-nmea2000">
<p>Output that sends out NMEA 2000 messages. Input payload can be canboat json format or a raw Actisense formatted string </p>
</script>