techpack/smartline
2018-03-10 23:12:46 +01:00
..
textures Initial commit 2018-03-10 22:19:33 +01:00
api.md Initial commit 2018-03-10 22:19:33 +01:00
button.lua Initial commit 2018-03-10 22:19:33 +01:00
commands.lua Initial commit 2018-03-10 22:19:33 +01:00
controller.lua Initial commit 2018-03-10 22:19:33 +01:00
depends.txt Initial commit 2018-03-10 22:19:33 +01:00
description.txt Initial commit 2018-03-10 22:19:33 +01:00
display.lua Initial commit 2018-03-10 22:19:33 +01:00
init.lua Initial commit 2018-03-10 22:19:33 +01:00
mod.conf Initial commit 2018-03-10 22:19:33 +01:00
playerdetector.lua Initial commit 2018-03-10 22:19:33 +01:00
README.md screenshot added 2018-03-10 23:12:46 +01:00
repeater.lua Initial commit 2018-03-10 22:19:33 +01:00
sequencer.lua Initial commit 2018-03-10 22:19:33 +01:00
signaltower.lua Initial commit 2018-03-10 22:19:33 +01:00
timer.lua Initial commit 2018-03-10 22:19:33 +01:00

SmartLine [smartline]

This tubelib extension provides small and smart sensors, actors and controllers.

The most important and smart node of SmartLine is the SmartLine Controller, a 'computer' to control and monitor Tubelib based machines. You don't need any programming skills, it is more like a configuration according to the "IF this THEN that" concept:

IF <cond1> OR <cond2> THEN <action>
IF <cond1> AND <cond2> THEN <action>

Examples for conditions are:

  • the Player Detector detects a player
  • a button is pressed
  • a node state is fault, blocked, standby,...
  • a timer is expired

Examples for actions are:

  • switch on/off tubelib nodes, like lamps, door blocks, machines
  • send mail/chat messages to the owner
  • output a text message to the display
  • set timer variables
  • set/reset flag variables

The mod comes with several new nodes, all in a smart and small housing:

  • a Player Detector, sending on/off commands to connected nodes
  • a Smart Button, sending on/off commands to connected nodes
  • a Display for text outputs of the controller
  • a Signal Tower, with green, amber, red lights to signal error/fault states
  • a Timer (derived from Tubelib Addons2), for daytime based actions
  • a Sequencer (derived from Tubelib Addons2), for time triggered actions (time in seconds)

API Reference: api.md

Dependencies

tubelib, default, doors
optional: display_lib, font_lib, mail