Smart switches, smart alarms, door controllers, HBHF sensors, logic gates, and complete electrical automation systems for Rust bases.
Advanced electrical systems transform reactive base defense into proactive automation. Once you grasp core electrical principles, sensors and logic gates unlock systems that defend your base while you sleep, alert you through your phone, and execute complex conditional logic. This guide covers smart components, automation techniques, and practical raid-defense circuits.
A smart switch provides remote electrical control through the Rust+ companion app. It accepts power input and outputs that power to connected devices based on your commands. You toggle the switch on or off from your phone, instantly controlling circuits from anywhere outside the game.
Common smart switch applications include toggling base lighting before logging in, remotely activating or deactivating turrets when raids occur, controlling door controllers without being physically present, and pairing smart switches with smart alarms for complete remote monitoring. Teams coordinating across time zones benefit enormously from remote turret control.
Smart switches consume minimal power but introduce latency. Expect a 1-2 second delay between tapping the app button and the in-game toggle occurring. This delay matters when time-sensitive decisions arise during raids.
A smart alarm sends a push notification to your phone via the Rust+ app when it receives power. Wire a smart alarm to the output of an HBHF sensor, and you receive notifications the moment an unauthorized player enters sensor range. Name each alarm distinctly (Front Door, Roof, Tunnel, etc.) so you know which base area is under threat.
Combine smart alarms with smart switches to execute remote responses. Receive an alert that your front door area is under attack, then immediately activate turrets from your phone. This layer of automation lets you defend your base from hours away. Teams with active players can respond to alarms with coordinated turret or trap activation.
Smart alarms can also send notifications based on complex logic. An AND gate receiving input from both an HBHF sensor and a nighttime timer sends alarms only for nighttime breaches, reducing noise from false daytime alerts.
Door controllers provide electrical operation of doors. Supply power to the door controller, and it can open or close the door based on logic signals from sensors or switches. Authorized players approaching a door with an HBHF sensor can trigger automatic door opening through a door controller, creating hands-free entry.
For raid defense, detect unauthorized players with an HBHF sensor wired to a door controller set to close. The moment an unauth player is detected, all doors shut and lock. Combine with a smart alarm to notify you immediately. An advanced setup detects breach attempts and initiates base-wide lockdown automatically.
Door controllers require power from a battery or renewable source. A large battery can operate multiple door controllers. Chain door controllers to different sensors for granular control: one sensor closes external doors, another secures internal vault rooms.
The HBHF (Heart Beat / High Frequency) sensor detects heartbeats and footsteps within a 20-meter radius. It requires line of sight to the target and uses tool cupboard authorization to distinguish authorized from unauthorized players. Configure the sensor to detect only unauthorized players, only authorized players, or both categories.
Detection Mechanics - The sensor actively scans for organic beings in its range. It penetrates some structures but not thick walls or sealed rooms. Position sensors near likely approach vectors: outside doors, tunnel entrances, and raid-vulnerable areas. Sensors mounted in corners or partially obscured by structures have better coverage than open placements.
Multi-Sensor Strategies - Cover large bases with multiple sensors networked to different alarms. One sensor monitors the main entrance, another covers the roof, a third watches the underground area. Each sensor can wire to a distinctly-named alarm, giving you precise location information during raids.
Automated Defense Circuits - Connect an HBHF sensor through an AND gate paired with a timer. Set the timer for nighttime hours. When both conditions are satisfied (unauthorized detection AND night), power flows to turrets. This circuit automatically activates defenses during vulnerable hours without wasting ammunition during peaceful daytime.
Limiting False Alerts - Configure sensors to ignore authorized players if possible. This prevents alarms during teammate movement. However, aggressive bases may intentionally detect all players, authorized or not, to track activity.
Combine HBHF sensors with pressure plates and other detection methods. A pressure plate at a door entrance combined with an HBHF sensor in adjacent rooms creates overlapping coverage that catches raiders attempting various approaches. Redundancy in detection prevents single points of failure.
AND Switch - Outputs power only when both inputs simultaneously provide power. Example: An HBHF sensor (threat detected) AND a timer (nighttime) both output power, triggering turrets only during raids at night. AND gates eliminate wasted ammunition on daytime visitors or teammates.
OR Switch - Outputs power when either input provides power. Example: Multiple HBHF sensors positioned around the base, each wired to an OR gate. The gate outputs power if any sensor detects threats, activating a single alarm and turret circuit for all sensors. OR gates consolidate multiple triggers into a single response.
XOR Switch - Outputs power when exactly one input provides power. This gate has niche applications in latching circuits and toggle logic. Most beginner-to-intermediate circuits do not require XOR gates.
RAND Switch - Randomly routes input to one of two outputs. Advanced players create unpredictable defenses using RAND switches, though applications are limited. Standard defensive circuits rarely employ randomization.
Memory cells retain their state even after power removal, enabling persistent logic. A threat detection circuit using memory cells activates when an HBHF sensor triggers, stays activated until manually reset, and prevents accidental deactivation from power fluctuations. This is critical for raid defense: the moment a breach is detected, defenses activate and hold steady.
Build latching circuits by combining memory cells with HBHF sensors and manual reset switches. When breach detection occurs, power flows to a memory cell, activating all turrets. The system holds this state even if power briefly drops. A manually-activated reset switch clears the memory after the threat passes.
Nighttime Turret Activation - Combine an HBHF sensor detecting unauthorized players with an AND gate paired with a timer configured for 20:00 to 07:00. When a threat is detected during night hours, turrets activate. Daytime visitors do not trigger defenses, saving ammunition.
Multi-Zone Lockdown - Use multiple HBHF sensors in different areas wired to multiple door controllers. Each sensor controls doors in its zone. When a breach is detected in the main entrance area, external doors close. Simultaneous breach in the roof area closes roof doors. Zones operate independently.
Remote Response Circuit - Wire an HBHF sensor to a smart alarm and a smart switch-controlled turret circuit. Receive alert on your phone when unauthorized detection occurs, then toggle the smart switch to activate turrets. This gives you seconds to assess the situation and respond proportionally.
Ammunition Conservation - Combine turret activation with an HBHF sensor detecting threats. Turrets only power when threats are present, eliminating passive firing at animals or teammates. Pair with a manual override switch for emergency activation regardless of sensor status.
Debug electrical circuits during peace. Have a teammate trigger sensors, observe which turrets activate, confirm door locks engage. Find wiring errors and sensor blind spots during testing, not during actual raids when surprises result in lost bases.