Driver for TP-Link/Tapo P316M?

Hi,

Thanks to some wonderful people here I was able to learn about the need for drivers when something new isn’t behaving.

My TP-Link/Tapo P316M power strip, which is Matter enabled (has the QR Code) is setting up with my Aeotec Smart Home Hub just fine, but it only shows it as one plug instead of 6 and its using a generic matter driver.

Does anyone know if the P316M has a driver which will recognize all 6 plugs?

Thank you!

Once you have the P316M setup in the Tapo App make sure it is running the latest firmware.

Disconnect from SmartThings and add again.

Have you connected to any other matter platform before, in which case you should be sharing a matter code from that platform to add to SmartThings?

Thank you for your quick response!

I have a ton of stuff installed at this point; mostly TP-Link Kasa Smart Wifi-Plugs, and LightInside Matter bulbs, with 3 Zigbee 3 button controllers. I needed help with the Zigbee and got it here!

Since the Kasa Smart Wifi-Plugs worked with SmartThings, I assumed I was safe buying the TP-Link Tapo power strip. But, alas, it shows as generic and only plug turns on and off.

I am actually trying to get away from all the proprietary programs, so I bought this to get away from that Tapo app. I am guessing that even though it is “Matter Enabled” and “Compatible with SmartThings” it really isn’t.

Unless you know of a driver anywhere?

I can still return it to Amazon.

THANKS!

As a matter device it uses standard SmartThings drivers.

If you are saying you are adding it to SmartThings as a matter device and only one plug works then that is strange and you should contact Tapo support.

I have had no such problems with the Tapo P304M, it works perfectly in SmartThings, Apple Home and Home Assistant.

Delete the device and add it back again.

Some screenshots from the driver and information page would be helpful.

I am absolutely saying that. It installed a generic driver, not a specific one.

I have decided to return it to Amazon. The individual Kasa plugs fine, no reason not to just use those.

Thank you!

I have this exact same issue with one of my P316M Tapo power strips. The odd thing is that I have 3 of these strips. My issue started when I had to delete one of my P316M devices from my hub a couple of weeks ago. When I first installed the power strip all 6 outlets were configured. However, when I went to reinstall the P316M strip I had deleted from the hub, it would only install the first outlet, the other 5 are never configured. I have done a complete factory reset on the P316M, this did not help - still only one outlet. I have also tried to install the power strip multiple times trying different approach’s all with the same result. I have been able to add the device to Home Assistant and Apple Home, all 6 outlet are configured and controllable. After having the power strip added to both Home Assistant and Apple Home, I have tried to add the P316M to Smartthings using the share feature within either Apple Home or Home Assistant - again all I get is outlet 1 configured. My guess is that it has something to do with the new Matter Switch dirver that was issue recently. Even with the re-added P316M all three (including the two that were installed last year and I have not messed with) use the same matter switch diver - 2026-07-23T15:54:53.299816878, and aside from the serical number have that same data within the information tab. I am convinced this is a Smart Things driver issue.

As individual child devices, right?

They are listed as individual devices within Smartthings. Each of the 6 outlets has its own tile showing its state of on/off and the power usage for that outlet. For the recently installed P316M the tile for outlet 1 (the only tile that is formed with the install) for the power strip will only control the first outlet.

Please log in here, select the device, take a screenshot from the Summary section.

Edit: and the same screenshots as requested in one of my previous comments.

I think that the re-profiling and child creation only works with certain profiles and your device doesn’t have the correct one, because it doesn’t have a specific fingerprint in the driver.

This is EXACTLY my problem as well. From all the back and forth, I take it that none of the awesome developers here have set up a driver, like they did for the Zigbee Switch.

For my part, I’m returning the power strip to Amazon. Probably better to use individual plugs anyway. I have amazing success with the TP-Link Kasa Smart Wi-Fi Plug Slim (KP125M).

Thank you all for this wonderful community!

Keep it for now. This is quite obviously a driver issue and can be fixed.

I’m already investigating (out of self-interest, because I have Matter power strips) and find the issue. Going to take a day or two.

@nayelyz Quite serious issue.


@jlarkin0 @trs80 Would be helpful to get some logs from the moment when the device is added.

Follow the following instructions:

Start the logging, add the device and paste the logs here.

My initial suspicion was largely correct: the problem is in the SmartThings Matter Switch driver’s child-device creation path.

The driver still contains the code needed to create separate child devices for all six P316M outlets. However, that code is only reached after the driver has completed its electrical power-topology profiling.

The P316M exposes six On/Off endpoints and six corresponding Electrical Sensor endpoints using Matter’s SET_TOPOLOGY. SmartThings waits for the AvailableEndpoints information from those Electrical Sensor endpoints before continuing with profile matching and child creation.

If that topology discovery does not complete - for example, because one of the expected initial reports is missing - the driver returns before it creates any child devices. The result is exactly what is being observed: only the parent device for outlet 1 appears, while outlets 2 through 6 are never created.

That also explains why older installations continue to work. Their child devices already exist and survive driver updates. The problem becomes visible only when the strip is freshly commissioned or re-added.

The exact point at which onboarding gets stuck still needs to be confirmed with driver logs, so I have deliberately described the root cause as highly likely rather than definitively proven. I have also proposed a fix: basic On/Off child creation should not depend indefinitely on optional energy-topology enrichment, and the driver should additionally perform explicit per-endpoint topology reads instead of relying only on the initial subscription reports.

I have submitted the full analysis here:

@trs80 @jlarkin0

Please install the Matter Switch P316M Test driver from this channel. Then delete the device in ST and add it back again.

Thank you Andreas for the test driver. I Enrolled and then installed the test P316M driver. I then deleted the configuration for the P316M. I then re-installed the P316M power strip by sharing the device from both Home Assisstant and Apple Home. In both cases again only the first outlet for the power strip was configured in Smartthings. Each time the install did select your driver to install. One thing I noticed with your driver is that the power usage was missing.

After spending some time doing this, I thought I have one more Matter router that I can try - The Amazon Matter Thread. So using Amazon Alexa I added the Tapo P316M power strip, and it worked fine. Amazon found each outlet and the power strip.

There is clearly something going on within the Smartthings configuration of this power strip.

I should have done this to start with, I control just about everything by talking to Alexa and now that the power stip is part of the Alexa system I don’t need it to be accessable from Smartthings. What a headache this was.

Thank you for your feedback.

Unfortunately, the test driver did not solve the problem. It restored explicit reads of the electrical endpoint associations instead of relying only on the Matter subscription. The fact that power usage was also missing suggests that the normal dynamic profiling process did not complete.

This narrows the problem down, but it does not yet tell us whether the official driver sees only one On/Off endpoint, whether the electrical topology data never reaches the driver correctly, or whether SmartThings rejects the child-device creation later in the process.

To determine that, logs from a completely fresh onboarding with the official stock SmartThings Matter Switch Edge driver would be necessary. Those logs would show which endpoints SmartThings actually provides to the driver, whether all AvailableEndpoints reports are received and whether the driver ever attempts to create the five child devices.


Added some diagnostics to “my” driver (version 2026-07-27T13:24) that might be useful later on, but the logs from the stock driver are crucial.

Hi, @trs80 @jlarkin0

Please provide the driver and hub logs as Andreas mentioned of the installation process.

Driver logs:

  1. You need to set up the ST CLI and run the command below:
smartthings edge:drivers:logcat

  1. The CLI will prompt you to select from which hub and driver you want to listen to events
  2. Then, reinstall the device so all the discovery events are registered there
  3. Copy those logs into a file and share it with us. You can send it to build@smartthings.com

Hub logs:
After the above, submit the hub logs.

  1. In the Advanced Users app, enter the “Hubs” section
  2. Enter the corresponding Hub and click on “Dump Hub logs”
  3. Confirm the process by clicking on “Dump Hub logs” again in the pop-up.
  4. You’ll get a green box at the top confirming the Hub logs were requested.

The engineering team needs to investigate this further to confirm the root cause of the issue and see how they can alleviate the problem.

Also, it would be helpful if you could test this driver, @jlarkin0 and @trs80

The invite link can be accessed here (Related PR).
Please provide your feedback.

This is a little outside of my experience.

I believe I got the ST CLI running with the task of tracking the new drive that was provided by Nayelyz. After I installed the power strip the ST CLI show it tracking the data, but it just kept going. The data never stopped. So I ended up closing the ST CLI and the requesting the Dump of the Hub.

When I asked for the Dump of Hub Logs. I got the box saying it was requested, but then I don’t know what happens next. The box went away, but it never gave me a file to download or anything.

Also, with the install I only got 1 Tile configured for the first outlet- just like all the other times. The new driver looks and feels just like the main Matter driver.

There was no change. SmartThings still controls ONLY the first of the 6 switches