Skip to content

Commit

Permalink
Add preset Hardware setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydrosys4 committed Apr 6, 2022
1 parent b2efcf9 commit 6b46fa5
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 3 deletions.
8 changes: 6 additions & 2 deletions changelog/change
Original file line number Diff line number Diff line change
Expand Up @@ -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
- 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)
49 changes: 49 additions & 0 deletions database/default/presetHWsetting/defhwdata-SuperHAT-v11.txt
Original file line number Diff line number Diff line change
@@ -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"}
Loading

0 comments on commit 6b46fa5

Please sign in to comment.