Added Content
This commit is contained in:
37
mqtt-domo-in/miBrightConv.html
Normal file
37
mqtt-domo-in/miBrightConv.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('mqtt-domo-in-bright',{
|
||||
category: 'Domoticz MQTT Input Formater',
|
||||
color: '#00b0e2',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
Savetocontex: {value: false},
|
||||
idx: {value:""}
|
||||
},
|
||||
paletteLabel:"MQTT In Brightness converter",
|
||||
inputs:1,
|
||||
outputs:1,
|
||||
icon: "domo.png",
|
||||
label: function() {
|
||||
return this.name||"MQTT In Brightness converter";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="mqtt-domo-in-bright">
|
||||
<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-Savetocontex"><i class="icon-tag"></i> Save to context database</label>
|
||||
<input type="checkbox" id="node-input-Savetocontex" >
|
||||
</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="mqtt-domo-in-bright">
|
||||
<p>A node that converts domoticz level to msg.payload and stores to context db</p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user