techpack/smartline/README.md
2018-03-10 23:12:46 +01:00

1.5 KiB

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