Sir_Obama Posted March 13, 2014 Posted March 13, 2014 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?
freakachu Posted March 13, 2014 Posted March 13, 2014 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.
Sir_Obama Posted March 13, 2014 Author Posted March 13, 2014 really? that's good to hear, have to try that out later!
Noles Posted March 13, 2014 Posted March 13, 2014 The code I am using for this.. c1 = peripheral.wrap("direction") c1level = c1.getEnergyStored("direction")
rogueclon946 Posted March 14, 2014 Posted March 14, 2014 Comparators can measure rough percentages of power in cells as well, and are cheaper and easier to use.
Sir_Obama Posted March 14, 2014 Author Posted March 14, 2014 I actually find computercraft easier to use
rogueclon946 Posted March 14, 2014 Posted March 14, 2014 Well, whatever works for you. Comparators are a viable option too though.
Niverton Posted March 15, 2014 Posted March 15, 2014 cell = peripheral.wrap(SIDE) power = cell.getEnergyStored("") capacity = cell.getMaxEnergyStored("") I don't know why, but the "" thing as parameter is (was ?) required
freakachu Posted March 16, 2014 Posted March 16, 2014 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now