node-red-contrib-vib-smart-boiler
Version:
Smart boiler node to control multiple thermostat
15 lines (12 loc) • 377 B
JavaScript
module.exports = function (RED) {
function SmartBoilerSettings(n) {
RED.nodes.createNode(this, n)
this.name = n.name
this.mqttHost = n.mqttHost
this.mqttPort = n.mqttPort
this.mqttUser = n.mqttUser
this.mqttPassword = n.mqttPassword
this.mqttRootPath = n.mqttRootPath
}
RED.nodes.registerType('smart-boiler-settings', SmartBoilerSettings)
}