-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support altherma with refactor 2 multiple accessories #43
Support altherma with refactor 2 multiple accessories #43
Conversation
* main: Update daikin-controller-cloud # Conflicts: # package.json
* main: Fix vulnerabilities Fix vulnerabilities Fix vulnerabilities Update npm-publish.yml Create npm-publish.yml # Conflicts: # package.json
minStep: this.accessory.context.device.getData('climateControl', 'temperatureControl', '/operationModes/cooling/setpoints/roomTemperature').minStep, | ||
minValue: this.accessory.context.device.getData('climateControl', 'temperatureControl', '/operationModes/cooling/setpoints/roomTemperature').minValue, | ||
maxValue: this.accessory.context.device.getData('climateControl', 'temperatureControl', '/operationModes/cooling/setpoints/roomTemperature').maxValue, | ||
minStep: accessory.context.device.getData('climateControl', 'temperatureControl', '/operationModes/cooling/setpoints/roomTemperature').minStep, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello 👋
This doesn't work if device is configured for control mode: "leavingWaterTemperature":
"controlMode": {
"settable": false,
"requiresReboot": false,
"value": "leavingWaterTemperature",
"values": [
"leavingWaterTemperature",
"externalRoomTemperature",
"roomTemperature"
]
},
--
I think figuring out setpoints paths should be done dynamically based on control mode.
Also for "leavingWaterTemperature" setpoint paths are different and set via "leavingWaterOffset":
"temperatureControl": {
"/operationModes/auto/setpoints/leavingWaterOffset": {
"settable": true,
"requiresReboot": false,
"value": 0,
"maxValue": 10,
"minValue": -10,
"stepValue": 1
},
"/operationModes/heating/setpoints/leavingWaterOffset": {
"settable": true,
"requiresReboot": false,
"value": 0,
"maxValue": 10,
"minValue": -10,
"stepValue": 1
},
"/operationModes/cooling/setpoints/leavingWaterTemperature": {
"settable": true,
"requiresReboot": false,
"value": 20,
"maxValue": 22,
"minValue": 5,
"stepValue": 1
}
}
It also applies to sensory data readout:
"sensoryData": {
"/leavingWaterTemperature": {
"settable": false,
"requiresReboot": false,
"value": 29,
"maxValue": 127,
"minValue": -127,
"stepValue": 1
}
},
No description provided.