New plugin for TP-Link Tapo smart plugs and bulbs is now in the plugin store.
Tapo smart plugs are a quarter of the price of their Z-Wave equivalents so are a cost-effective way to monitor energy usage.
Installation of the plugin is not straightforward; please read the following requirements carefully!
The plugin needs two Python libraries. In Terminal, install them with these commands:
pip3 install pkcs7
pip3 install Crypto
Then navigate to:
Macintosh HD/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages
and rename folder 'crypto' to 'Crypto'
If you get error messages saying Crypto is missing when you start the plugin (sometimes happens with M1 Macs) just copy the version I've included in the Resources folder of the plugin to the above folder and reload the plugin.
This sounds more complicated than it is, but unfortunately it's necessary because the Crypto library has to be installed manually.