[solved] Error setting "thermostat setpoint" and invalid maximum value.
Posted: 18 May 2022 12:45
I have UZB, Z-Way for Windows and Z-Uno2. In Z-Uno I have uploaded a simplified code for problem analysis:
After include Z-Uno to Z-Way. Changing the "thermostat mode" works fine but when I try to set the temperature "thermostat setpoint" from a browser with the address http://localhost:8083/expert/#/control/thermostat an error pops up:
In addition, there is an invalid maximum value for ThermostatSetPoint in the CommandClass that this z-uno handles:
What should I do to make it work?
Code: Select all
ZUNO_SETUP_CHANNELS(
ZUNO_THERMOSTAT(THERMOSTAT_FLAGS_OFF|THERMOSTAT_FLAGS_HEAT|THERMOSTAT_FLAGS_COOL,
THERMOSTAT_UNITS_CELSIUS,
THERMOSTAT_RANGE_POS,
3,
getterThermostatMode, setterThermostatMode, getterThermostatTemp, setterThermostatTemp)
);
void setup() {
// put your setup code here, to run once:
Serial.begin();
Serial.println("start");
delay(5*1000);
}
void loop() {
// put your main code here, to run repeatedly:
delay(1000);
}
byte getterThermostatMode() {
Serial.println("getterThermostatMode");
return 0;
}
void setterThermostatMode(byte thermostatMode) {
Serial.println("setterThermostatMode");
}
word getterThermostatTemp(byte thermostatMode) {
Serial.println("getterThermostatTemp");
return 200;
}
void setterThermostatTemp(byte thermostatMode, word thermostatTemp) {
Serial.println("setterThermostatTemp");
}
Code: Select all
Z-Wave Expert UI - ERROR
Unable to update data. devices[40].instances[0].commandClasses[67].Set(1,20.5)
Code: Select all
CommandClass
/: None (10:59)
1: None (10:59)
val: 20 (10:59)
scale: 0 (10:59)
scaleString: °C (10:59)
setVal: 20 (10:59)
modeName: Heating (10:59)
deviceScale: 0 (10:59)
deviceScaleString: °C (10:59)
min: 0 (10:59)
max: -0.1 (10:59)
2: None (10:59)
val: 20 (10:59)
scale: 0 (10:59)
scaleString: °C (10:59)
setVal: 20 (10:59)
modeName: Cooling (10:59)
deviceScale: 0 (10:59)
deviceScaleString: °C (10:59)
min: 0 (10:59)
max: -0.1 (10:59)
supported: true (10:59)
version: 3 (10:59)
security: true (10:59)
interviewDone: true (10:59)
interviewCounter: 9 (10:59)
modemask: 6 (10:59)