Jump to content




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

networking pocket help

4 replies to this topic

#1 KrishnaSiva

  • New Members
  • 2 posts

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.)

#2 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

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 by Lupus590, 11 December 2015 - 02:32 PM.


#3 KrishnaSiva

  • New Members
  • 2 posts

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.

#4 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

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.

#5 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users