In this guide, we will walk you through the steps of installing an in-wall dimmer behind your existing light switch. This smart dimmer will allow you to control the light via your regular switch, Home Assistant, and even monitor advanced features like energy usage and broken lamp detection. Additionally, the setup ensures that, even if Home Assistant is down, you can still manually control your lights via the existing switch.
What You Will Need:
- In-wall smart dimmer (e.g., Fibaro Dimmer 2, Lutron Caseta, or any compatible Zigbee or Z-Wave dimmer)
- A regular wall switch that you wish to replace with the in-wall dimmer.
- Basic electrical tools (screwdriver, wire stripper, etc.)
- Smartphone or tablet with Home Assistant installed.
- An electrician (optional, if you’re not comfortable working with electrical wiring).
Step 1: Understand the Device and How It Works
An in-wall smart dimmer works by being wired between your existing wall switch and the lamp that you wish to control. This allows it to function as a regular dimmer switch, but with added smart features for full control via Home Assistant, voice assistants, or automations.
- Connections: The in-wall dimmer will have connections for:
- Line (L): This connects to your power source.
- Load (L1): This connects to your light or lamp.
- Neutral (N): This is required for the dimmer to function and connects to the neutral wire in your electrical box.
- Switch (S): This connects to your existing switch, allowing you to still control the light manually.
This setup ensures that the dimmer is installed between the existing switch and the lamp, meaning it allows you to still control the light manually even if Home Assistant is unavailable.
Step 2: Prepare for Installation
Before proceeding with the installation, make sure you understand the basic electrical setup of your home. You’ll need to turn off the power at the circuit breaker to prevent electrical shock during installation.
- Turn off the power to the circuit that controls the light switch where you’ll be installing the dimmer.
- Verify the power is off using a voltage tester.
- Remove the existing switch from the wall. You’ll be replacing this with the smart in-wall dimmer.
- Examine the wiring: Make sure your existing setup includes a neutral wire, as this is required by most smart dimmers. Some older homes might not have a neutral wire, which could complicate the installation.
Step 3: Install the In-Wall Dimmer
Now that you’re ready to begin, follow the instructions specific to your in-wall dimmer. The general steps are as follows:
- Connect the wiring:
- Neutral (N): Connect this to the neutral wire in your electrical box.
- Line (L): Connect this to the live wire (usually black) from the power source.
- Load (L1): Connect this to the wire going to the lamp (the wire that connects to the light bulb).
- Switch (S): Connect the switch wire to your existing wall switch or pushbutton, allowing manual control of the light even if Home Assistant is down.
- Secure the dimmer into the wall box**: Once the wiring is properly connected, carefully place the dimmer into the electrical box and screw it in place.
- Install the cover plate: After securing the dimmer, install the cover plate over the switch.
Step 4: Power On and Test the Dimmer
Now, turn the power back on at the circuit breaker and check that the dimmer is functioning as expected:
- The light should respond to manual control from the wall switch.
- The light should also be controllable via Home Assistant, including dimming capabilities.
Step 5: Integrate the Dimmer with Home Assistant
Once the in-wall dimmer is physically installed and working, it’s time to integrate it with Home Assistant.
- Open Home Assistant and go to Configuration > Devices & Services.
- Click on Add Integration and choose the appropriate integration for your dimmer (e.g., Z-Wave, Zigbee, or the brand-specific integration such as Fibaro).
- Follow the prompts to connect the in-wall dimmer to Home Assistant.
- Once added, you’ll be able to control the dimmer from the Home Assistant interface. You’ll also have access to advanced features like:
- Energy monitoring (if supported): Track power usage and consumption in real-time.
- Broken lamp detection: Some dimmers can detect if the lamp is broken or disconnected and notify you through Home Assistant.
Step 6: Test Your Setup
Verify that your new smart dimmer works as expected:
- Test the manual switch: Even if Home Assistant is down, your light should still respond to the physical wall switch.
- Test dimming through Home Assistant: From the Home Assistant interface, control the light and ensure it responds smoothly to dimming commands.
- Check energy monitoring: If the dimmer supports energy monitoring, verify that you can see the current power usage on the Home Assistant dashboard.
Step 7: Automate the Dimmer
Now that your dimmer is connected to Home Assistant, you can create automations and scenes for advanced functionality.
Example: Dimming Lights Based on Time of Day
- Go to Configuration > Automations in Home Assistant.
- Click Add Automation and select Start with an empty automation.
- Set a Trigger (e.g., time of day, motion detected, sunset).
- Set an Action to adjust the dimmer level of the light based on the trigger.
- Click Save to enable the automation.
Example: Turn Off the Light When No Motion Is Detected
- Use motion sensors in your Home Assistant system as triggers for the light to turn off after a certain period of inactivity.
- Automate the dimmer to turn off the light automatically based on motion detection (like in the previous example).
Important Considerations:
- Room space: When installing in-wall devices, there might be limited space behind your existing switch to fit both the dimmer and the wiring. This can be a bit challenging, and it’s something to keep in mind when purchasing the dimmer (make sure it fits into your wall box). If necessary, you may need to use a shallow or compact model.
- Electrical skills: Working with electrical systems can be dangerous if you’re unfamiliar with the proper procedures. Always turn off the power and if you’re not confident with the wiring, consider hiring a licensed electrician to do the installation.
- Neutral wire: As mentioned earlier, most in-wall dimmers require a neutral wire. If your house does not have a neutral wire in the switch box, you might need to use a different type of switch or consult an electrician to install a neutral wire.
Conclusion
By installing an in-wall dimmer behind your existing light switch, you can transform any regular light into a smart, dimmable light that’s fully controllable via Home Assistant and automations. The ability to still control the light manually, even if Home Assistant is offline, makes this an ideal solution for home automation without sacrificing ease of use. Additionally, advanced features such as energy monitoring and broken lamp detection give you valuable insights into your lighting system’s performance.
If you’re not comfortable working with electrical systems or have limited space in your wall box, we recommend consulting a professional electrician. Safety first!
