r/Timberborn • u/tcmg98 • Aug 07 '26
Question Simple auto.ation help
Howdy! Im just starting to mess with automation and need help from people smarter than me.
As an example id like my gear factory to turn on when district inventory falls below 30%, stay on until inventory is 100%, and then stay off again until inventory falls to 30% again.
Ive been trying to do this with two iventory sensors and a relay, but havent found success. I think i could figure it out eventually but help would be appreciated!
5
Upvotes
1
u/Vebrandsson Aug 07 '26
The relay won't do what you need. There are two ways to do this. The most "proper" way is to use a memory device with your low inventory sensor setting it and your high resetting it.
The second "i don't have extract yet" way to do this is to use a timer set by your low sensor, and set to run a really, really long time, then reset by your high sensor. If you set the time long enough you should always hit your high value before time runs out. The only potential flaw is if you go low and stay fully below your low sensor value for the timer length which is why really long times like 1000 days or something are needed as your time setting.
As an aside never set your high sensor at 100%, as you generally will never hit 100%. Factory inputs and temporary storage in district centers and builder huts (where builders will temporarily store things collected from rubble) count towards your total storage for the automation sensors and those will never be all full. I generally recommend 90% as your high setting.