Minecraft – How to detect if an LV line is powered

minecraft-industrialcraftminecraft-java-edition

I'd like to turn some redstone on and off, depending on whether an LV line powered by solar panels is on or off. Is there a way of doing this?

They are IndustrialCraft Solar panels, which are powering a batbox, which is in turn powering a copper cable, the status of which I'd like to query.

I am using the Direwolf FTB modpack.

Best Answer

Two options:

  1. Use a Detector Cable. It can accept up to 32 EU/p and emits a Redstone signal if energy is flowing through it. However, it has a very high energy loss (0.5 EU per block).

  2. Use the BatBox or equivalent storage unit itself. If you right-click it, you should have a button with Redstone dust on it. Click that until you get the "emit if empty" behavior. This will make the BatBox output a Redstone signal if it doesn't have energy to send. It's smart enough to output a signal if it has some leftover energy, but not enough to send a packet.