The dimmer switch now acts like a master switch. If the house wires are bent use a wire stripper to cut off the twisted ends.

4 Way Switch Wiring Electrical 101
How to wire a dimmer on a 4 way switch. Set the dimmer at its highest level for general task lighting and turn the dimmer down to a lower setting when minimal lighting is needed. In a 4 way switch network there are 3 switches. Connect the ground wire from your dimmer to a green or bare copper wire in the wall box. 2 middle of network 4 way switch. Remove 34 inch of casing from the end of the house wires and the dimmer switch wires if needed. Then tie the 2 black wires along with the black line wire on the idevices dimmer switch together with a wire nut.
3 load end 3 way switch. 4 way switch wiring 4 way switches provide switching from three or more locations. Identify which of the 3 switches is at the line end. If more than three switches are needed simply place more 4 way switches between the three way switches. I have a four way switch set up like your diagram shows and it works great. Heres how to connect a three way dimmer switch.
As you will see most 4 way switch wiring is placed between the wiring of two 3 way switches therefore a 4way switch is installed with two 3way. Connect the white wire on the idevices dimmer switch to the neutral wire usually white in the gang box and cap with a wire nut. Lets get our lingo straight. 1 line end 3 way switch. I want to add a dimmer switch to one of the switch locations. Remove all wires from the 4 way switch and cap both red wires with wire nuts.
Wiring a three way dimmer switch uses four wires and allows you the convenience of dimming the light from separate switches at opposite ends of a room. How can i wire a 3way dimmer switch to one of the switch locations. If you want to install a dimmer id buy a lutron 3 way dimmer at a compatible wattage for the load. I replaced one of the three way switches with a 3 way dimmer switch.