Community listing page, reviews may not be monitored by the author.
Telemetry Monitors
No reviews yet
Monitor your factories remotely over websocket. Password protected as well
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
This mod adds only 2 blocks to the game. One monitors whatever it's facing, the other can output redstone signals or change filters on create machines.
Usage
Windows curl is NOT the same as MacOS and Linux curl. Use WSL if you're testing on windows
for the blue block (the monitor), you can get a JSON output of whatever it's monitoring like this curl http://<IP>:<port|27100>/<ID>
or if it's password protected curl http://<IP>:<port|27100>/<ID>?password=<password>
This supports most mod's blocks that have NBT as well as FE electrics.
for the red one (the output), you can set a redstone signal, pulse, or set create filters.
set redstone strength curl -X POST http://<IP>:<port|27100>/<ID> -d '{"redstone":<0-15>}'
pulse the block … -d '{"pulse":}''
set a create machine's filter … -d '{"filter":""}'
or multiple (must have a create filter in the filter slot) ... -d '{"filter":["item ID 1","item ID 2"...]}'
clear filter ... -d '{"clearFilter":true}'
single-line address (typical for packagers)
... -d '{"sign":"warehouse/station1"}'
up to 4 lines (Create joins non-blank lines with no separator)
... -d '{"sign":{"lines":["wh","station1"]}}'
optional: pick which adjacent sign
... -d '{"sign":{"text":"addr","side":"up"}}'
clear sign data
.. -d '{"clearSign":true}'
OC2: Modern versions
Monitor
local d = require("devices")
local t = d:find("boiler") -- or d:find("telemetry")
print(t:getJson())
Actuator
local a = require("devices"):find("gate") -- your device name, or "telemetry_actuator"
a:setRedstone(15)
print(a:getRedstone())
a:pulse(20)
a:setFilter("minecraft:cobblestone")
-- multi-item needs a real Filter already in the machine:
a:setFilter('["minecraft:iron_ingot","minecraft:gold_ingot"]')
a:clearFilter()
a:setSign("warehouse/station1")
a:clearSign()
You can also run commands on OC2 computers from HTTP actuators
# run a shell command on the OC
curl -X POST http://127.0.0.1:27100/gate -d '{"run":"uptime"}'
# → {"ok":true,"jobId":"...","queued":true,...}
# wait for the daemon
curl 'http://127.0.0.1:27100/gate?job=<jobId>'
# → status DONE/ERROR + result
curl -X POST http://127.0.0.1:27100/gate \
-d '{"writeFile":{"path":"/home/out.txt","content":"hello","encoding":"utf8"}}'
curl -X POST http://127.0.0.1:27100/gate \
-d '{"readFile":{"path":"/home/out.txt"}}'
#OC2: Modern <-> CC: Tweaked bridge
uses a daemon on the client computer to run stuff sent to it by a host (experimental)
OC2 -> CC: Tweaked
local b = require("devices"):find("cc_oc_bridge")
local id = b:submitCc("return 2+2")
-- wait a tick or two
print(b:poll(id))
CC: Tweaked -> OC2
local b = peripheral.find("cc_oc_bridge")
-- enqueue (returns job id)
local id = b.submitOc("return 2+2")
you need the respective lua daemon on the client computer. OC2 has it on the filesystem, but CC: Tweaked you'll need either the daemon disk, or to extract the CC: Tweaked daemon from the jar and drag it onto the computer.
Considerations:
- The mod is pretty much useless in a singleplayer world
- A dedicated server with a chunkloading mod is recommended (even if singeplayer)
- for access outside of your LAN, consider using a mesh VPN, such as Tailscale, or port forwarding. For public servers hosted at your home, use IP shielding local to you
- while the attack surface on the hosting hardware should (in principal, I won't leave the possibility out) be very limited. There can be in-game infrastructure attacks if you leave your websocket outputs without a password and the ID gets leaked, if both get leaked, or if whatever interface you made is publicly accessible and someone fools with it. Guard the interface with Tailscale over using port forwarding.
- attack surface can increase if the HTTP actuator is used for an Open Computer, especially when they fix the internet card on dedicated servers. Treat those like you would Government infrastructure and make sure no one in game can read the NBT off the actuator after it's set.
- at current, the CC: Tweaked <-> OC2 bridge is rather experimental. But you should also take care if you have a bridge setup. I don't think chunk claiming, such as FTB land claim, prevents CC: Tweaked stuff from being linked to a different computer. Guard any wireless network port blocks you have in a bridge setup.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
(opens in a new tab)
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources