Added ability to specify mode used to enable the heater
This commit is contained in:
@ -14,7 +14,7 @@ A <a href="https://github.com/MichMich/MagicMirror">MagicMirror²</a> module use
|
||||
|`colored`|Boolean|Whether you'd like colored output or not.|`true`|
|
||||
|`columns`|Integer|How many columns to use to display the data before starting a new row.|`3`|
|
||||
|`contentClass`|String|The CSS class used to display content values (beneath the header).|`"light"`|
|
||||
|`controls`|Array|List of controls to show buttons for. Must also set `showControls` to `true`.<br><br>Each entry in this list is an object with a `type` property and a `name` to display.<br><br>Valid `type`s:<br>`circuit` - toggle a circuit on or off. Must also have an `id` property defining the circuit ID to set (see [node-screenlogic](https://github.com/parnic/node-screenlogic) documentation for circuit IDs). `name` is optional; if not specified, the name of the equipment in the ScreenLogic system will be used.<br>`heatmode` - enable or disable the heater for the pool or spa. Must also have a `body` property that defines which body to toggle the heater for (`0` is the pool, `1` is the spa)<br>`heatpoint` - set the heat temperature for the pool or spa. Must also have a `body` property that defines which body to set the heat point for (`0` is the pool, `1` is the spa)|`[]`|
|
||||
|`controls`|Array|List of controls to show buttons for. Must also set `showControls` to `true`.<br><br>Each entry in this list is an object with a `type` string property and a `name` string to display.<br><br>Valid `type`s:<br>`"circuit"` - toggle a circuit on or off. Must also have an `id` number property defining the circuit ID to set (see [node-screenlogic](https://github.com/parnic/node-screenlogic) documentation for circuit IDs). `name` is an optional string; if not specified, the name of the equipment in the ScreenLogic system will be used.<br>`"heatmode"` - enable or disable the heater for the pool or spa. Must also have a `body` number property that defines which body to toggle the heater for (`0` is the pool, `1` is the spa). Can optionally have a `heatMode` number property that defines which heat mode to set; if not present, defaults to 3 ("heat pump").<br>`"heatpoint"` - set the heat temperature for the pool or spa. Must also have a `body` number property that defines which body to set the heat point for (`0` is the pool, `1` is the spa)|`[]`|
|
||||
|`hotTemp`|Integer|Show the temperature colored red if it's at or above this level for pool/spa (requires option `colored`). This is in whatever scale your system is set to (Fahrenheit/Celsius).|`90`|
|
||||
|`serverAddress`|String|The IPv4 address of a ScreenLogic unit to connect to. If not set, the system will search for a unit to connect to. If set, `serverPort` must also be set.| |
|
||||
|`serverPort`|Integer|The port of a ScreenLogic unit to connect to (usually 80). If not set, the system will search for a unit to connect to. If set, `serverAddress` must also be set.| |
|
||||
@ -43,7 +43,8 @@ Here is an example of an entry in config.js
|
||||
{type: 'circuit', id: 500},
|
||||
{type: 'circuit', id: 505, name: 'Pool'},
|
||||
{type: 'heatmode', body: 0, name: 'Pool heater'},
|
||||
{type: 'heatpoint', body: 0, name: 'Pool'}
|
||||
{type: 'heatpoint', body: 0, name: 'Pool'},
|
||||
{type: 'heatmode', body: 1, heatMode: 2, name: 'Spa heater'},
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user