7 Days to Die

7 Days to Die

View Stats:
Switches and Electrical work
How do I tie a switch to a generator so I can quickly turn on and off blade traps?

When I tried tying a switch to a generator before, it said: This item cant have a parent connection....and wouldnt let me. However, it let me tie the generator to the switch, but then it didnt do anything.

Using blade traps out in front of my base, it would be much easier if I could hit a switch to turn on and off traps, vs hitting the generator and pressing off all the time.
< >
Showing 1-11 of 11 comments
Shurenai Jun 13, 2021 @ 1:25pm 
The electrical system is a parent->child connection system. Meaning you connect from the parent connection to the child, not the other way around.

So your Generator is your primary parent- All connections go OUT the generator, but nothing can go IN to the generator. Similarly, because the Switch must be the Parent of anything you want it to shut off, the things you want to shut off cannot go 'in' the switch, but must instead come 'out'.

So, to achieve your goal, you would need to do, as a quick example:
"Generator->Switch->Everything you want to turn off when you flick the switch"


To further clarify something, All objects can only Receive one incoming connection; But may send out numerous outgoing ones. so you cannot wire loops, it's all one big one-way track of parent->child connections.
Last edited by Shurenai; Jun 13, 2021 @ 1:26pm
Kara Jun 14, 2021 @ 1:12pm 
connect in this order: generator > switch > blade traps > and a light bulb if you want to detect if the blades have died. Think of it like christmas tree lights. You unplug the beginning, all the lights go out.
Can we tie multiple generators together, so I only need 1 power line? Then I connect that 1 line to various places?
Teresa Jun 14, 2021 @ 4:35pm 
nope
Capt. W. Schwartz Jun 14, 2021 @ 4:47pm 
The current power system is a place holder, and will be upgraded in a future Alpha.
-
Power Relays are your best friend, they come in normal and timer versions.

Trap Wiring:
Generator->Switch->Power Relay->Multiple Traps
or
Generator->Battery Bank->Switch->Power Relay->Multiple Traps
Solar Bank->Battery Bank->Switch->Power Relay->Multiple Traps
-
Light Wiring:
Generator->Timer Relay->Power Relay->Multiple Lights
or
Generator->Battery Bank->Timer Relay->Power Relay->Multiple Lights
Solar Bank->Battery Bank->Timer Relay->Power Relay->Multiple Lights
-
Battery Charger:
Generator->Battery Bank
Solar Bank->Battery Bank
Last edited by Capt. W. Schwartz; Jun 14, 2021 @ 4:52pm
Originally posted by Capt. Q. Schwartz:
The current power system is a place holder, and will be upgraded in a future Alpha.
-
Power Relays are your best friend, they come in normal and timer versions.

Trap Wiring:
Generator->Switch->Power Relay->Multiple Traps
or
Generator->Battery Bank->Switch->Power Relay->Multiple Traps
Solar Bank->Battery Bank->Switch->Power Relay->Multiple Traps
-
Light Wiring:
Generator->Timer Relay->Power Relay->Multiple Lights
or
Generator->Battery Bank->Timer Relay->Power Relay->Multiple Lights
Solar Bank->Battery Bank->Timer Relay->Power Relay->Multiple Lights
-
Battery Charger:
Generator->Battery Bank
Solar Bank->Battery Bank

What about Powered Garage Door wiring? I just set one up with the generator some a few of the Power Conduit things. I couldnt get it working with switches.
Capt. W. Schwartz Jun 14, 2021 @ 9:16pm 
Works in my game. Don't forget to make sure generator is fueled and running.

Power Supply->Relay->Switch->Powered Door

You can technically just run:
Power Supply->Powered Door
...power on, door open; power off, door closed
You just need to be able to reach the Generator from both side of the door.
Last edited by Capt. W. Schwartz; Jun 14, 2021 @ 9:21pm
Shurenai Jun 14, 2021 @ 9:48pm 
Originally posted by Lord-Knight Fandragon:
Originally posted by Capt. Q. Schwartz:
The current power system is a place holder, and will be upgraded in a future Alpha.
-
Power Relays are your best friend, they come in normal and timer versions.

Trap Wiring:
Generator->Switch->Power Relay->Multiple Traps
or
Generator->Battery Bank->Switch->Power Relay->Multiple Traps
Solar Bank->Battery Bank->Switch->Power Relay->Multiple Traps
-
Light Wiring:
Generator->Timer Relay->Power Relay->Multiple Lights
or
Generator->Battery Bank->Timer Relay->Power Relay->Multiple Lights
Solar Bank->Battery Bank->Timer Relay->Power Relay->Multiple Lights
-
Battery Charger:
Generator->Battery Bank
Solar Bank->Battery Bank

What about Powered Garage Door wiring? I just set one up with the generator some a few of the Power Conduit things. I couldnt get it working with switches.
Triggers and sensors work a little oddly in that, if you want more than one trigger or sensor to affect the same object, you must directly wire the two(or more) triggers/sensors togther first and then wire one or the other two the door.

And by directly, I mean for example:
Generator->Possible Relays or anything else->Motion Sensor -> Motion Sensor -> Possible Relay -> <Thing you want to be triggered>

You cannot have anything wired inbetween the two motion sensors- Not even a relay. If the two are directly wired with nothing inbetween, either one can act as a trigger for what comes further down the line- However if there is ANY separation between Trigger/Sensor#! and Trigger/Sensor#2, even a relay, the first trigger will instead determine whether or not the second trigger can be triggered.

To put it in terms of Logic Gates, If you wire two triggers/sensors directly together, You create an 'OR' gate; But if you have any separation it becomes an 'AND' gate in which the first of the two must actively triggered before the second can be triggered.

To be extra clear- You can have relays before, or even after the chained triggers/sensors; But not inbetween them.
Last edited by Shurenai; Jun 14, 2021 @ 9:55pm
Originally posted by Shurenai:
Originally posted by Lord-Knight Fandragon:

What about Powered Garage Door wiring? I just set one up with the generator some a few of the Power Conduit things. I couldnt get it working with switches.
Triggers and sensors work a little oddly in that, if you want more than one trigger or sensor to affect the same object, you must directly wire the two(or more) triggers/sensors togther first and then wire one or the other two the door.

And by directly, I mean for example:
Generator->Possible Relays or anything else->Motion Sensor -> Motion Sensor -> Possible Relay -> <Thing you want to be triggered>

You cannot have anything wired inbetween the two motion sensors- Not even a relay. If the two are directly wired with nothing inbetween, either one can act as a trigger for what comes further down the line- However if there is ANY separation between Trigger/Sensor#! and Trigger/Sensor#2, even a relay, the first trigger will instead determine whether or not the second trigger can be triggered.

To put it in terms of Logic Gates, If you wire two triggers/sensors directly together, You create an 'OR' gate; But if you have any separation it becomes an 'AND' gate in which the first of the two must actively triggered before the second can be triggered.

To be extra clear- You can have relays before, or even after the chained triggers/sensors; But not inbetween them.

So Motion Sensor is how I get the garage door to open just by me driving up to the door?
Do Battery banks run out of juice, requiring me to put in new batteries eventually? Or do they keep charging if they are attached to a generator that is running? So long as I keep a generator fueled, the battery bank will keep its power?
Capt. W. Schwartz Jun 16, 2021 @ 9:49am 
Originally posted by Lord-Knight Fandragon:
So long as I keep a generator fueled, the battery bank will keep its power

Correct.
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jun 13, 2021 @ 11:32am
Posts: 11