If things have not changed with the top-link Smart plug then ... you could use the Python script from https://www.softscheck.com/en/reverse-engineering-tp-link-hs110/ and use set_relay_state to make it turn the device off/on. First thing would be to get it working from a script ... and if it does ... then get that script called from whichever mechanism you end up using to determine that a switch on/off is needed.
Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin ------------------------------------------------------------------------ Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=109642 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix