node-red-contrib-yale-alarm
Version:
Integration to Yale Alarm System. This (1st) release just does basic get/set but planning to provide richer set in next version
31 lines (28 loc) • 1.05 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('get-state', {
category: 'Yale Alarm',
color: '#FFDE1E',
defaults: {
yaleConfig: {value: "", type: "yale-config"},
name: {value: ""}
},
inputs: 1,
outputs: 1,
icon: "icons/yale.png",
label: function () {
return this.name || "get state";
}
});
</script>
<script type="text/x-red" data-template-name="get-state">
<div class="form-row">
<label for="node-input-yaleConfig"><i class="icon-tag"></i> Yale Account</label>
<input type="text" id="node-input-yaleConfig" placeholder="Name">
</div>
</script>
<script type="text/html" data-help-name="get-state">
<p>A node that can retrieve data and send commands to a Yale Alarm account - linked to a smart alarm.</p>
<h2>Input:</h2>
<p>We need a username/password and will use those to obtain a token so we can communicate with the API</p>
<p>The API is not formally published/supported</p>
</script>