TPPlug
This is a monitoring exporter for a smart plug I own.
It works with the TP-Link HS110, and exports data for use by Prometheus.
The protocol
https://github.com/plasticrake/tplink-smarthome-api was a good starting point. https://www.softscheck.com/en/reverse-engineering-tp-link-hs110/ also had some useful info.