diff --git a/hydrobot_def.json b/hydrobot_def.json --- a/hydrobot_def.json +++ b/hydrobot_def.json @@ -40,11 +40,20 @@ }, { - "name" : "light", + "name" : "eco2", "type" : "input", "sensor_num" : "0", "functions" : [ - "ambient_light" + "air_eco2" + ] + + }, + { + "name" : "tvoc", + "type" : "input", + "sensor_num" : "0", + "functions" : [ + "air_tvoc" ] } @@ -232,7 +241,35 @@ "id" : "0x04", "name" : "protomodule", "display" : "ProtoModule", - "class" : "ProtoModule" + "class" : "ProtoModule", + "sensors" : [ + { + "name" : "ph", + "type" : "input", + "sensor_num" : "0", + "functions" : [ + "ph" + ] + + } + ] + }, + { + "id" : "0x05", + "name" : "lightsense", + "display" : "LightSense", + "class" : "LightSense", + "sensors" : [ + { + "name" : "light", + "type" : "input", + "sensor_num" : "0", + "functions" : [ + "ambient_light" + ] + + } + ] } ], "data_keys" : [ @@ -321,6 +358,18 @@ "units" : "pH" }, { + "key" : "0x000F", + "name" : "air_eco2", + "display" : "Air eCO2", + "units" : "ppm" + }, + { + "key" : "0x0010", + "name" : "air_tvoc", + "display" : "Air TVOC", + "units" : "ppb" + }, + { "key" : "0x0100", "name" : "can_id", "display" : "CAN ID",