Added Content
This commit is contained in:
32
mqtt-domo-in/miTempConv.html
Normal file
32
mqtt-domo-in/miTempConv.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('mqtt-domo-in-temp',{
|
||||
category: 'Domoticz MQTT Input Formater',
|
||||
color: '#00b0e2',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
sname: {value:""}
|
||||
},
|
||||
paletteLabel:"MQTT In Temperature converter",
|
||||
inputs:1,
|
||||
outputs:1,
|
||||
icon: "domo.png",
|
||||
label: function() {
|
||||
return this.name||"MQTT In Temperature converter";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="mqtt-domo-in-temp">
|
||||
<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> Sensor name</label>
|
||||
<input type="text" id="node-input-sname" placeholder="Sensor name">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-help-name="mqtt-domo-in-temp">
|
||||
<p>A node that converts domoticz svalue1 to msg.payload and adds a confiurable topic for use with dashboad graph</p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user