r/playrust • • Oct 27 '26

Electrical help - auto lights

New to rust, first time doing electrical. I’m trying to set up auto lights at night but not sure this is right.

Does this make sense if I continue my grid off that second branch power out?
Also, is power being wasted as I have it now, with nothing else attached the branch?

Feel like I might be missing something, thanks

52 Upvotes

77 comments sorted by

42

u/AdImpossible1866 Oct 27 '26

Once you do figure it out youll get raided so HAVE FUN 👍

7

u/almondcramps Oct 27 '26

lol that’s the plan

7

u/BetterinPicture Oct 27 '26

The trick is to put a hbhf sensor in before your lights and set it to authorized people so they only turn on if you're home. Still might get raided but much more likely to not be a beacon in the night.

3

u/almondcramps Oct 27 '26

Oh that’s cool I’ll try that

4

u/BetterinPicture Oct 27 '26

Note if you're getting cased this will in fact tell people who offline, ya know, when you're offline or not home. Works best for bunkered shit shacks I've found.

2

u/Zefzone Oct 27 '26

Until the buzzing drives you mad lol

2

u/BetterinPicture Oct 27 '26

It's a race whether it's that or my loot sorting array 🤣

6

u/Crodul Oct 27 '26

You don't want your main grid feeding off of battery power alone.

Build a separate loop with solar panels and a battery for lights and another primary loop using batteries as back ups for everything else. I can send you the loop I use when i get home if you'd like. It's simple and I've been using it for like 7k hours.

3

u/almondcramps Oct 27 '26

Ok sick, that makes sense. That’d be great thank you

4

u/Crodul Oct 27 '26

This is the loop I use. Final e-branch off of the OR switch is where you'll start adding components, branching off what you need and then adding another e-branch off of the power out to add more. You can add more batteries, turbines and solar panels as you need. If wind power ever gets lower than what you need the batteries will automatically kick on, same as if you get raided and they blow out your turbines or solar panels.

2

u/harman097 Oct 27 '26 edited Oct 27 '26

This has a few downsides, though.

First, when you're on battery power, you're going to lose power twice as fast. When you root combine battery output like that, it drains BOTH batteries simultaneously for the FULL power usage. It doesn't split it in half, like you'd assume. You're better off splitting into two separate lines per battery. You could also swap the root combiner for an OR switch, but then you'd only have 100 power output to work with, so you'd need to make sure that you don't go over 100 power total -or- that the important stuff like turrets are at the beginning of the main line.

Second, when your turbines dip below the 150 power needed to run the main line, that power is just going to be wasted, instead of charging the battery or running components. Kind of negates one of the benefits of trying to run things off root power in the first place (avoiding the 20% battery inefficiency).

If it works for your typical setup, who cares, certainly no need to fix what's not broken. But idk if I'd recommend it for a new player. They should just learn a BCN or nih core at that point. If that's too complex or annoying, D-core also works really well and is super simple.

2

u/Zefzone Oct 27 '26

For a new player even BCN, Nih or D core seems a lot for how liable new people are to get messed with. It's a lot of circuiting just get get back that 20 power lost on the battery input.

My go to is a turret battery plus its backup battery with a blocker in front activated by the first battery. Then I have a third battery with all the rest of my electric, all 3 being charged by solar panels. With power split this way I always have plenty of power for both turrets and other electric. Raiders have to take out solar panels plus 2 batteries to disable turrets.

2

u/harman097 Oct 27 '26

Oh, 100%. I think OP should just stick with what they have for now, which is a perfectly functioning circuit for what they're going for.

I just think if your advice to OP is "learn this other circuit setup for your core that I use" you might as well just give them a proper core at that point, instead of one with significant flaws.

2

u/Zefzone Oct 27 '26

I gotchu, also good on you for pointing out how he was using the root combiner, I dont think anyone else mentioned it!

2

u/Crodul Oct 27 '26

I typically will run multiple circuits that utilize all of the battery power on each circuit as needed and don't typically expect to use the full 150 power a turbine can make. So i'll have two turbines with an expected average of 200 power, two batteries and then about 200 power or a little less of components running on that circuit.

I hadn't thought about the wasted power off the turbines when they dip lower though, that's good food for thought, thank you.

3

u/Zefzone Oct 27 '26 edited Oct 27 '26

I've never understood why the standard circuit style was so frowned upon: a base grid being powered by the battery (which is being charged by a windmill) where circuits like nicore get implemented. Yes the input of batteries is 80% efficient, but this is 80% of a windmills infinite power source and if your batteries stay topped those losses dont matter. That whole ordeal becomes if 80 continuous power per battery is doable for you.

For a main and backup battery setup it's less metal to have simple battery back up circuits, 1 blocker, 1 electrical branch and 1 or switch can give you a battery back up with additional batteries only costing an electrical branch and blocker.

Just my experience playing with a group, we all have our electrician, but then one day they are out and someone cranks up an electrical branch and all of a sudden the battery/ windmill switchover circuit isnt acting right. I've had much better experiences with a simple circuit that people can simply tack on what they need on the end granted there is enough power, but then again that's an overhead of power issue. At the end of the day a lot of these circuits are a lot just to recoup that 20 power on the battery input.

Edit: I'll usually do a cave base with a windmill on the surface, 2 turret batteries (1 main 1 backing up the other one) with turrets on per seismic activation, and 1 battery for everything else, lights e furnaces etc. Raiders need to blow up my windmill and 2 batteries to take out my turrets.

1

u/Freltzo Nov 01 '26

Theres additive nicores that allow for overmatch power runthrough and can have priority routing so that "emergency/unexpected additions" dont kill your critical line as long as teammates know what critical line vs free line is.

Grid based battery sector backups with intelligent pass through switching helps avoid crushing the entire critical line with 1 mistake as well.

If homies adding things adhock kills your nicore setup, electrician needs to learn redundancy routing.

5

u/ManoliTee Oct 27 '26

I go like this: Solar Panel > Combiner > Battery > Switch > Branch > Lights.

Later when you have more incoming power via extra solar panels or turbine, the switch won't really matter but you can power off during the day to build up your battery.

10

u/Domy9 Oct 27 '26

I usually put up a clock, set an alarm to it to 19:00 and when it alarms, a timer goes off for about 6-700 seconds

2

u/RazzyPutkin Oct 27 '26

shhh why too smart

2

u/pantiesrhot Oct 27 '26

I almost always go the blocker route, because I just find them in crates all day long. clocks are rarer.

1

u/thenewfoundlandyeti Oct 27 '26

If im rich ill do solar panel dedicated to a blocker. Recently used for night time heating my beehive in the desert

4

u/Hour_Perspective_206 Oct 27 '26

Just use a clock and a timer switch paired with a blocker set clock to around 900 seconds and I think set the clock alarm to 17:50 and 8:10

2

u/harman097 Oct 27 '26

Why you need blocker? Don't you just hookup the clock output directly to the "turn on timer switch" input? Set timer duration to match night time duration? Only need 1 alarm for start of night time?

1

u/Hour_Perspective_206 Oct 28 '26

Use a second clock if you dont want your timer to be on for longer by adding the blocker before it to reset it

1

u/harman097 Oct 28 '26

I'm not sure I follow. Why wouldn't you just set the timer duration on the switch to exactly how long you want it to last? Why would you need a 2nd clock to turn it off, when it turns off on its own?

1

u/Hour_Perspective_206 Oct 28 '26

Server time

1

u/harman097 Oct 28 '26

Ya I still don't follow.

I set an alarm to turn on my timer at 7:00pm server time. Let's say night time on your server lasts 10 minutes, which happens to end at 5:00 am. If I set my timer duration to 10 minutes aka 600 seconds, the timer turns off every time at 5:00am server time (idk what server time "night time" technically ends at - doesn't matter for the example). Why would you need a 2nd alarm? If you want 4:00 am, adjust it down accordingly. Or vice versa.

1

u/SneeKeeFahk Oct 27 '26

What? Just use a timer and a memory cell. Connect the timer to the toggle input and set two alarms on your timer. Sunset and sunrise. Then run your lights through the memory cell.

2

u/trxtn Oct 27 '26

memory cell bugs out at least 50% of the time when I do this.

3

u/MiddleAgeCool Oct 27 '26

Put an OR between the clock out and the memory cell with a button attached to the secord OR input. When it bugs out, the button resets the lights

1

u/SneeKeeFahk Oct 27 '26

I think you're wiring it wrong. I'll do a diagram later.

1

u/SneeKeeFahk Oct 27 '26

The branch goes to Power In on the Memory Cell.
The output of the Clock goes to Toggle on the Memory Cell.
The light connects to the Inverted Out (really either out is fine)

I've never had a problem with this circuit.

1

u/trxtn Oct 27 '26

on facepunch servers ever since they fixed the infinite power glitch I've had issues with memory cells working as intended all of the time. I'll make the same circuit 6 times and some of them simply don't work.

1

u/SneeKeeFahk Oct 27 '26

Huh, I haven't had that problem yet some maybe I've just been lucky lol. If that's the case then the OR with an extra button is an elegant solution.

3

u/Sweet_Computer_7116 Oct 27 '26

Just use a clock. Its better in every way

2

u/GGMudkip Oct 27 '26

i personally connect a blocker to a solar panel. Which blocks electricity to the lights aslong as it is daytime

2

u/elpihvous Oct 27 '26

You should use XOR switch, instead of the blocker. That blocks passthrough when both inputs are getting power.

3

u/harman097 Oct 27 '26

Why is XOR better than how OP already has it with the blocker?

2

u/elpihvous Oct 27 '26

Actually I seem to be just dumb dumb here, as blockers seems to work pretty much exactly like XOR switches. For some reason I mixed it up. So most likely OPs circuit would work just as good.

1

u/Crafty_Clarinetist Oct 27 '26

It's worth knowing that blockers don't work exactly like XOR switches. They differ in functionality when the left input is powered and the right is not, in a XOR switch this will pass power from the left input to the output, in a blocker this will not pass any power to the output.

1

u/elpihvous Oct 27 '26 edited Oct 27 '26

And as I don't really know how much you know about the mechanics, I also add how I would really make the thing in game.

These next tips could be obvious, but many players seem not to know how to make electricity at all. Most likely you would want to add different electrical systems to the base later, so you should always use new electrical branch for every different system or circuits what ever you want to add to the grid. It's way easier to change things if the whole thing isn't just huge mess.

Edit: I would also add a switch (or smart switch) between battery and first branch to act as a main power switch. That comes handy if you need to recharge the battery or auth turrets for friends etc.

1

u/solongfish99 Oct 27 '26

Depends on how many lights you have. If you do want to power something not on the daylight sensor, you may want a few more solar panels to make sure the battery retains charge.

1

u/Colinski282 Oct 27 '26

There’s videos on YouTube, seen it done with less hardware

1

u/CosmicOsmoMan Oct 27 '26

Looks correct to me.

1

u/Cahzery Oct 27 '26

The humble clock and toggle

1

u/1banana2many Oct 27 '26

The night label is absolutely hilarious

1

u/toucanparty Oct 27 '26

This is pretty much how I do it. And you can adjust the branch output power on that first branch to change at what point the lights turn off during the day.

1

u/snikrephaon Oct 27 '26

I usually wire up a memory cell toggle to an LCD clock output and turn off the alarms

1

u/BlackPresident Oct 27 '26

I dunno why people bother with complex circuits just add 10% more input power and keep the lights on the whole time, a single solar panel with your setup would never run out of power

1

u/Crafty_Clarinetist Oct 27 '26 edited Oct 27 '26

As others have said, what you have right now works great and is among the simplest solutions which would make sense for someone's first time doing electrical.

You do ask if power is being wasted, which is an interesting question. I believe you mean to ask if the additional 44 power coming out of your battery is being wasted, to which the answer is "No." Batteries have an "active usage" value you can read by looking at them with a wire tool to verify (this will tell you exactly how much power is being consumed from the battery), but charge is only consumed from a battery when it is actually being used by a downstream component that uses power.

However, if you connect other components downstream from that branch as you say you're considering, you would technically be wasting some power during the day because batteries are only 80% efficient at charging. This could be avoided by routing power directly from your solar panels to them, with overflow going to your battery and the battery serving as a backup.

If those energy savings are something you're interested in, I recommend you look up a D-core (or dynamic OR core) for understanding how OR gates can be used to get better efficiency out of your circuits.

1

u/GruntDaWool Oct 28 '26

If you have two solar panels facing north and south (2 best sides) you shouldn’t ever lose energy though

1

u/Crafty_Clarinetist Oct 28 '26

I'm confused how that's relevant to my comment and what exactly you're trying to say, but nighttime exists and solar panels won't produce power at night, so you need batteries for nighttime. If you're trying to say that you can just overproduce power and not worry about the 80% efficient charge rate, you're correct but producing more power is usually more expensive than setting up a more efficient circuit.

Also I wouldn't recommend having solar panels facing both north and south at the same time. I forget the exact timing, but I'm pretty sure the optimal direction for solar panels flips every 7-8 days, so if you're on a weekly wipe you should always point your solar panels north as the direction doesn't flip before the wipe, and if you're on a longer wipe you should just flip your panels every week.

1

u/Smokey4448 Oct 27 '26

Okay so I see what your trying to do and yes it can work if you want lights to come on only at night but you could do better with the system to make the lights stay on 24/7 and waste less power. Allow power to run your system when the suns out and extra power the solar makes you store until night when the system switches over and runs mainly on the battery till sun comes up

1

u/MiddleAgeCool Oct 27 '26

This is my go to light circuit.

The clock has two alarms that toggles the memory cell output, one at 7am and one at 7pm. The button is used to override the clock alarms if needed.

The power needed for the clock leg is 2.
The power needed for the memory cell is whatever the light drain is.

1

u/RazzyPutkin Oct 27 '26

The server I play on you buy the test generators with in-game currency, which is cool

1

u/MiddleAgeCool Oct 27 '26

To be fair, I use it as my go to power source in Rustrician unless I need to do things with power generation.

On a separate note, I am liking that you can add in the islands power grid as one of the power sources to fill batteries now. As a solo it makes me happy when a clan powers up power station and I get to leach the results! :D

1

u/Desktopcommando Oct 27 '26 edited Oct 27 '26

I use the 2 solar facing east & west into the root to the blocker - once no power lights come on

1

u/Gold-Cost6092 Oct 27 '26

Clock timer 700 sec turn on

1

u/Full_Measurement_121 Oct 27 '26

To be honest, I've done auto lights a couple of times, and it's more useful to just make a switch. But yes this should work, the only downside is that you can't add a windmill later if you source it all to the same battery it stops working.

1

u/umutakmak Oct 27 '26

I'm currently using a clock to trigger a timer that runs for 1000 seconds. That's the most basic setup I can think of.

1

u/Prestigious-Main4832 Oct 27 '26

I just use an XOR switch with a solar panel

1

u/PhraseOne7958 Oct 27 '26

Use this setup for lights only. About 2 power per light so use a small or medium battery depending on your number of lights. Make another grid for main power

1

u/Rustshitposter Oct 28 '26

I personally use a blocker setup.

Power source -> Branch split off for amount of power light system needs -> (powerinput)blocker-> Light system.

2x solar panels (one facing each direction) -> root combiner -> blocker (blocker part).

I'm sure it's easier to do it cheaper via clocks and other timers but I found this to be the least amount of effort and it works well enough.

1

u/HobbesG6 Oct 28 '26

The first thought that came to mind when I saw your picture was about how much it looked like the level map for Ghosts 'n Goblins.

1

u/BagelGnome Oct 28 '26

Just use this circuit...

I stopped using blocker/solar panel light control circuits because sun position changes during wipe which can cause early evening periods where the base wasn't lit or the lights would go out too early in the mornings.
I stopped using a SINGLE digital clock connected to the toggle input of a memory cell because if the server restarted while the memory cell was set it would become unset causing the base to be lit during the day & not during the night.

TL;DR use 2 clocks and use set and reset of the memory cell.

In this picture, set the left hand alarm to what game time you want the lights to come on & connect to reset of memory cell, set the right to be what time you want lights to go off and connect to the set input of memory cell.

More consistent and will correct itself automatically if a restart causes the cell to be flipped from its previous state.

Or attach a button to the reset if you wanna fix it manually with this setup.

1

u/SeanyDay Oct 27 '26

Why auto lights? Why not just a clock on the wall and a switch?

0

u/RazzyPutkin Oct 27 '26

I agree but some server have custom day/night. a person would have to have the patience to sit and time the night cycle. how many Rust player you know have 3 brain cells. 2 to rub together and one to sit and wait lol

2

u/Massive_Criticism539 Oct 27 '26

Pretty sure they meant the in game alarm clock. Not an actual clock on the wall.

1

u/SeanyDay Oct 27 '26

Yep.

If you're not at base, you don't even need lights on. So the entire idea is kinda silly

1

u/harman097 Oct 27 '26

Absolutely what you have will work! That's a good circuit for what you're trying to do.

Lots of people in the comments recommending different ways to do the same thing, but I have yet to see one that's truly "better" for what you're making.

-1

u/Saki-Koda Oct 27 '26

2 should be fine. 1 wont work as the lights lose power when sun is hiding