White was connected to the switch?! Typically white is just passing thru the box. Switch typically connects to two blacks and one red; line, load and traveler. I don't even see a taped wire indicator for alt hot. I'd suggest an electrician since you're here asking. There are allowed wiring scenarios that are not as typical. Electricians know stuff.
Home Automation
Home automation is the residential extension of building automation.
It is automation of the home, housework or household activity.
Home automation may include centralized control of lighting, HVAC (heating, ventilation and air conditioning), appliances, security locks of gates and doors and other systems, to provide improved convenience, comfort, energy efficiency and security.
Warning: Working with electricity can result in injury, property damage, or even death if it is not done properly. Please keep this in mind while assisting others. If you are not sure about what you are doing, hire a licensed professional.
Rules
- No abusive behaviour. This is a forum for friendly discussion; personal attacks will not be tolerated and you will be banned without warning.
- Referral/affiliate links are NOT ALLOWED!
- NO POLITICS! There are plenty of other communities to discuss them; this is not one.
- When posting project details must be included. Posting a video or image without detail will result in a removed post and may result in a ban.
- Crowdfunding links are not allowed.
- Reposts, low-effort content and karma farming may be removed at the discretion of the mods. Posters may be banned without warning.
Yeah one of them was, seems like it’s used as one of the travellers. As I commented above I’ll just get an electrician to come in. Clearly this one’s too wonky for my diy skills.
Color is just for code. Just hook everything up like it was and wire nut your neutral pig tail from your smart switch to the neutral in the box. (The white wire that was capped off in your box).
I ended up trying this just now and everything works as expected. Thanks dude I just needed a little confidence lol.