mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
RC100H emulation version and telegrams
This commit is contained in:
@@ -29,6 +29,9 @@ class Roomctrl {
|
||||
static void set_remotetemp(const uint8_t type, const uint8_t hc, const int16_t temp);
|
||||
static void set_remotehum(const uint8_t type, const uint8_t hc, const int8_t hum);
|
||||
enum : uint8_t { RC20 = 113, FB10 = 109, RC100H = 200, SENSOR = 0x40, RC200 = 157 };
|
||||
static bool is_remote(const uint8_t hc) {
|
||||
return (hc < 4 && remotetemp_[hc] != EMS_VALUE_SHORT_NOTSET);
|
||||
}
|
||||
|
||||
private:
|
||||
static constexpr uint8_t ADDR = 0x18; // address for hc1
|
||||
|
||||
Reference in New Issue
Block a user