Files @ 195dbcc38137
Branch filter:

Location: HydroBot/hydrobot-software/hydrobot_def.json - annotation

matthewreed
Working on alerts - loading alerts from config and alert objects
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
b433eae633b8
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
b433eae633b8
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
25926382c27b
{
    "devices" : [
        {
            "id" : "0x00",
            "name" : "master",
            "display" : "Master",
            "class" : "None"
        },
        {
            "id" : "0x01",
            "name" : "airsense",
            "display" : "AirSense",
            "class" : "AirSenseModule",
            "sensors" : [
                {
                    "name" : "temp",
                    "type" : "input",
                    "sensor_num" : "0",
                    "functions" : [
                        "air_temp"
                    ]
                    
                },
                {
                    "name" : "humidity",
                    "type" : "input",
                    "sensor_num" : "0",
                    "functions" : [
                        "air_humidity"
                    ]
                    
                },
                {
                    "name" : "pressure",
                    "type" : "input",
                    "sensor_num" : "0",
                    "functions" : [
                        "air_pressure"
                    ]
                    
                },
                {
                    "name" : "light",
                    "type" : "input",
                    "sensor_num" : "0",
                    "functions" : [
                        "ambient_light"
                    ]
                    
                }
            ]
        },
        {
            "id" : "0x02",
            "name" : "relaydrive",
            "display" : "RelayDrive",
            "class" : "RelayDriveModule",
            "sensors" : [
                {
                    "name" : "input_1",
                    "type" : "input",
                    "sensor_num" : "1",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_2",
                    "type" : "input",
                    "sensor_num" : "2",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_3",
                    "type" : "input",
                    "sensor_num" : "3",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_4",
                    "type" : "input",
                    "sensor_num" : "4",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_5",
                    "type" : "input",
                    "sensor_num" : "5",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_6",
                    "type" : "input",
                    "sensor_num" : "6",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_7",
                    "type" : "input",
                    "sensor_num" : "7",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "input_8",
                    "type" : "input",
                    "sensor_num" : "8",
                    "functions" : [
                        "digital_in",
                        "freq_in"
                    ]
                },
                {
                    "name" : "output_1",
                    "type" : "output",
                    "sensor_num" : "1",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_2",
                    "type" : "output",
                    "sensor_num" : "2",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_3",
                    "type" : "output",
                    "sensor_num" : "3",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_4",
                    "type" : "output",
                    "sensor_num" : "4",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_5",
                    "type" : "output",
                    "sensor_num" : "5",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_6",
                    "type" : "output",
                    "sensor_num" : "6",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_7",
                    "type" : "output",
                    "sensor_num" : "7",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                },
                {
                    "name" : "output_8",
                    "type" : "output",
                    "sensor_num" : "8",
                    "functions" : [
                        "digital_out",
                        "pwm_out"
                    ]
                }
            ]
        },
        {
            "id" : "0x03",
            "name" : "watersense",
            "display" : "WaterSense",
            "class" : "WaterSenseModule",
            "sensors" : [
                {
                    "name" : "temp",
                    "type" : "input",
                    "sensor_num" : "0",
                    "functions" : [
                        "water_temp"
                    ]
                    
                },
                {
                    "name" : "level",
                    "type" : "input",
                    "sensor_num" : "0",
                    "functions" : [
                        "water_level"
                    ]
                    
                }
            ]
        },
        {
            "id" : "0x04",
            "name" : "protomodule",
            "display" : "ProtoModule",
            "class" : "ProtoModule"
        }
    ],
    "data_keys" : [
        {
            "key" : "0x0001",
            "name" : "digital_in",
            "display" : "Digital Input",
            "units" : "bool"
        },
        {
            "key" : "0x0002",
            "name" : "freq_in",
            "display" : "Frequency Input",
            "units" : "Hz"
        },
        {
            "key" : "0x0003",
            "name" : "analog_in",
            "display" : "Analog Input",
            "units" : "V"
        },
        {
            "key" : "0x0004",
            "name" : "digital_out",
            "display" : "Digital Output",
            "units" : "bool"
        },
        {
            "key" : "0x0005",
            "name" : "pwm_out",
            "display" : "PWM Output",
            "units" : "%Duty"
        },
        {
            "key" : "0x0006",
            "name" : "analog_out",
            "display" : "Analog Output",
            "units" : "V"
        },
        {
            "key" : "0x0007",
            "name" : "air_temp",
            "display" : "Air Temp",
            "units" : "degC"
        },
        {
            "key" : "0x0008",
            "name" : "air_humidity",
            "display" : "Air Humidity",
            "units" : "%RH"
        },
        {
            "key" : "0x0009",
            "name" : "air_pressure",
            "display" : "Air Pressure",
            "units" : "hPa"
        },
        {
            "key" : "0x000A",
            "name" : "ambient_light",
            "display" : "Ambient Light",
            "units" : "lux"
        },
        {
            "key" : "0x000B",
            "name" : "water_temp",
            "display" : "Water Temp",
            "units" : "degC"
        },
        {
            "key" : "0x000C",
            "name" : "water_level",
            "display" : "Water Level",
            "units" : "%Full"
        },
        {
            "key" : "0x000D",
            "name" : "ec",
            "display" : "Conductivity",
            "units" : "uS"
        },
        {
            "key" : "0x000E",
            "name" : "ph",
            "display" : "pH",
            "units" : "pH"
        },
        {
            "key" : "0x0100",
            "name" : "can_id",
            "display" : "CAN ID",
            "units" : "hex"
        },
        {
            "key" : "0x0101",
            "name" : "data_rate",
            "display" : "Data Rate",
            "units" : "seconds"
        },
        {
            "key" : "0x0102",
            "name" : "led_brightness",
            "display" : "LED Brightness",
            "units" : "%"
        },
        {
            "key" : "0x0103",
            "name" : "input",
            "display" : "Input",
            "units" : ""
        },
        {
            "key" : "0x0104",
            "name" : "output",
            "display" : "Output",
            "units" : ""
        }
    ],
    
    "command_keys" : [
        {
            "key" : "0x00",
            "name" : "e_stop",
            "display" : "E-Stop",
            "units" : "bool"
        },
        {
            "key" : "0x01",
            "name" : "silence_bus",
            "display" : "Silence Bus",
            "units" : "bool"
        },
        {
            "key" : "0x10",
            "name" : "set_output",
            "display" : "Set Output",
            "units" : "Data Key"
        },
        {
            "key" : "0x11",
            "name" : "get_data",
            "display" : "Get Data",
            "units" : "Data Key"
        },
        {
            "key" : "0x12",
            "name" : "config",
            "display" : "Config",
            "units" : "Data Key"
        },
        {
            "key" : "0x13",
            "name" : "calibrate",
            "display" : "Calibrate",
            "units" : "Data Key"
        }
    ]
}