mihai-dinculescu / tapo

Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P115, P300), hubs (H100), switches (S200B) and sensors (KE100, T100, T110, T300, T310, T315).
MIT License
318 stars 30 forks source link

P300 support #184

Closed Michal-Szczepaniak closed 2 months ago

Michal-Szczepaniak commented 3 months ago

Hi, I haven't seen on the list of supported devices any power bar and since i'm thinking of buying one from tapo so that i don't have to implement yet another api i was thinking if it would be possible to add support for it?

From my previous contribution, once i have the device i don't see any issue in adding missing features (i imagine it will need metod for turning each slot on/off and maybe getting statistics per slot other than that it will probably inherit much of plug stuff), but I was wondering if there's maybe something you know of that would prevent me from adding support for them?

If you see no obstacles feel free to respond and close the issue and I'll be back with PR!

mihai-dinculescu commented 3 months ago

It should be trivial to implement if it's closer to the P1XX series. It might be more challenging if it's closer to the Kasa series, but I hope it's still possible.

The P300 seems to be an EU-only model. I have a KP303 power strip myself that seems to be UK-only.

What Model, Hardware Version and Firmware Version do you get in the Tapo app?

Michal-Szczepaniak commented 3 months ago

I don't have the hardware yet, just making sure there are no obvious obstacles, since there are not i'll get the hardware later this or next month and will have all the answers, thanks!

Michal-Szczepaniak commented 3 months ago

Added support in #192