Jump to content

Recommended Posts

Posted

Is there a way to monitor the amount of RF in a Redstone Energy Cell with computercraft? I tried a power sensor, but it doesn't seem to work with thermal expansion 3. Any work arounds?

Posted

open peripherals is part of tekkit IIRC, which means you can access things like TE energy cells directly as peripherals.  just did this the other day myself to control turning my big reactors reactor on/off when needed.

Posted
cell = peripheral.wrap(SIDE)
power = cell.getEnergyStored("")
capacity = cell.getMaxEnergyStored("")

I don't know why, but the "" thing as parameter is (was ?) required

Posted

it wants a side in that slot.  not 100% sure why though.  in my little script I just gave it the side the peripheral was on ("bottom" in this case).  seems to work fine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...