From ca8ed2d1a52545e4034354c4bb2680440f0d7d00 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 10 Oct 2024 21:24:04 +0100 Subject: [PATCH] added DeviceTypeUniqueID for Dashboard --- src/emsdevice.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/emsdevice.h b/src/emsdevice.h index b217f1e23..0c801d443 100644 --- a/src/emsdevice.h +++ b/src/emsdevice.h @@ -346,6 +346,15 @@ class EMSdevice { IVT // 13 }; + // Unique Identifiers for each Device type, used in Dashboard table + // 100 and above is reserved for DeviceType + enum DeviceTypeUniqueID : uint8_t { + SCHEDULER_UID = 96, + ANALOGSENSOR_UID = 97, + TEMPERATURESENSOR_UID = 98, + CUSTOM_UID = 99 // always 99 + }; + enum DeviceType : uint8_t { SYSTEM = 0, // this is us (EMS-ESP) TEMPERATURESENSOR, // for internal temperature sensors