Thermostat.SetpointRaiseLowerCommand takes an Amount parameter, which is a signed byte indicating the temperature up or down in tenths of centigrade.
This throws an exception:
at System.Convert.ThrowByteOverflowException()
at System.SByte.System.IConvertible.ToByte(IFormatProvider provider)
at <StartupCode$FSI_0012>.$FSI_0012.main@()
I've changed DefaultSerializer to handle signed integers separately from unsigned integers.
Thermostat.SetpointRaiseLowerCommand
takes an Amount parameter, which is a signed byte indicating the temperature up or down in tenths of centigrade.This throws an exception:
I've changed
DefaultSerializer
to handle signed integers separately from unsigned integers.Tested with a Sinope thermostat.