Added Content
This commit is contained in:
32
http-domo-out/hoOnOffConv.html
Normal file
32
http-domo-out/hoOnOffConv.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('http-domo-out-onoff',{
|
||||
category: 'Domoticz HTTP Output Formater',
|
||||
color: '#00b0e2',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
idx: {value:""}
|
||||
},
|
||||
paletteLabel:"HTTP Output On/Off converter",
|
||||
inputs:1,
|
||||
outputs:1,
|
||||
icon: "domo.png",
|
||||
label: function() {
|
||||
return this.name||"HTTP Output On/Off converter";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="http-domo-out-onoff">
|
||||
<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-idx"><i class="icon-tag"></i> IDX</label>
|
||||
<input type="number" id="node-input-idx" placeholder="IDX">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-help-name="http-domo-out-onoff">
|
||||
<p>A node that converts msg.paylod true/false to domoticz on/off</p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user