Do the Switches talk locally or not?

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Do the Switches talk locally or not?

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Do the Switches talk locally or not?
Do the Switches talk locally or not?
2022-11-19 05:47:20
Model: HS210  
Hardware Version: V3
Firmware Version:

@Riley_S 

@Solla-topee 

@TP-Link 

 

 

TP-Link/Kasa:

 

I've asked many times as quite a few of us are trying to understand some odd behaviors.  Yet no answer.  Perhaps a direct thread to see if you'll tell us.

 

After registered and "on local network" do Kasa Smart Switches talk:

 

  1. in a peer to peer fashion to each other?
  2. In a peer to peer fashion to a something running the management app?
  3. To the app exclusively through the Kasa Backend (and amazon servers)?
  4. Some combination of the above (please explain)?

 

Thank you.

 

 

  0      
  0      
#1
Options
5 Reply
Re:Do the Switches talk locally or not?
2022-11-21 11:28:51 - last edited 2022-11-21 11:29:08

Hello   @dafish 

 

As far as I know the Switches does not talk to each other locally nor through the tp-link server.

Switch might be controlled through the API by some third-party software locally or can receive commands from the tp-link cloud server, did not hear that switches will talk to each other. 

 

Perhaps give us some background information about this question so we can understand it better,  thanks. 

 

  0  
  0  
#2
Options
Re:Do the Switches talk locally or not?
2022-11-21 17:57:01

  @dafish,

Just to add in my reasonings:

 

As far as I am aware, current switches do not talk to each other locally(this is the main reason I am looking forward to the matter protocol; as this is the main goal of the protocol)

 

Your phone is able to communicate with the devices locally, or at least your Kasa application is able to. This is why we often ask users to disconnect from their home network. If the device disappears when off the home network, we know that the problem exists with the connection to the outside internet and servers.

 

As long as a device is connected to the network, you should be able to control the device in the app, via a command sent over the local network, just not via a command that goes through the cloud servers. This is why it is assumed that if your Smart Action has failed, your device has lost its connection to the cloud.

 

From what I can tell, the Amazon Servers talk directly to our Cloud Servers. I don't know if this is different for devices set up through Alexa or Homekit, however, I would assume that the vast majority of the devices will be communicating with our cloud directly.

  0  
  0  
#3
Options
Re:Do the Switches talk locally or not?
2022-11-22 02:19:37

@Riley_S 

@Solla-topee 

 

Thank you.   This is starttng to make some sense.  Let me see if I can play this back:

 

  1. Switches (and related) do not talk to each other.
  2. Switches talk locally to the management app when it''s running.
  3. Kasa backend talk to Amazon backend

 

Still Open:

  1. Please confirm I've played the above back correctly.
  2. What autonomy do switches have without backend?
    1. Do the load and retain schedules and can execute them without bacl-end involvment?
    2. So they retain their motion detection, brightness schedule, and etc locally?
    3. Would a switch continue to function if the internet is down/offline?
    4. If the use Wi-fi network is up, but internet access is down:
      1. Can the phone/management app still access and control devices?
      2. Will smart routines still execute?

 

 

  0  
  0  
#4
Options
Re:Do the Switches talk locally or not?
2022-11-22 17:52:14

  @dafish,

From what I have been able to tell, you are correct in the way the devices currently operate with the current systems.

 

I believe that without a Cloud connection, the only settings that are retained are the normal on/off, a few basic configs(such as dimming), and the scheduling function on the device.

 

Smart Actions will not execute as these are cloud-level interactions and are stored there.

 

The scheduling feature will operate as long as the devices are able to get a time from the network they are connected to, or are disconnected from a network, as these are stored on the individual devices.

This means that if your network completely goes down and your router can't establish the time, the schedules will not execute. If your entire network goes down, the switch's schedules will still execute as they are able to keep the time themselves, the problem just arises when the switches try to get the time and fail.

This is finicky, however, and our team has not quite figured out how or when the devices fail to get the time.

 

 

As long as your device is on the same network that the devices are connected to, internet connection or not, you will be able to control the devices with the Kasa App.

 

There are a few things that our team is still working out how they work such as:

  • Does Alexa or HomeKit Connections create another path to have a device locally control a device
  • If one phone is active on a network at all times, can that device be used as a "controller" for your network in case of a cloud failure.
  3  
  3  
#5
Options
Re:Do the Switches talk locally or not?
2022-11-22 22:38:48

@Riley_S 

 

Thanks.  FYI:

 

In that you don't ask for a NTP server address, you're either:

 

  1. Polling the gateway for time, which isn't a good idea (nothing say's they ask as a time server)
  2. Polling your own backend
  3. Polling a pre-set NTP server.

 

 

  0  
  0  
#6
Options

Information

Helpful: 0

Views: 673

Replies: 5

Related Articles