Four different configurations for 3-way switching in a home.
The above diagram configuration 4 (lower right) shown attached to wall outlet.
Types of 3 Ways from the HookUp
One type of 3-way wiring with Shelly.