Originally posted by rjh
View Post
Man, I get everybody is busy. Me too, you know. |
Announcement
Collapse
No announcement yet.
Device layout to display properly in HS Mobile?
Collapse
X
-
That ccs_Type is the setpoint sub type:
Public Enum eDeviceSubType_Setpoint
Invalid = 0
Heating_1 = 1
Cooling_1 = 2
Furnace = 7
Dry_Air = 8
Moist_Air = 9
Auto_Changeover = 10
Energy_Save_Heat = 11
Energy_Save_Cool = 12
Away_Heating = 13
End Enum
Originally posted by alexbk66 View Post
I looked at Z-Wave code too, what I couldn't work out, which is an important bit.
Code:DT.Device_SubType = CI.ccs_Type
Code:public byte ccs_Type { get { return mvarSomeType; } }
Comment
-
The error is an exception, here is the function:
public void HeatSetPointUpClicked(IThermostatView view) {
if (HeatSetPointDevice == null) {
return;
}
try {
var newValue = HeatSetPointDevice.ChangeValue(true);
view?.SetHeatSetPointText(HeatSetPoint);
view?.QueueSetPointChange(new ThermostatSetPointChangeEventArgs(HeatSetPointDeviceRef, newValue));
}
catch (Exception exception) {
exception.Log();
view?.ShowError("Cannot control thermostat. There is a problem with the set-point control configuration.");
}
}
Originally posted by alexbk66 View Post
Thank you Rich rjh .
What "Sample Plugin" do you mean?
Regarding the error I'm getting "Cannot control thermostat. There is a problem with the set-point control configuration." - Can you please check in your code when it's displayed? May be this will give some clue. But I don't think it's related to "moving all your controls to child devices" in any way.
Comment
-
Ok, that is odd, but that makes it easy for me to recreate the issue, so let me run that plugin and see what is going on.
Originally posted by alexbk66 View PostUsing your sample plugin I get the same error, so for you it should be easy to find why?
Comment
-
The problem is the "ControlUse" is not set, make sure you set that on your control pairs for the heat and cool setpoints. Which you need to do anyway if you want your thermostat to work with Google Home or Alexa:
Pair.ControlUse = ePairControlUse._HeatSetPoint
Originally posted by alexbk66 View PostUsing your sample plugin I get the same error, so for you it should be easy to find why?
Comment
Comment