Smart recycler ?
I think often time things are called "smart" when in fact they really are "automated in a mediocre way" so i let you judge on this one. The idea is that the recycler decide instead of the player what to recycle and when to do it. But one recyler would feel lonely, so you could add more of it, to help. It's more a team of recycler, or a block. It can works with just 1 but is expandable. It was made for Fulgora initially, their task is to recycle things when there is too much of it, which is defined by "how many full chest of it". It was mostly used for quality things at first, when enough stock of a quality level for a particular item, like iron plate, recycle the excess to the next quality level and so on. It look like this :What it does ?
This block can be "pasted" in a logistic network. That's how to set it up, you just paste it in a network and it will read the quantities of material in that network.And then it will set the first recycler to recycle things if there is more than X number of full chest of it.
The second recycler would start recycling the second most comon item if there is a second item that is filling more than X chest in the network
The third recycler would start recycling the third most comon item if there is a third item that is filling more than X chest in the network
you get it for the 4rth 5th and so on.
It is not made to have more than 1 recycler working on a single item. ( just duplicate it ).
How ?
Here is a picture where in red are all the things that are not necessary, it's just me who added them for my smart recycler to also look awesome, but it's an objective only partially fulfilled for time being i'm afraid. You can still use as is if you have no better taste.the general look :
In green are 3 rows currently working, you can see on the right on the display pannel which item is currently being recycled. copper ore for the upper one , green circuit and iron ore, the display pannel at the end of each row is automated too.
The lamps lit indicate configurable threshold of number of chests. here 1 lamp is 1 chest, the second light up only when there is at least 5 full chest of the item, the 3rd lamp 10 full chests, as indicated by the others (hardcoded) display pannels That's what most of the red boxes are used for, to make sure each lamp as a distinct color too, turning toward red the more full chest are present.
the core logic (The blue circle)
Reading from a roboport the content of the network, getting the stack size of all item, dividing the network content by the stack size, and then by 48 because there can be 48 stack in a chest allow for a knowing how may chest of material are in the network.
Then giving those signal an index and sorting them allow to set request on the requester chest of each recycler so that 1 recycler work per item, starting by the most comon.
The extra combinators on the left side associated to each recycler are just filter and things to allow the build to be expanded by copy pasting
There is an extra constant combinator setup with holmium and legendary plastic, to demonstrate how to exclude some item from the recycling process.
Here is the blueprint, with some more annotation on the combinators and set up to get rid of everything above 2 chest ( T signal ):
Extra bits
I used this setup to create diferent logistic network in fulgora, each of them isolated and dedicated to a quality level, with those recycler block in it, to make sure the amount of trash would be regulated, and everything that overflowed would be transformed of higher quality ,and send to the next logistic network with inserter transfer. It worked well to provide me with constant stream of quality material. The idea being to open/stop the valve of the scrap for the first network, when there is something missing in the "legendary" one. All of this in a secondary island , not the one making science. One dedicated only for quality material for me to have fun with in the late game while not bothering about it too much while discovering the other planets. It worked well enough for my game that i'm posting it with some modifications because you should increase the quality of the recycler and the modules if you can when you can .It's obviously not made to be minimalistic. It easier to duplicate it rather than to try and add more recycler for the first item., just duplicate the first few rows several time creating different small blocks.
If you want to test it easily i recommend a setup like this in editor: where you replace some of the infinite chest full of ore by yellow chest or vice versa :