{"id":24974062,"url":"https://github.com/navatusein/gtnh-oc-water-line-control","last_synced_at":"2025-04-11T10:13:17.477Z","repository":{"id":268560339,"uuid":"904742589","full_name":"Navatusein/GTNH-OC-Water-Line-Control","owner":"Navatusein","description":"Program for the automation of Grate water production from t3 to t8.","archived":false,"fork":false,"pushed_at":"2025-04-02T09:19:43.000Z","size":20795,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T10:23:23.699Z","etag":null,"topics":["automation","gtnh","lua","minecraft","opencomputers","opencomputers-mod"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Navatusein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-17T13:20:01.000Z","updated_at":"2025-04-02T09:19:47.000Z","dependencies_parsed_at":"2025-01-12T14:25:17.659Z","dependency_job_id":"52071a02-5a4c-4c57-b007-df057e3705a1","html_url":"https://github.com/Navatusein/GTNH-OC-Water-Line-Control","commit_stats":null,"previous_names":["navatusein/gtnh-oc-water-line-control"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navatusein%2FGTNH-OC-Water-Line-Control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navatusein%2FGTNH-OC-Water-Line-Control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navatusein%2FGTNH-OC-Water-Line-Control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navatusein%2FGTNH-OC-Water-Line-Control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Navatusein","download_url":"https://codeload.github.com/Navatusein/GTNH-OC-Water-Line-Control/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248373006,"owners_count":21093138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","gtnh","lua","minecraft","opencomputers","opencomputers-mod"],"created_at":"2025-02-03T19:37:50.553Z","updated_at":"2025-04-11T10:13:17.472Z","avatar_url":"https://github.com/Navatusein.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GTNH-OC-Water-Line-Control\n\n## Content\n\n- [Information](#information)\n- [Installation](#installation)\n- [Water Line Setup](#water-line-setup)\n- [Configuration](#configuration)\n\n\u003ca id=\"information\"\u003e\u003c/a\u003e\n\n## Information\n\nProgram is designed to automate the water line from T3 to T8 water. \nProgram is modular, you can choose which water types you want to automate.\nIt is also possible to send messages to Discord about out of service situations.\nAnd there is also the possibility of auto update at startup.\n\n#### Controls\n\n\u003ckbd\u003eQ\u003c/kbd\u003e - Closing the program\n\n\u003ckbd\u003eArrow Up\u003c/kbd\u003e - Scroll list up\n\n\u003ckbd\u003eArrow Down\u003c/kbd\u003e - Scroll list down\n\n#### Interface\n\n![Interface](/docs/interface.png)\n\n\u003ca id=\"installation\"\u003e\u003c/a\u003e\n\n## Installation\n\n\u003e [!CAUTION]\n\u003e If you are using 8 java, the installer will not work for you. \n\u003e The only way to install the program is to manually transfer it to your computer.\n\u003e The problem is on the java side.\n\nTo install program, you need a server with:\n- Graphics Card (Tier 3): 1\n- Central Processing Unit (CPU) (Tier 3): 1\n- Memory (Tier 3.5): 2\n- Component Bus (Tier 3): 1\n- Hard Disk Drive (Tier 3) (4MB): 1\n- EEPROM (Lua BIOS): 1\n- Internet Card: 1\n\n![Computer setup](/docs/server.png)\n\nInstall the basic Open OS on your computer.\nThen run the command to start the installer.\n\n```shell\npastebin run ESUAMAGx\n``` \n\nOr\n\n```shell\nwget -f https://raw.githubusercontent.com/Navatusein/GTNH-OC-Installer/main/installer.lua \u0026\u0026 installer\n``` \n\nThen select the Water Line Control program in the installer.\nIf you wish you can add the program to auto download, for manual start write a command.\n\n```shell\nmain\n```\n\n\u003e [!NOTE]  \n\u003e For convenient configuration you can use the web configurator.\n\u003e [GTNH-OC-Web-Configurator](https://navatusein.github.io/GTNH-OC-Web-Configurator/#/configurator?url=https%3A%2F%2Fraw.githubusercontent.com%2FNavatusein%2FGTNH-OC-Water-Line-Control%2Frefs%2Fheads%2Fmain%2Fconfig-descriptor.yml)\n\n#### Computer setup\n\nThe program interface is configured for a 3x2 monitor.\n\n![Computer setup](/docs/computer-setup.png)\n\n\u003ca id=\"water-line-setup\"\u003e\u003c/a\u003e\n\n## Water Line Setup\n\n\u003e [!NOTE]  \n\u003e For easy copying of addresses, use \"Analyzer\" from the OpenComputers mod. Right-click on the component, its address will be written in the chat. \n\u003e If you click on it, it will be copied.\n\u003e\n\u003e \u003cimg src=\"docs/analyzer.png\" alt=\"Analyzer\" width=\"120\"/\u003e\n\n\u003cbr/\u003e\n\n\u003e [!NOTE]  \n\u003e There's a save of the world with a setup of water line. Game version 2.7.3\n\u003e [Save](https://github.com/Navatusein/GTNH-OC-Water-Line-Control/raw/main/water-line-world.zip)\n\n### Water Purification Plant\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 1\n- MFU: 1\n\n#### Description\n\nThe main multiblock of the line. The cycle of the entire line is read from it.\n\n\u003e [!CAUTION]\n\u003e Water Purification Plant must be connected.\n\nThe controller is connected via MFU to keep it accessible.\n\n#### Example setup\n\n![Water Purification Plant](/docs/water-purification-plant.png)\n\n### [T3] Flocculated Water (Grade 3)\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 1\n- Transposer: 1\n- MFU: 1\n\n#### Description\n\nTo use the module for t3 water in the `config.lua`\nfile you need to enable the module by changing `enable = false` to `enable = true`. \nYou must also specify the address of the transposer in the `transposerAddress` field, which is located under the ZPM input hatch and to which the tank with the \nPolyaluminium chloride connected.\n\nThe controller is connected via MFU to keep it accessible.\n\n#### T3 Config part\n\n```Lua\nt3 = { -- Controller for T3 Flocculated Water (Grade 3)\n  enable = false, -- Enable module for T3 water\n  controller = t3controllerLib:newFormConfig({\n    transposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Polyaluminium Chloride\n  }),\n},\n```\n\n#### Example setup\n\n![T3 Setup](/docs/t3-setup.png)\n\n### [T4] pH Neutralized Water (Grade 4)\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 1\n- Transposer: 2\n\n#### Description\n\nTo use the module for t4 water in the `config.lua`\nfile you need to enable the module by changing `enable = false` to `enable = true`. \nIt is also necessary to specify transposer addresses in \nthe fields `hydrochloricAcidTransposerAddress` and `sodiumHydroxideTransposerAddress`, \nthey are respectively located above the input hatch for Hydrochloric Acid next to the \ntank and above the input bus for Sodium Hydroxide next to the interface.\n\n#### T4 Config part\n\n```Lua\nt4 = { -- Controller for T4 pH Neutralized Water (Grade 4)\n  enable = false, -- Enable module for T4 water\n  controller = t4controllerLib:newFormConfig({\n    hydrochloricAcidTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Hydrochloric Acid\n    sodiumHydroxideTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\" -- Address of transposer which provide Sodium Hydroxide Dust\n  }),\n},\n```\n\n#### Example setup\n\n![T3 Setup](/docs/t4-setup.png)\n\n### [T5] Extreme-Temperature Treated Water (Grade 5)\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 1\n- Transposer: 2\n\n#### Description\n\nTo use the module for t5 water in the `config.lua`\nfile you need to enable the module by changing `enable = false` to `enable = true`. \nIt is also necessary to specify transposer addresses in \nthe fields `plasmaTransposerAddress` and `coolantTransposerAddress`, \nthey are respectively located below the input hatch for Helium Plasma next to the \ntank and below the input hatch for Super Coolant next to the tank.\n\n#### T5 Config part\n\n```Lua\nt5 = { -- Controller for T5 Extreme-Temperature Treated Water (Grade 5)\n  enable = false, -- Enable module for T5 water\n  controller = t5controllerLib:newFormConfig({\n    plasmaTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Helium Plasma\n    coolantTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\" -- Address of transposer which provide Super Coolant\n  }),\n},\n```\n\n#### Example setup\n\n![T5 Setup](/docs/t5-setup.png)\n\n### [T6] Ultraviolet Treated Electrically Neutral Water (Grade 6)\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 1\n- Transposer: 1\n\n#### Description\n\nTo use the module for t7 water in the `config.lua`\nfile you need to enable the module by changing `enable = false` to `enable = true`. \nYou must also specify the address of the transposer in the `transposerAddress` field, which is located above the Lens Housing and to which the chest with lenses connected.\n\nThe chest should contain all 9 lenses: Orundum Lens, Amber Lens, Aer Lens, Emerald Lens, Mana Diamond Lens, Blue Topaz Lens, Amethyst Lens, Fluor-Buergerite Lens, Dilithium Lens.\n\n\u003e [!NOTE]  \n\u003e Dilithium Lens is optional.\n\n![Chest With Lenses](/docs/chest-with-lenses.png)\n\n#### T6 Config part\n\n```Lua\nt6 = { -- Controller for T6 Ultraviolet Treated Electrically Neutral Water (Grade 6)\n  enable = false, -- Enable module for T6 water\n  controller = t6controllerLib:newFormConfig({\n    transposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\" -- Address of transposer which provide Lenses\n  }),\n},\n```\n\n#### Example setup\n\n![T6 Setup](/docs/t6-setup.png)\n\n### [T7] Degassed Decontaminant-Free Water (Grade 7)\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 1\n- Transposer: 4\n- MFU: 1\n\n#### Description\n\n\u003e [!NOTE]  \n\u003e If you play on version 2.7 do not forget to install `Degasser Control Hatch` in the structure, \n\u003e although it is not necessary for the program, but without it the structure will not work\n\nTo use the module for t7 water in the `config.lua`\nYou must also specify the addresses of the transposers: \n`inertGasTransposerAddress` here is the address of the transposer that will supply Helium, Neon, Krypton, Xenon.\n`superConductorTransposerAddress` here is the address of the transposer that will supply Superconductor Base.\n`netroniumTransposerAddress` here is the address of the transposer that will supply Molten Neutronium.\n`coolantTransposerAddress` here is the address of the transposer that will supply Super Coolant.\n\nThe controller is connected via MFU to keep it accessible.\n\n#### T7 Config part\n\n```Lua\nt7 = { -- Controller for T7 Degassed Decontaminant-Free Water (Grade 7)\n  enable = false, -- Enable module for T7 water\n  controller = t7controllerLib:newFormConfig({\n    inertGasTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Inert Gas\n    superConductorTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Super Conductor\n    netroniumTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Molten Neutronium\n    coolantTransposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\" -- Address of transposer which provide Super Coolant\n  }),\n},\n```\n\n#### Example setup\n\n![T7 Setup](/docs/t7-setup.png)\n\n### [T8] Subatomically Perfect Water (Grade 8)\n\n#### Components\n\nTo build a setup, you will need:\n- Adapter: 2\n- Transposer: 1\n- MFU: 1\n\n#### Description\n\nTo use the module for t8 water in the `config.lua`\nYou must also specify the address of the transposer in the `transposerAddress` \nfield, which is located under the hv input bus and to which the interface with the Quarks connected.\nAlso the address of the adapter connected to me interface in the `subMeInterfaceAddress` field.\nAlso in the configs you can change the number of quarks the computer must support in this field ` maxQuarkCount`.\nThere you need to specify the number of quarks that are in the subnet. So if you put 7 quarks of each type in the subnet. \n3 will go into the interface, then you need to specify 4. Because that's how many are left in the subnet.\n\nThe controller is connected via MFU to keep it accessible.\n\nThe idea is that a separate subnet is made for quarks. The Absolute Baryonic Perfection Purification Unit returns unused quarks and 2 \nUnaligned Quark Releasing Catalysts after crafting is complete. The computer looks to see which quarks are less than the specified \nnumber (`maxQuarkCount` in the default configs is 4) and orders them. That is, the subnet must have at least 2 CPUs and a \nHyper-Intensity Laser Engraver connected to order quarks. It is possible without a subnet, but the condition is that the computer can order quarks. \nStabilized Baryonic Matter can be fed into the subsystem or directly into the Laser Engraver.\n\n\u003e [!NOTE]  \n\u003e Maximum 42 infinity ingots used per cycle. But usually less. Consumption can be 6, 18, 42 ingots per cycle. Depends on luck.\n\n#### T8 Config part\n\n```Lua\nt8 = { -- Controller for T8 Subatomically Perfect Water (Grade 8)\n  enable = false, -- Enable module for T8 water\n  controller = t8controllerLib:newFormConfig({\n    maxQuarkCount = 4, -- Maximum number of each quark in the sub AE\n    transposerAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\", -- Address of transposer which provide Quarks\n    subMeInterfaceAddress = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\" -- Address of me interface which connected to sub AE\n  })\n}\n```\n\n#### Example setup\n\n![T8 Setup 1](/docs/t8-setup-1.png)\n\n![T8 Setup 2](/docs/t8-setup-2.png)\n\n\u003ca id=\"configuration\"\u003e\u003c/a\u003e\n\n## Configuration\n\n\u003e [!NOTE]  \n\u003e For convenient configuration you can use the web configurator.\n\u003e [GTNH-OC-Web-Configurator](https://navatusein.github.io/GTNH-OC-Web-Configurator/#/configurator?url=https%3A%2F%2Fraw.githubusercontent.com%2FNavatusein%2FGTNH-OC-Water-Line-Control%2Frefs%2Fheads%2Fmain%2Fconfig-descriptor.yml)\n\nGeneral configuration in file `config.lua`\nThe configuration of water line modules is described in paragraph [Water Line Setup](#water-line-setup).\n\nEnable auto update when starting the program.\n\n```lua\nenableAutoUpdate = true, -- Enable auto update on start\n```\n\nIn the `timeZone` field you can specify your time zone.\n\nIn the `discordWebhookUrl` field, you can specify the Discord Webhook link so that the program sends messages to the discord about emergency situations.\n[How to Create a Discord Webhook?](https://www.svix.com/resources/guides/how-to-make-webhook-discord/)\n\n```lua\nlogger = loggerLib:newFormConfig({\n  name = \"Water Line Control\",\n  timeZone = 3, -- Your time zone\n  handlers = {\n    discordLoggerHandler:newFormConfig({\n      logLevel = \"warning\",\n      messageFormat = \"{Time:%d.%m.%Y %H:%M:%S} [{LogLevel}]: {Message}\",\n      discordWebhookUrl = \"\" -- Discord Webhook URL\n    }),\n    fileLoggerHandler:newFormConfig({\n      logLevel = \"debug\",\n      messageFormat = \"{Time:%d.%m.%Y %H:%M:%S} [{LogLevel}]: {Message}\",\n      filePath = \"logs.log\"\n    }),\n    scrollListLoggerHandler:newFormConfig({\n      logLevel = \"debug\",\n      logsListSize = 32\n    }),\n  }\n}),\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavatusein%2Fgtnh-oc-water-line-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavatusein%2Fgtnh-oc-water-line-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavatusein%2Fgtnh-oc-water-line-control/lists"}