UNPKG

node-red-contrib-bacnet

Version:

The BACnet toolbox package for Node-RED from the P4NR B2B Community.

24 lines (23 loc) 2.04 kB
<!-- The MIT License Copyright (c) 2017,2018,2019,2020,2021,2022,2023,2024 Klaus Landsdorf (http://plus4nodered.com/) All rights reserved. node-red-contrib-bacnet --> <script type='text/javascript'> RED.nodes.registerType("BACnet-Client",{category:"config",defaults:{name:{value:""},adpuTimeout:{value:0},port:{value:0},interface:{value:""},broadcastAddress:{value:""}},label:function(){return this.name||"BACnet Client"}}) </script> <script type='text/x-red' data-template-name='BACnet-Client'> <div class='form-row'> <label for='node-config-input-name'><i class='icon-tag'></i> <span data-i18n='node-red:common.label.name'></span></label> <input type='text' id='node-config-input-name' placeholder=''> </div> <div class='form-row'> <label for='node-config-input-interface'><i class='icon-tag'></i> <span data-i18n='bacnet-contrib.label.interface'></span></label> <input type='text' id='node-config-input-interface' placeholder='127.0.0.1'> </div> <div class='form-row'> <label for='node-config-input-broadcastAddress'><i class='icon-tag'></i> <span data-i18n='bacnet-contrib.label.broadcastAddress'></span></label> <input type='text' id='node-config-input-broadcastAddress' placeholder='127.0.0.255'> </div> <div class='form-row'> <label for='node-config-input-port'><i class='icon-tag'></i> <span data-i18n='bacnet-contrib.label.port'></span></label> <input type='text' id='node-config-input-port' placeholder='47808'> </div> <div class='form-row'> <label for='node-config-input-adpuTimeout'><i class='icon-tag'></i> <span data-i18n='bacnet-contrib.label.adpuTimeout'></span> </label> <input type='text' id='node-config-input-adpuTimeout' placeholder='6000'> </div> </script> <script type='text/x-red' data-help-name='BACnet-Client'> <h2>BACnet Client node</h2> <h3>BETA</h3> <a href='https://fh1ch.github.io/node-bacstack/' target='_blank'>API Docs</a> The client sends the whoIs and holds devices listed from iAm event in node.devices. It is the communication node for the BACnet read, write and command nodes. </script>