SenseLink - TP-Link Smart Plug Emulation

I had to split off a lot of the code to get just the essentials. One major change was the PlugInstance now takes an id which the device id and mac are generated from rather than doing it randomly so the device doesn’t change each time.

The changed files are here:
https://github.com/scottbonline/sense/blob/stable/sense_energy/PlugInstance.py
https://github.com/scottbonline/sense/blob/stable/sense_energy/SenseLink.py

1 Like