UNPKG

node-red-contrib-ocpp

Version:

A set of nodes to communicate via OCPP to a compatible charge box or central system

49 lines (41 loc) 1.67 kB
<script type="text/javascript"> RED.nodes.registerType('ocpp-remote-cs', { category: 'config', defaults: { name: {value: "", required: false}, // cbId: {value: "", required:true}, url: {value: "", required: true} }, label: function() { return this.name || this.cbId || "OCPP Reqest"; } }); </script> <script type="text/x-red" data-template-name="ocpp-remote-cs"> <!-- <div class="form-row"> <label for="node-config-input-cbId"><i class="icon-bookmark"></i> Charge Box ID</label> <input type="text" id="node-config-input-cbId" placeholder="Enter the ChargeBox Id" width="80" /> </div> --> <div class="form-row"> <label for="node-config-input-url"><i class="icon-bookmark"></i> URL</label> <input type="text" id="node-config-input-url" /> </div> <div class="form-row"> <label for="node-config-input-name"><i class="icon-bookmark"></i> Name</label> <input type="text" id="node-config-input-name" placeholder="Setup name (defaults to ChargeBox ID" /> </div> </script> <script type="text/x-red" data-help-name="ocpp-remote-cs"> <p>Configures the target EVSE</p> <h3>Configuration settings</h3> <dl> <dt>Charge Box ID:</dt> <dd>String identifying the Charge Box</dd> <dt>URL:</dt> <dd>The complete URL (including port if needed) of the Charge Box</dd> <dt>OCPP Ver:</dt> <dd>Indicate if the target EVSE is OCPP SOAP 1.5 or 1.6 compatible.</dd> <dt>Name:</dt> <dd>Name displayed in Node Red workspace</dd> </dl> </script>