From 8f08db4d4b45696e9ebf8a2f55c3a1e943171d57 Mon Sep 17 00:00:00 2001 From: mboyer85 Date: Wed, 27 Jan 2016 18:23:09 +0100 Subject: [PATCH] Adding Water Quality For pool/aquarium water management --- libraries/MySensors/core/MyMessage.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/MySensors/core/MyMessage.h b/libraries/MySensors/core/MyMessage.h index 2d7b96f..09839d7 100644 --- a/libraries/MySensors/core/MyMessage.h +++ b/libraries/MySensors/core/MyMessage.h @@ -92,6 +92,7 @@ typedef enum { S_INFO, // LCD text device / Simple information device on controller, V_TEXT S_GAS, // Gas meter, V_FLOW, V_VOLUME S_GPS, // GPS Sensor, V_POSITION + S_WATER_QUALITY,// V_TEMP, V_PH, V_ORP, V_EC, V_STATUS } mysensor_sensor; /// @brief Type of sensor data (for set/req/ack messages) @@ -154,6 +155,9 @@ typedef enum { V_CUSTOM, // Custom messages used for controller/inter node specific commands, preferably using S_CUSTOM device type. V_POSITION, // GPS position and altitude. Payload: latitude;longitude;altitude(m). E.g. "55.722526;13.017972;18" V_IR_RECORD // Record IR codes S_IR for playback + V_PH, // S_WATER_QUALITY, water PH + V_ORP, // S_WATER_QUALITY, water ORP : redox potential in mV + V_EC,// S_WATER_QUALITY, water electric conductivity μS/cm (microSiemens/cm) } mysensor_data; @@ -336,4 +340,4 @@ uint8_t array[HEADER_SIZE + MAX_PAYLOAD + 1]; #endif #endif -/** @}*/ \ No newline at end of file +/** @}*/