diff --git a/esp32/include/HomieTypes.h b/esp32/include/HomieTypes.h index 95efe6a..81d505c 100644 --- a/esp32/include/HomieTypes.h +++ b/esp32/include/HomieTypes.h @@ -54,11 +54,11 @@ static const char *SENSOR_STRING[] = { */ #define PLANTSTATE_NUM_DEACTIVATED 0xF000 #define PLANTSTATE_NUM_NO_SENSOR 0xE000 -#define PLANTSTATE_NUM_WET 0x0F00 +#define PLANTSTATE_NUM_WET 0x0100 #define PLANTSTATE_NUM_SUNNY_ALARM 0x0021 -#define PLANTSTATE_NUM_ACTIVE_ALARM 0x0011 +#define PLANTSTATE_NUM_ACTIVE_ALARM 0x0201 #define PLANTSTATE_NUM_ACTIVE_SUPESSED 0x001F -#define PLANTSTATE_NUM_ACTIVE 0x0010 +#define PLANTSTATE_NUM_ACTIVE 0x0200 #define PLANTSTATE_NUM_SUNNY 0x0020 #define PLANTSTATE_NUM_COOLDOWN_ALARM 0x0031 #define PLANTSTATE_NUM_COOLDOWN 0x0030