mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
humidity, dewtemp as uint
This commit is contained in:
@@ -3978,8 +3978,8 @@ void Thermostat::register_device_values_hc(std::shared_ptr<Thermostat::HeatingCi
|
|||||||
// RC300 remote with humidity, this is also EMS_DEVICE_FLAG_RC100 for set_calinttemp
|
// RC300 remote with humidity, this is also EMS_DEVICE_FLAG_RC100 for set_calinttemp
|
||||||
if (device_id() >= 0x38 && device_id() <= 0x3F) {
|
if (device_id() >= 0x38 && device_id() <= 0x3F) {
|
||||||
register_device_value(tag, &hc->remotetemp, DeviceValueType::SHORT, FL_(div10), FL_(remotetemp), DeviceValueUOM::DEGREES);
|
register_device_value(tag, &hc->remotetemp, DeviceValueType::SHORT, FL_(div10), FL_(remotetemp), DeviceValueUOM::DEGREES);
|
||||||
register_device_value(tag, &hc->dewtemperature, DeviceValueType::INT, nullptr, FL_(dewTemperature), DeviceValueUOM::DEGREES);
|
register_device_value(tag, &hc->dewtemperature, DeviceValueType::UINT, nullptr, FL_(dewTemperature), DeviceValueUOM::DEGREES);
|
||||||
register_device_value(tag, &hc->humidity, DeviceValueType::INT, nullptr, FL_(airHumidity), DeviceValueUOM::PERCENT);
|
register_device_value(tag, &hc->humidity, DeviceValueType::UINT, nullptr, FL_(airHumidity), DeviceValueUOM::PERCENT);
|
||||||
register_device_value(
|
register_device_value(
|
||||||
tag, &ibaCalIntTemperature_, DeviceValueType::INT, FL_(div10), FL_(ibaCalIntTemperature), DeviceValueUOM::DEGREES_R, MAKE_CF_CB(set_calinttemp));
|
tag, &ibaCalIntTemperature_, DeviceValueType::INT, FL_(div10), FL_(ibaCalIntTemperature), DeviceValueUOM::DEGREES_R, MAKE_CF_CB(set_calinttemp));
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -84,8 +84,8 @@ class Thermostat : public EMSdevice {
|
|||||||
uint8_t climate;
|
uint8_t climate;
|
||||||
uint8_t switchonoptimization;
|
uint8_t switchonoptimization;
|
||||||
uint8_t statusbyte; // from RC300monitor
|
uint8_t statusbyte; // from RC300monitor
|
||||||
int8_t humidity;
|
uint8_t humidity;
|
||||||
int8_t dewtemperature;
|
uint8_t dewtemperature;
|
||||||
|
|
||||||
// RC 10
|
// RC 10
|
||||||
uint8_t reducehours; // night reduce duration
|
uint8_t reducehours; // night reduce duration
|
||||||
|
|||||||
Reference in New Issue
Block a user