When converting your light switch into a smart switch you can easily wire in your existing light switch output to the shellys sw port. As you will see from the wiring diagrams provided from the links below typically the white wire is used as a switch leg.
Replacing A 3 Way Switch With A Combo 3way Switch Outlet
Convert light switch to outlet. Just to be technically correct a light fixture is an outlet. Yes a switch can be converted into an outlet if the wiring can be identified back at the source and one of the wires the neutral or white can be connected to the neutral source. The former scenario is pretty rare in most houses but always check to make sure. Convert a light switch to an outlet remove the black wires from the switch screw a wire cap on the dead one and push it back into the box out of the way. If no built in switch would having a wall switch directly. All the links.
Assuming it is is the receptacle switched. In other words if the hot line that provides power to the light or whatever the switch powers goes into the light fixture first and then into the light switch box you wont be able to use a switchoutlet combo. The black wire from the switch connects to the hot on the receptacle. This way when you set shelly 1 to its edge switch mode your light switch will work normally. To do this you simply purchase a screw in adapter that will screw into your light socket like a light bulb but it will have a plug or two on the end of it. The source is at the outlet and a switch loop is added to a new switch.
Converting a light fixture to a power outlet can be done in two ways. The easiest way to convert a half hot duplex receptacle or a switched outlet to be hot all the time is really not that difficult. In this video we learn how to wire a half hot receptacle which is useful if you want to control an outlet with a light switch. I always said outlet too before i joined this forum. Convert a light switch to a switchoutlet with help from a foreman for lighty contractors. If not does the sconce light have a built in switch.
This wiring diagram illustrates adding wiring for a light switch to control an existing wall outlet. 12 9 17 its over 9000. The hot source wire is removed from the receptacle and spliced to the red wire running to the switch. Importantly you wont frustrate your guests with switches that dont behave as they expect. The wall switch simply has a loop of the hot wire going through it so if the switch was removed and the wires were connected together then the wall outlet would be hot all the time. The first way is really simple and doesnt require any electrical knowledge or understanding whatsoever.
The switch could be left as a dummy. The sonoff basic is a 10a switch while the shelly 1 is a. Be sure none of the exposed wire is showing under the cap because if it is you could contact it with your tools or it could touch another wire. You wont have to reach for your phone or ask alexa any time you want to turn the light on or off. Converting a light switch to a switchoutlet is something that can be especially useful next to a doorway. You want to replace a receptacle.
Is it high enough for the sconce light. The power must be coming into the light switch box first and then continue on to the light fixture.