Mekanism Teleporter Input Source 
lua
telem.input.mekanism.teleporter (
  peripheralID: string,
  categories?: string[] | '*'
)Mod Dependencies
Requires Mekanism.
See the Usage section for a complete list of the metrics in each category.
| Name | Type | Default | 
|---|---|---|
| peripheralID | string | nil | 
| Peripheral ID of the Teleporter | ||
| categories | string[] | "*" | { "basic" } | 
| List of metric categories to query. The value  lua  | ||
Usage 
lua
local telem = require 'telem'
local backplane = telem.backplane()
  :addInput('my_teleporter', telem.input.mekanism.teleporter('right', '*'))
  :cycleEvery(5)()Given a Teleporter peripheral on the right side of the computer, this appends the following metrics to the backplane (grouped by category here for clarity):
Basic 
lua
STATUSES = { ['ready'] = 1, ['no frequency'] = 2, ['no frame'] = 3, ['no link'] = 4 }| Name | Value | Unit | 
|---|---|---|
| mekteleporter:status | STATUSES value | |
| mekteleporter:frequency_selected | 0 or 1 | |
| mekteleporter:active_teleporters_count | 0 - inf | |
| mekteleporter:energy_filled_percentage | 0.0 - 1.0 | 
Advanced 
| Name | Value | Unit | 
|---|---|---|
| mekteleporter:comparator_level | 0 - 15 | 
Energy 
| Name | Value | Unit | 
|---|---|---|
| mekteleporter:energy | 0.0 - inf | FE | 
| mekteleporter:max_energy | 0.0 - inf | FE | 
| mekteleporter:energy_needed | 0.0 - inf | FE |