This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
KrishnaSiva's profile picture

How do I monitor IC2 and BuildCraft Storages wirelessly on my pocket pc?

Started by KrishnaSiva, 11 December 2015 - 03:34 AM
KrishnaSiva #1
Posted 11 December 2015 - 04:34 AM
Hey guys, I've playing with Computercraft, Buildcraft and IC2 for a while now, and I find it hard to always monitor and refill the storages again and again. Like, I dont know how much percentage there is, and I want to register them and when I run an program " Storages" it should show me the percentage of storage in my CESU or Fuel Tank in percentages and They are about 100 blocks away from my home.
I want them to show like:

Oil Tank: 75.7%
CESU: 80.85%

Is this possible? if so, can you teach me how to code this? (P.S I only use advanced wireless computers.)
Lupus590 #2
Posted 11 December 2015 - 02:32 PM
Do you know how to monitor what you want to monitor with a full-block computer? Do you know how to communicate via rednet?

Wireless monitoring of your base is just a matter of combining two principles, collecting the data locally, and then transmitting the collected data to a pocket computer.
Edited on 11 December 2015 - 01:32 PM
KrishnaSiva #3
Posted 11 December 2015 - 04:27 PM
Yeah, I used OCS, but I don't know just how to just collect the data and stream it into the same wireless channel as my pocket pc to display the filled percentages.
Lupus590 #4
Posted 11 December 2015 - 05:46 PM
I'm not familiar with OCS so you will have to learn this yourself.

As for sending the data, you will need to know how to use the rednet API.
Your pocket computer will also need to know which number is for which tank/container. For this you will need to decide on a standard way that your two programs are going to communicate.
Bomb Bloke #5
Posted 12 December 2015 - 12:50 AM
Getting the data in the first place requires you to understand peripherals. The functions available for IC2/BuildCraft blocks come from the OpenPeripherals mod, which offers little in the way of online documentation. Use something like this script to help you discover what functions they have and how to use them.

Many OpenPeripherals functions will require you to have a decent understanding of tables.