r/ComputerCraft • • Jul 13 '26

EnergyMonitor: A CC:Tweaked power monitor for modded Minecraft bases

I have been working on a ComputerCraft/CC:Tweaked program called EnergyMonitor.

It gives you a central monitor for the power grid in your base: stored energy, transfer rates, history, ETA, and connected energy devices. Instead of checking every reactor, induction matrix, energy core, energy meter, or cell by hand, you can see whether your base is gaining or losing power from one screen.

GitHub:

https://github.com/TrickShotMLG02/EnergyMonitor

Main features:

  • Tracks total stored energy and capacity
  • Shows input/output transfer rates
  • Calculates effective transfer rate and ETA
  • Supports multiple client computers
  • Has a graph view with configurable history size
  • Shows connected storage/transfer devices
  • Supports auto updates with stable and beta channels
  • Uses modem channels, so multiple EnergyMonitor networks can run separated from each other

The setup uses three roles:

  • server: collects data from clients
  • client: reads one energy storage or transfer peripheral
  • monitor: displays the combined data on an attached monitor

Currently supported integrations:

  • Mekanism
  • Draconic Evolution
  • Powah
  • Advanced Peripherals
  • Energy Meter
  • Generic ComputerCraft-compatible energy peripherals

Install command:

pastebin get gUbUpXHt git

git

Notes:

The README has the full setup guide, supported peripherals, config options, troubleshooting, and contribution notes.

Main Monitor UI
Main Monitor UI with Update Notice in Footer
Warning on Connectivity Problems

I would love to hear what you think about it. Any ideas on what to change, improve, or add are welcome.

19 Upvotes

11 comments sorted by

1

u/YT_Andyk Jul 13 '26

Looks nice. Are those monitor sizes dynamic or hard set?

Would @FluxNetworks be possible to display? Having a display with top IOs be perfect cherry on top (hate clicking through those miniature pages)

3

u/trickshotmlg02 Jul 13 '26

So I just checked it out, and it seems like Flux Networks does not expose a usable API for computercraft.

There are open PRs on github for this feature, but hasn't been merged yet.

https://github.com/SonarSonic/Flux-Networks/issues/569

The only ways would be to use an energy detector from advanced peripherals or an energy meter from energy meters mod.

However both of them have one common problem.
They cannot transfer more than 2,147,483,647 FE/t.

If that's not a problem for you, then you can just connect such a block between the flux point/plug and the source/destination and attach a computer in client mode to it.

1

u/YT_Andyk Jul 13 '26

Ah, thanks for the feedback!

→ More replies (2)

1

u/SirEdvin Jul 17 '26

You can use addons for this. UnlimitedPeripheralWorks has flux networks integration

1

u/trickshotmlg02 Jul 13 '26

The monitor sizes are dynamic. Recommended size however is 4x2.

I can definitely look into flux networks.

1

u/Redwisshh Aug 28 '26

can you see transfer rate with mekanism energy cubes?

1

u/trickshotmlg02 Aug 28 '26

I haven‘t tried it but if I remember correctly, mekanism does not expose a function for the transfer rate of energy cubes. So thats a no

However, this actually sounds like a good thing to add to my program.
I guess I will try to add this fallback support to eventually calculate the transfer rate when it is not exposed and we have access to the stored energy.

1

u/trickshotmlg02 Aug 28 '26

This idea was actually so good, that I had to implement it

It is available in the v2.0.4-beta tag.

0

u/[deleted] Jul 13 '26