node-red-contrib-kitra
Version:
kitra-com node-red module
33 lines (29 loc) • 1.12 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('mic_notification_catch',{
category: 'kitra input',
color: '#a6bbcf',
defaults: {
name: {value:""}
},
inputs:1,
outputs:3,
icon:"kitra.png",
label: function() {
return this.name||"mic_notification_catch";
}
});
</script>
<script type="text/x-red" data-template-name="mic_notification_catch">
<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>
</script>
<script type="text/x-red" data-help-name="mic_notification_catch">
<p>Mic notification. The corrisponding message is redirected to its output node:</p>
<ul>
<li>1)Read request response. Data is putted in<code> msg.angle </code></li>
<li>2)Source localicazion notification. Reiceved data is putted in<code> msg.angle </code></li>
<li>2)Sound level notification. Reiceved data is putted in<code> msg.level </code></li>
</ul>
</script>