diff --git a/firmware/esp32/include/config.h b/firmware/esp32/include/config.h index 895c7d2..ee335cb 100644 --- a/firmware/esp32/include/config.h +++ b/firmware/esp32/include/config.h @@ -14,7 +14,13 @@ #define MQTT_USER "your_username" #define MQTT_PASS "your_password" -// Hardware +#define CMD_GET_MOISTURE 0x01 +#define CMD_GET_SENSOR_READS 0x02 +#define CMD_GET_MOISTURE_MIN 0x03 +#define CMD_GET_MOISTURE_MAX 0x04 +#define CMD_SET_SENSOR_READS 0x05 // [cmd, value] +#define CMD_SET_PARAMS 0x06 // [cmd, min, max, reads] +#define CMD_FORCE_PUMP 0x07 // [cmd] // Change based on how many vases max to manage [1 to ~100] // larger numberss will require larger arrays stored in memory