New to Home Assistant - Using Wifi Light Switches

Hi There,

I have recent setup my ‘Windy’ Wifi light switches in our new extension. The lights use the Smart Life App.

One of the switches is hardwired to the lighting circuit, the other switch is acting as a slave and only gets powered and performs no switching.

I can control the light at either end of the room.

To achieve this I have created a scene for the state of the switch at each location. I assume these scenes are running in the cloud somewhere - (Amazon AWS I suspect).

There appears to be a slight delay, when using the the slave switch, the delay is even longer if we are using netflix.

Is there anyway I can run these rules (Scenes) locally on my RasperryPi implementation of Home Assistant (HASSIO)?

Thanks in Advance
Andy

Can you maybe share your code / config to help us help you?

It is not really code - it is just logic I have created using the Smart Life App

Smart Life App doesn’t say anything. What are the devices???

These are the switches I am using.

For Simplicity in this forum post we can consider just one channel of the switch. ( I actually have two lights).

The rules I have set are
Master Switch - (the one performing the electrical switching)
Slave Switch - (the one just powered)

Master Switch On -> Turn On Slave Switch
Master Switch Off -> Turn Off Slave Switch

Slave Switch On -> Master Switch On
Slave Switch Off -> Master Switch Off

Looking up the app it seems some of the ones that use that app are Sonoffs… really need to know what they are inside to know what can be done. You could control them with home assistant via IFTTT. That’s still going to rely on internet though.

Having trouble when Netflix is running kinda indicates your internet sucks a bit.

Under the hood it looks like the switches are using ESP8266 or ESP 32 -

I tried using IFTTT, which was even more problematic - I guess this involved routing to two servers.

My preference is to run the rules locally if possible.

Are you able to open them up? I was thinking flashing with Tasmota might be possible…

I am not at home right now - I only saw under the hood as my decorator has taken the front fascia plate of for cutting in paint around the switch.

Is the re-flashing easy ? Will I need a special programmer?

You’ll need a USB-Serial… plenty of guides on here. Pretty simple.

Ok - I think I will by a spare switch to have a play around with.