RC100H emulation version and telegrams

This commit is contained in:
MichaelDvP
2024-02-08 18:51:45 +01:00
parent 4f406e8d33
commit 119b2b9514
3 changed files with 20 additions and 6 deletions

View File

@@ -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