Python Control of Smart Plugs

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(Python Code)
Line 23: Line 23:
Available at:
Available at:
*'''[ russ-hensel/smart_plug: initial ]'''
*'''[ russ-hensel/smart_plug: Program Source ]'''
= Program Design =
= Program Design =

Revision as of 06:31, 13 September 2019

This is an article started by Russ Hensel, see " My Articles" About My Articles for a bit of info. The page is only partly finished



Purpose: This is a Graphical User Interface Application is to control TP-LINK HS110 Smart Plug w/Energy Monitoring (*TP-LINK HS110 Smart Plug w/Energy Monitoring - - ) graph and otherwise process the data. The application uses the pyHS100 library code. It should work on Windows, Mac, Linux, and the Raspberry Pi. It does require at least Python 3.6 as it uses f-strings ( print( f"evaluate this{1+1}" )

Program Status: More or less alpha, seems to work, but rough. Intended for those with some Python experience who can add the files to their Python development environment ( no install features for this code ). Some dependencies will need to be installed, probably prompted by error messages. Editing of the parameter file should be easier for those with Python experience. Users should find some useful documentation in the code, this is still a work in progress. Much code has been lifted from other projects of mine, some artifacts remain.

This Page Status: This page is the "master" page for the project, all other pages link back here, either directly or indirectly. Pages are early drafts, but worth reading if you are trying to use the program.

Help File: Including install and configuration. SmartPlug Help File

More Documentation: See links below, and code ( russ-hensel/Smart Plug Repository )

Help "file" for the Program

This includes download and Install, see: SmartPlug Help File

Python Code

Available at:

Program Design


In this Wiki

The Internet


Matthias Random Stuff and Related


Youtube Not Involving Python

Personal tools