From 6b46fa5ef54ee472def81b0030017fb4fbc6a107 Mon Sep 17 00:00:00 2001 From: hydrosys4 Date: Wed, 6 Apr 2022 20:41:17 +0200 Subject: [PATCH] Add preset Hardware setting --- changelog/change | 8 ++- .../defhwdata-SuperHAT-v11.txt | 49 +++++++++++++++++++ .../defhwdata-SuperHAT-v12.txt | 49 +++++++++++++++++++ .../defhwdata-SuperHAT-v13.txt | 49 +++++++++++++++++++ start.py | 2 +- 5 files changed, 154 insertions(+), 3 deletions(-) create mode 100644 database/default/presetHWsetting/defhwdata-SuperHAT-v11.txt create mode 100644 database/default/presetHWsetting/defhwdata-SuperHAT-v12.txt create mode 100644 database/default/presetHWsetting/defhwdata-SuperHAT-v13.txt diff --git a/changelog/change b/changelog/change index 490fef7..b306b65 100755 --- a/changelog/change +++ b/changelog/change @@ -1006,6 +1006,10 @@ This means that after the MQTT discovery configuration has been push to home ass - Fixed a bug in the Autofertilizedmod, now call the ActuatorControllerMod - Fixed a bug in the Autowatering, now call the ActuatorControllerMod -2022-03-12 -> release 340d +2022-03-12 -> release 340d/e -- Fixed bug regarding the Home assistant identifier \ No newline at end of file +- Fixed bug regarding the Home assistant identifier + +2022-04-06 -> release 340f + +- Add preset configuration for the SuperHat v13.x (MCP23018 due to chip shortage) \ No newline at end of file diff --git a/database/default/presetHWsetting/defhwdata-SuperHAT-v11.txt b/database/default/presetHWsetting/defhwdata-SuperHAT-v11.txt new file mode 100644 index 0000000..406d157 --- /dev/null +++ b/database/default/presetHWsetting/defhwdata-SuperHAT-v11.txt @@ -0,0 +1,49 @@ +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_0", "offset": "", "pin": "1", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_1", "offset": "", "pin": "2", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_2", "offset": "", "pin": "3", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_3", "offset": "", "pin": "4", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_4", "offset": "", "pin": "5", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_5", "offset": "", "pin": "6", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_6", "offset": "", "pin": "7", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_7", "offset": "", "pin": "8", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_0", "offset": "", "pin": "9", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_1", "offset": "", "pin": "10", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_2", "offset": "", "pin": "11", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_3", "offset": "", "pin": "12", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_4", "offset": "", "pin": "13", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_5", "offset": "", "pin": "14", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_6", "offset": "", "pin": "15", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_7", "offset": "", "pin": "16", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_0", "offset": "", "pin": "1", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_1", "offset": "", "pin": "2", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_2", "offset": "", "pin": "3", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_3", "offset": "", "pin": "4", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_4", "offset": "", "pin": "5", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_5", "offset": "", "pin": "6", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_6", "offset": "", "pin": "7", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_7", "offset": "", "pin": "8", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_0", "offset": "", "pin": "9", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_1", "offset": "", "pin": "10", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_2", "offset": "", "pin": "11", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_3", "offset": "", "pin": "12", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_4", "offset": "", "pin": "13", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_5", "offset": "", "pin": "14", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_6", "offset": "", "pin": "15", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_7", "offset": "", "pin": "16", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"IOtype": "input", "controllercmd": "tempsensor", "measure": "Temperature", "name": "tempsensor1", "pin": "24", "schedulingtype": "periodic", "time": "00:15:05", "unit": "C", "usefor": "temperaturecontrol"} +{"IOtype": "input", "controllercmd": "humidsensor", "measure": "Humidity", "name": "humidsensor1", "pin": "24", "schedulingtype": "periodic", "time": "00:15:03", "unit": "%", "usefor": "humiditycontrol"} +{"IOtype": "input", "controllercmd": "pressuresensor", "measure": "Pressure", "name": "pressuresensor1", "pin": "I2C", "schedulingtype": "periodic", "time": "00:15:01", "unit": "hPa", "usefor": "Pressurecontrol"} +{"IOtype": "input", "controllercmd": "lightsensor", "measure": "Light", "name": "lightsensor1", "pin": "I2C", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Lum", "usefor": "lightcontrol"} +{"ADCchannel": "0", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog1", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "1", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog2", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "2", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog3", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "3", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog4", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "4", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog5", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "5", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog6", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "6", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog7", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "7", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "max": "4.01", "measure": "Moisture", "min": "0", "name": "Analog8_15v", "offset": "", "pin": "SPI", "powerpin": "N/A", "scale": "12", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"IOtype": "output", "address": "", "controllercmd": "mail+info+link", "measure": "Mail", "name": "mail1", "schedulingtype": "oneshot", "time": "10:00", "title": "Hydrosys today report", "unit": "pcs", "usefor": "mailcontrol"} +{"IOtype": "output", "address": "", "controllercmd": "mail+info", "measure": "Mail", "name": "mail2", "schedulingtype": "oneshot", "time": "10:00", "title": "Hydrosys today report", "unit": "pcs", "usefor": "mailcontrol"} +{"IOtype": "output", "controllercmd": "photo", "measure": "Photo", "name": "photo", "schedulingtype": "oneshot", "time": "09:30", "unit": "pcs", "usefor": "photocontrol"} +{"ADCchannel": "0", "IOtype": "output", "address": "", "controllercmd": "servo", "frequency": "50", "logic": "pos", "max": "12", "measure": "Percentage", "min": "2", "name": "servo1", "pin": "21", "powerpin": "N/A", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "C", "usefor": "N/A"} +{"IOtype": "input", "controllercmd": "returnzero", "measure": "Time", "name": "TimeTrigger", "pin": "N/A", "schedulingtype": "periodic", "time": "00:05:00", "unit": "%", "usefor": "N/A"} diff --git a/database/default/presetHWsetting/defhwdata-SuperHAT-v12.txt b/database/default/presetHWsetting/defhwdata-SuperHAT-v12.txt new file mode 100644 index 0000000..406d157 --- /dev/null +++ b/database/default/presetHWsetting/defhwdata-SuperHAT-v12.txt @@ -0,0 +1,49 @@ +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_0", "offset": "", "pin": "1", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_1", "offset": "", "pin": "2", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_2", "offset": "", "pin": "3", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_3", "offset": "", "pin": "4", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_4", "offset": "", "pin": "5", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_5", "offset": "", "pin": "6", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_6", "offset": "", "pin": "7", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_7", "offset": "", "pin": "8", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_0", "offset": "", "pin": "9", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_1", "offset": "", "pin": "10", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_2", "offset": "", "pin": "11", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_3", "offset": "", "pin": "12", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_4", "offset": "", "pin": "13", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_5", "offset": "", "pin": "14", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_6", "offset": "", "pin": "15", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x26", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_7", "offset": "", "pin": "16", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_0", "offset": "", "pin": "1", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_1", "offset": "", "pin": "2", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_2", "offset": "", "pin": "3", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_3", "offset": "", "pin": "4", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_4", "offset": "", "pin": "5", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_5", "offset": "", "pin": "6", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_6", "offset": "", "pin": "7", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_7", "offset": "", "pin": "8", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_0", "offset": "", "pin": "9", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_1", "offset": "", "pin": "10", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_2", "offset": "", "pin": "11", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_3", "offset": "", "pin": "12", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_4", "offset": "", "pin": "13", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_5", "offset": "", "pin": "14", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_6", "offset": "", "pin": "15", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_7", "offset": "", "pin": "16", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"IOtype": "input", "controllercmd": "tempsensor", "measure": "Temperature", "name": "tempsensor1", "pin": "24", "schedulingtype": "periodic", "time": "00:15:05", "unit": "C", "usefor": "temperaturecontrol"} +{"IOtype": "input", "controllercmd": "humidsensor", "measure": "Humidity", "name": "humidsensor1", "pin": "24", "schedulingtype": "periodic", "time": "00:15:03", "unit": "%", "usefor": "humiditycontrol"} +{"IOtype": "input", "controllercmd": "pressuresensor", "measure": "Pressure", "name": "pressuresensor1", "pin": "I2C", "schedulingtype": "periodic", "time": "00:15:01", "unit": "hPa", "usefor": "Pressurecontrol"} +{"IOtype": "input", "controllercmd": "lightsensor", "measure": "Light", "name": "lightsensor1", "pin": "I2C", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Lum", "usefor": "lightcontrol"} +{"ADCchannel": "0", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog1", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "1", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog2", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "2", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog3", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "3", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog4", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "4", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog5", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "5", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog6", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "6", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog7", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "7", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "max": "4.01", "measure": "Moisture", "min": "0", "name": "Analog8_15v", "offset": "", "pin": "SPI", "powerpin": "N/A", "scale": "12", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"IOtype": "output", "address": "", "controllercmd": "mail+info+link", "measure": "Mail", "name": "mail1", "schedulingtype": "oneshot", "time": "10:00", "title": "Hydrosys today report", "unit": "pcs", "usefor": "mailcontrol"} +{"IOtype": "output", "address": "", "controllercmd": "mail+info", "measure": "Mail", "name": "mail2", "schedulingtype": "oneshot", "time": "10:00", "title": "Hydrosys today report", "unit": "pcs", "usefor": "mailcontrol"} +{"IOtype": "output", "controllercmd": "photo", "measure": "Photo", "name": "photo", "schedulingtype": "oneshot", "time": "09:30", "unit": "pcs", "usefor": "photocontrol"} +{"ADCchannel": "0", "IOtype": "output", "address": "", "controllercmd": "servo", "frequency": "50", "logic": "pos", "max": "12", "measure": "Percentage", "min": "2", "name": "servo1", "pin": "21", "powerpin": "N/A", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "C", "usefor": "N/A"} +{"IOtype": "input", "controllercmd": "returnzero", "measure": "Time", "name": "TimeTrigger", "pin": "N/A", "schedulingtype": "periodic", "time": "00:05:00", "unit": "%", "usefor": "N/A"} diff --git a/database/default/presetHWsetting/defhwdata-SuperHAT-v13.txt b/database/default/presetHWsetting/defhwdata-SuperHAT-v13.txt new file mode 100644 index 0000000..24566ce --- /dev/null +++ b/database/default/presetHWsetting/defhwdata-SuperHAT-v13.txt @@ -0,0 +1,49 @@ +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_0", "offset": "", "pin": "1", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_1", "offset": "", "pin": "2", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_2", "offset": "", "pin": "3", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_3", "offset": "", "pin": "4", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_4", "offset": "", "pin": "5", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_5", "offset": "", "pin": "6", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_6", "offset": "", "pin": "7", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A1_7", "offset": "", "pin": "8", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_0", "offset": "", "pin": "9", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_1", "offset": "", "pin": "10", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_2", "offset": "", "pin": "11", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_3", "offset": "", "pin": "12", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_4", "offset": "", "pin": "13", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_5", "offset": "", "pin": "14", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_6", "offset": "", "pin": "15", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x20", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B1_7", "offset": "", "pin": "16", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_0", "offset": "", "pin": "1", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_1", "offset": "", "pin": "2", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_2", "offset": "", "pin": "3", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_3", "offset": "", "pin": "4", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_4", "offset": "", "pin": "5", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_5", "offset": "", "pin": "6", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_6", "offset": "", "pin": "7", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_A2_7", "offset": "", "pin": "8", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_0", "offset": "", "pin": "9", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_1", "offset": "", "pin": "10", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_2", "offset": "", "pin": "11", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_3", "offset": "", "pin": "12", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_4", "offset": "", "pin": "13", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_5", "offset": "", "pin": "14", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_6", "offset": "", "pin": "15", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"ADCchannel": "N/A", "IOtype": "output", "address": "0x27", "controllercmd": "pulse/I2CGPIOEXP", "direction": "dir", "frequency": "", "logic": "neg", "max": "", "measure": "Time", "min": "", "name": "Relay_B2_7", "offset": "", "pin": "16", "pin2": "N/A", "powerpin": "N/A", "scale": "", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "Sec", "usefor": "watercontrol"} +{"IOtype": "input", "controllercmd": "tempsensor", "measure": "Temperature", "name": "tempsensor1", "pin": "24", "schedulingtype": "periodic", "time": "00:15:05", "unit": "C", "usefor": "temperaturecontrol"} +{"IOtype": "input", "controllercmd": "humidsensor", "measure": "Humidity", "name": "humidsensor1", "pin": "24", "schedulingtype": "periodic", "time": "00:15:03", "unit": "%", "usefor": "humiditycontrol"} +{"IOtype": "input", "controllercmd": "pressuresensor", "measure": "Pressure", "name": "pressuresensor1", "pin": "I2C", "schedulingtype": "periodic", "time": "00:15:01", "unit": "hPa", "usefor": "Pressurecontrol"} +{"IOtype": "input", "controllercmd": "lightsensor", "measure": "Light", "name": "lightsensor1", "pin": "I2C", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Lum", "usefor": "lightcontrol"} +{"ADCchannel": "0", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog1", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "1", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog2", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "2", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog3", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "3", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog4", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "4", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog5", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "5", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog6", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "6", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "measure": "Moisture", "name": "Analog7", "pin": "SPI", "powerpin": "N/A", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"ADCchannel": "7", "IOtype": "input", "controllercmd": "analogdigital", "direction": "dir", "logic": "pos", "max": "4.01", "measure": "Moisture", "min": "0", "name": "Analog8_15v", "offset": "", "pin": "SPI", "powerpin": "N/A", "scale": "12", "schedulingtype": "periodic", "time": "00:15:01", "unit": "Volt", "usefor": "Moisturecontrol"} +{"IOtype": "output", "address": "", "controllercmd": "mail+info+link", "measure": "Mail", "name": "mail1", "schedulingtype": "oneshot", "time": "10:00", "title": "Hydrosys today report", "unit": "pcs", "usefor": "mailcontrol"} +{"IOtype": "output", "address": "", "controllercmd": "mail+info", "measure": "Mail", "name": "mail2", "schedulingtype": "oneshot", "time": "10:00", "title": "Hydrosys today report", "unit": "pcs", "usefor": "mailcontrol"} +{"IOtype": "output", "controllercmd": "photo", "measure": "Photo", "name": "photo", "schedulingtype": "oneshot", "time": "09:30", "unit": "pcs", "usefor": "photocontrol"} +{"ADCchannel": "0", "IOtype": "output", "address": "", "controllercmd": "servo", "frequency": "50", "logic": "pos", "max": "12", "measure": "Percentage", "min": "2", "name": "servo1", "pin": "21", "powerpin": "N/A", "schedulingtype": "oneshot", "time": "", "title": "", "unit": "C", "usefor": "N/A"} +{"IOtype": "input", "controllercmd": "returnzero", "measure": "Time", "name": "TimeTrigger", "pin": "N/A", "schedulingtype": "periodic", "time": "00:05:00", "unit": "%", "usefor": "N/A"} diff --git a/start.py b/start.py index a5d467f..b714764 100755 --- a/start.py +++ b/start.py @@ -3,7 +3,7 @@ from builtins import str from builtins import range -Release="3.40e" +Release="3.40f" #--------------------- from loggerconfig import LOG_SETTINGS