Page 1 of 1

Daylight Sensor

Posted: Tue Jun 07, 2016 7:21 am
by stylistic_sagi
It would be nice to have a daylight sensor for the circuit network so you are able to automaticly shut things down during the night to safe power.
This way you can midgame protect yourself more against black outs.

Re: Daylight Sensor

Posted: Tue Jun 07, 2016 8:02 am
by Neotix
You can build that sensor by yourself.
You need solar panel, two tanks with water (need a little water, not full), small pump nad combinators.
Connect tanks together and pump water from one tank to another. Pump have to be powered by solar panel.
During day, water from tank 1 will by pumped faster then moved back from tank 2 so tank 1 will have less water then tank 2. At night pump will not work and water level will be eventually equal in both tanks. Connect tanks with combinators and set conditions to detect day/night cycle.

Re: Daylight Sensor

Posted: Tue Jun 07, 2016 9:55 am
by stylistic_sagi
Very clever i must admit, however the suggestion is mostly used for mid game problems when you are starting out. Your plan requires electric engines wich you will produce once the black outs will no longer be a real problem

Re: Daylight Sensor

Posted: Tue Jun 07, 2016 11:06 am
by Neotix
Then you can build power detector
viewtopic.php?f=8&t=23604#p148095

If i remember correctly, combinators are available pretty fast.

Re: Daylight Sensor

Posted: Tue Jun 07, 2016 11:37 am
by BlakeMW
In 0.12 it's not easy to shut things down without spending a lot of resources on the ability to shut them down :P. You pretty much have to use smart inserters to stop feeding resources into assemblers/furnances, so they stop processing. But smart inserters are actually pretty expensive early on and it'd probably work out cheaper to just spend those resources on a bit more steam power.

In 0.13 we'll get a power switch which makes this easier along with improved ability to turn off all sorts of things. It'll be particularly easy to detect low power, for example checking if an accumulation is < 99%

Re: Daylight Sensor

Posted: Wed Jun 08, 2016 6:46 am
by stylistic_sagi
Neotix wrote:Then you can build power detector
viewtopic.php?f=8&t=23604#p148095

If i remember correctly, combinators are available pretty fast.
Gonna try this, thnx!

Re: Daylight Sensor

Posted: Mon Oct 21, 2019 1:55 pm
by judos
Hi there,

I built a daylight sensor which is more precise using combinators and a solar panel only.

See here if you are interested: viewtopic.php?f=193&t=77046&p=462595#p462595
daylight sensor vanilla.PNG
daylight sensor vanilla.PNG (1.07 MiB) Viewed 10817 times
cheers