Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Kinuferu

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by Kinuferu

  1. Hello all!

     

    Wasn't quite sure how to phrase the title, but hopefully that will do.

     

    Basically, I'm trying to create a sort of base overview program which lets me view data on all my machines (around ~350) from a single location. It will just tell me the essential stuff - power, processing progress, and the item being processed.

     

    To do this, I'm using adaptors which get the info from the machine themselves, and an inventory controller upgrade to see the stuff that is being processed by them. One adaptor connects to two machines:

    577d0da6e1a16.jpg

     

    The issue I've run into however, is matching the inventory controller to the machines it is touching, so that I can print the correct item for the relevant machines. When I use component.list() to see what components are on the network, it just throws them all back in a random order.

     

    My only current thought is to manually input every single address and match them within the code - which is very tedious to do (considering how many machines I have) and seems a little bit silly too. It also makes my program useless to everyone except me even with identical setups, and from testing the address for a machine changes when it's replaced, so it would need future maintaining should I change anything.

     

    Does anyone know of a way I could somehow organise the machine components so the two machines will match up with the inventory controller they should be paired with? I was thinking of somehow naming machines based on their position relative to the adaptor, or even using location in world (Much easier to change for other users than inputting hundreds of new addresses) - but neither seem to be available.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.