Added constants for heat modes
This commit is contained in:
14
README.md
14
README.md
@ -495,7 +495,12 @@ Passed as an argument to the emitted `heatModeChanged` event. The passed version
|
||||
* `controllerId` - integer indicating the ID of the controller to send this command to.
|
||||
* Note that while `SLControllerConfigMessage` includes a controllerId, this ID, in my experience, should always be 0.
|
||||
* `bodyType` - integer indicating the type of body to set the setpoint of. The pool is body `0` and the spa is body `1`.
|
||||
* `heatMode` - integer indicating the desired heater mode. Valid values are: 0: "Off", 1: "Solar", 2 : "Solar Preferred", 3 : "Heat Pump", 4: "Don't Change"
|
||||
* `heatMode` - integer indicating the desired heater mode. Valid values are:
|
||||
* ScreenLogic.HEAT_MODE_OFF
|
||||
* ScreenLogic.HEAT_MODE_SOLAR
|
||||
* ScreenLogic.HEAT_MODE_SOLARPREFERRED
|
||||
* ScreenLogic.HEAT_MODE_HEATPUMP
|
||||
* ScreenLogic.HEAT_MODE_DONTCHANGE
|
||||
|
||||
## SLLightControlMessage
|
||||
|
||||
@ -579,7 +584,12 @@ Passed as an argument to the emitted `setScheduleEventById` event. Configures an
|
||||
* `flags`
|
||||
* bit 0 is the schedule type, if 0 then regular event, if 1 its a run-once
|
||||
* bit 1 indicates whether heat setPoint should be changed
|
||||
* `heatCmd` - integer indicating the desired heater mode. Valid values are: 0: "Off", 1: "Solar", 2 : "Solar Preferred", 3 : "Heat Pump", 4: "Don't Change"
|
||||
* `heatCmd` - integer indicating the desired heater mode. Valid values are:
|
||||
* ScreenLogic.HEAT_MODE_OFF
|
||||
* ScreenLogic.HEAT_MODE_SOLAR
|
||||
* ScreenLogic.HEAT_MODE_SOLARPREFERRED
|
||||
* ScreenLogic.HEAT_MODE_HEATPUMP
|
||||
* ScreenLogic.HEAT_MODE_DONTCHANGE
|
||||
* `heatSetPoint` - the temperature set point if heat is to be changed (ignored if bit 1 of flags is 0)
|
||||
|
||||
## SLSetCircuitRuntimeById
|
||||
|
5
index.js
5
index.js
@ -389,6 +389,11 @@ module.exports = {
|
||||
LIGHT_CMD_COLOR_RED: 15,
|
||||
LIGHT_CMD_COLOR_WHITE: 16,
|
||||
LIGHT_CMD_COLOR_PURPLE: 17,
|
||||
HEAT_MODE_OFF: 0,
|
||||
HEAT_MODE_SOLAR: 1,
|
||||
HEAT_MODE_SOLARPREFERRED: 2,
|
||||
HEAT_MODE_HEATPUMP: 3,
|
||||
HEAT_MODE_DONTCHANGE: 4,
|
||||
PUMP_TYPE_INTELLIFLOVF: 1,
|
||||
PUMP_TYPE_INTELLIFLOVS: 2,
|
||||
PUMP_TYPE_INTELLIFLOVSF: 3,
|
||||
|
Reference in New Issue
Block a user