How to get data
matyklug18 opened this issue · 16 comments
Issue type:
- ❓ Question
Question:
how i can get data from network, for example, from redstone reader?
Easy :-)
Just plop down your part (i.e. redstone reader), check the id of the part, and go to http://localhost:3000/networkElement/integrateddynamics/part/<yourpartid>
.
Either check the WAILA/TOP tooltip if you have either of those installed, or break (and replace) the part to get the part id via its item tooltip in your inventory.
don't work for me :(
If you'd specify what doesn't work for you, then I'd be able to help.
yeah, it is 4, but i do not see the value from the reader in that json.
it looks like this:
https://pastebin.com/EkWS6kXD
and i power it with power 14, but no 14 here...
Ah, but that's because it's a reader, which has a bunch of different values.
What you want instead, is to write one of those aspects to a variable card, and insert that into any other part (like a writer or proxy), and check the JSON output of that part.
The reason for this is that the JSON output only outputs a single value (as done by a writer or proxy), while readers would show multiple values.
if i enter id of proxy where is the card: error": "Resource was not found."
but writer work for me, THANKS!
Is the proxy attached to a cable. Can you show a screenshot of your setup?
Maybe there is a bug with the proxy. Perhaps you can try a writer instead.