It's a modified Telem that works with OpenComputers.
I use it on my private server that I play with my friends.
Limited features available.
Tired of creating complex logic to monitor inventory or production? Want something more modern, modular, and scalable? Want something that can empower a dashboard like the screenshot below? You have come to the right place.
- OpenComputers(I use the GTNH environment)
- Internet Card for installer/Grafana
pastebin run -f paUSHQQC bakaneko152 telem master src/telem
mkdir /home/lib
mv /telem /home/lib/telem
Please visit url for full documentation.
local telem = require('telem')
local backplane = telem.backplane() -- setup the fluent interface
:addInput('hello_in', telem.input.helloWorld(123)) -- add a named input
:addOutput('hello_out', telem.output.helloWorld()) -- add a named output
-- call a function that reads all inputs and writes all outputs, then waits 3 seconds, repeating indefinitely
backplane:cycleEvery(3)()
-- threadable option
local thread = require("thread")
local othercode = function ()
while true do
-- listen for events, control your reactor, etc.
-- make sure to yield somewhere in your loop or the backplane will not cycle correctly
os.sleep()
end
end
-- cycleEvery() may return multiple functions
local thread_table = telem.util.list2thread(backplane:cycleEvery(3))
table.insert(thread_table, thread.create(othercode))
thread.waitForAny(thread_table)- Item and Fluid Storage
- Modded Storage (AE2,Storage Drawers)
- Modded Machines (Greg5(GTNH))
- Custom Inputs
- Modem
- More to come!
- Custom Outputs
- Modem
- Grafana (advanced)
- More to come!