mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
added DeviceTypeUniqueID for Dashboard
This commit is contained in:
@@ -346,6 +346,15 @@ class EMSdevice {
|
|||||||
IVT // 13
|
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 {
|
enum DeviceType : uint8_t {
|
||||||
SYSTEM = 0, // this is us (EMS-ESP)
|
SYSTEM = 0, // this is us (EMS-ESP)
|
||||||
TEMPERATURESENSOR, // for internal temperature sensors
|
TEMPERATURESENSOR, // for internal temperature sensors
|
||||||
|
|||||||
Reference in New Issue
Block a user