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? Quote
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. Quote
Sir_Obama Posted March 13, 2014 Author Posted March 13, 2014 really? that's good to hear, have to try that out later! Quote
Noles Posted March 13, 2014 Posted March 13, 2014 The code I am using for this.. c1 = peripheral.wrap("direction") c1level = c1.getEnergyStored("direction") Quote
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. Quote
Sir_Obama Posted March 14, 2014 Author Posted March 14, 2014 I actually find computercraft easier to use Quote
rogueclon946 Posted March 14, 2014 Posted March 14, 2014 Well, whatever works for you. Comparators are a viable option too though. Quote
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 Quote
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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.