- the original Smart Plug (plug-ins and power strips)
- Smart Relay/Switch (wall switch with dimmer)
- Smart Bulb (light bulbs with dimmer)
Each type has a list of TP-link Model numbers (e.g. HS100, KP200, KL100) that are supported by each type.
Caveat: some of these assignments are guesses, because I can't test every model out there. (TP-Link keeps coming up with new ones!)
The reason for the 3 types is that they support fundamentally different JSON protocols.
If you discover a new model - it will show up as "unknown" - please add it to the appropriate model list in
.tplink_*_plugin.py
If that works, let me know and I'll add it to the base code.
If it doesn't work with any existing type, use the command line tool (found in the top level directory of the plugin), run the 'info' command and send me the results. You may have discovered a new species!
I need to update the plugin description, because there are now several actions for the Smart Switch type, two of which also work for the dimmer bulb type to set its "ramp time" (the time it takes to change from one brightness to another). You can also set the rampTime in the Device Config dialog.
As always, let me know of any bugs or features you want to see.
Thanks, John
PS Does anyone have colored bulbs? How would you like them to behave? How about an action to set the color?