Cabius Posted January 2, 2013 Posted January 2, 2013 Would it be possible to make lamps turn on at night and off during the day? I have tried a light sensor but it is to sensitive, it detects moonlight and the lights stay on all the time. I have tried timers but since the night is shorter than the day that wont work either. Quote
Shizlanski Posted January 2, 2013 Posted January 2, 2013 You can adjust the sensitivity of the light sensor with Ctrl+Right click using the screwdriver. If you can't get it to work (you've done something wrong) you could just use a computercraft computer. Quote
collybolly Posted January 2, 2013 Posted January 2, 2013 Would it be possible to make lamps turn on at night and off during the day? I have tried a light sensor but it is to sensitive, it detects moonlight and the lights stay on all the time. I have tried timers but since the night is shorter than the day that wont work either. You could use an RS-NOR latch or a toggle latch to switch timers with every other iteration. Quote
EricFate Posted January 2, 2013 Posted January 2, 2013 I used to get around this by using a solar panel as my detector. Ran the panel to a bat box, ran the bat box to something which would keep a constant drain on it (the luminator used to work well). Then set the batbox to emit a redstone signal when empty. That signal was then used to switch on all the lights. Quote
Niavmai Posted January 2, 2013 Posted January 2, 2013 There's also a way to do this in vanilla. Quote
Xylord Posted January 2, 2013 Posted January 2, 2013 I used to get around this by using a solar panel as my detector. Ran the panel to a bat box, ran the bat box to something which would keep a constant drain on it (the luminator used to work well). Then set the batbox to emit a redstone signal when empty. That signal was then used to switch on all the lights. There is also a kind of cable that gives a redstone signal when there is current passing through it. So, you could use this to know whether the panel is outputting or not with more precision. Quote
swilso421 Posted January 3, 2013 Posted January 3, 2013 If you set a redpower sequencer to 300.00, it will sync to the world clock. One of each of the four outputs will be on at each different stage of the day. 1. Dawn-Noon, 2. Noon-Dusk, 3. Dusk-Midnight, 4. Midnight-Dawn They should go in a clockwise order so all you have to do is hook up the dusk-midnight and midnight-dawn outputs to your lamps and it will turn them on. P.S. Dawn is the point where monsters burn and dusk is when they spawn. Quote
Teraku Posted January 3, 2013 Posted January 3, 2013 Sequencers and timers are actually always synchronized to the world clock, it's just that setting it to 300 seconds makes it emulate time of day. But yeah, that would probably be your best bet. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.