Do the Switches talk locally or not?
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:
- in a peer to peer fashion to each other?
- In a peer to peer fashion to a something running the management app?
- To the app exclusively through the Kasa Backend (and amazon servers)?
- Some combination of the above (please explain)?
Thank you.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
Thank you. This is starttng to make some sense. Let me see if I can play this back:
- Switches (and related) do not talk to each other.
- Switches talk locally to the management app when it''s running.
- Kasa backend talk to Amazon backend
Still Open:
- Please confirm I've played the above back correctly.
- What autonomy do switches have without backend?
- Do the load and retain schedules and can execute them without bacl-end involvment?
- So they retain their motion detection, brightness schedule, and etc locally?
- Would a switch continue to function if the internet is down/offline?
- If the use Wi-fi network is up, but internet access is down:
- Can the phone/management app still access and control devices?
- Will smart routines still execute?
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
Thanks. FYI:
In that you don't ask for a NTP server address, you're either:
- Polling the gateway for time, which isn't a good idea (nothing say's they ask as a time server)
- Polling your own backend
- Polling a pre-set NTP server.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 651
Replies: 5
Voters 0
No one has voted for it yet.