Output: Ender chest with pipe and gate that emits signal if there are items in chest.
Input: Ender pouch
Or
Ender chest, normal chest, two wooden pipes and two autarchic gates.
Redstone signal activates gate that sends items from normal chest to ender chest
and deactivates gate that sends items from ender chest to normal chest.
Ender pouch is used to standard on/off
Ender chest if you want for example send signal from quarry to your base when finished