"Time until full/depleted" - is it possible?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

What is your level of knowledge of the Programmable RedNet Controllers (PRC)?

  • I didn't even know they were a thing.

    Votes: 0 0.0%
  • I have very basic / limited capacity to use them.

    Votes: 3 100.0%
  • I'm pretty good with them.

    Votes: 0 0.0%
  • I make 16 channel networks for breakfast.

    Votes: 0 0.0%

  • Total voters
    3

swordfish71

New Member
Jul 29, 2019
9
0
0
Hello!

I am at that point in my map that now that I have all the machinery I need to be functional, I am just playing around with different mods to see what else I can do (superfluous, almost Rube Goldberg Machine inventions).

I just finished making a potato baking line, using conveyor belts, item ducts, and a RedNet controller.

I then had a flash - PRCs seem like quite powerful little buggers, and I was wondering if it were possible to make a display that would tell me in real-time how long until my capacitor banks are full, or depleted, based on my power usage and stored power.

I haven't been able to find much information online as to how I can translate information from a RedNet network to, say, a computercraft monitor.

Any help or pointers would be greatly appreciated! I could make a little video of me building it afterwards and post it as a how-to.

Thanks!
 

sgbros1

New Member
Jul 29, 2019
952
-6
0
Pretty sure a CC computer can wrap to an EIO Capacitor Bank, and from there it might be possible to get energy stored and energy production / consumption rate
 

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
Hello!

I am at that point in my map that now that I have all the machinery I need to be functional, I am just playing around with different mods to see what else I can do (superfluous, almost Rube Goldberg Machine inventions).

I just finished making a potato baking line, using conveyor belts, item ducts, and a RedNet controller.

I then had a flash - PRCs seem like quite powerful little buggers, and I was wondering if it were possible to make a display that would tell me in real-time how long until my capacitor banks are full, or depleted, based on my power usage and stored power.

I haven't been able to find much information online as to how I can translate information from a RedNet network to, say, a computercraft monitor.

Any help or pointers would be greatly appreciated! I could make a little video of me building it afterwards and post it as a how-to.

Thanks!
The PRC is not a magical box that just do all conceivable things. Its programming lets you simulate different simple logic gates all in the same block(instead of laying Project Red gates out with wires between them etc.). That is it...

What you want is into the realms of real programming and you need CC(or similar) for that. CC is indeed capable of reading a EIO capacitor bank and using values in all kinds of things(such as displaying them on attached Monitors). Time based rates and the likes gets complicated however, as you need to differentiate(or an approximation thereof) and that is complicated and takes up LOTs of resources. So you really don't want that...
But it is fairly simple to write a program that reads a capacitor and lists current and max energy for example.

I wrote this a while ago:
http://pastebin.com/0TM9aRbw
Its fairly simple. It reads a TE energy Cell or EIO capacitor bank, displays values on attached monitor(optional) and outputs redstone to toggle generators on and off when energy gets high/low. If you cannot use it directly, then maybe you can use it for inspiration.
 

swordfish71

New Member
Jul 29, 2019
9
0
0
I see your point. The capacitor banks already have integrated displays that show input and output rates, and the level in a vertical bar... so I think I am going to stick to these displays. Thanks for your input!