Editing SmartPlug GUI Images

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
= General =
 
This is the GUI for the project [[Python Control of Smart Plugs]]:  There are two applications, ( smart_plug.py and smart_plug_graph.py ) which look very similar.  In the images below both are show with their graphs open ( separate windows, available on demand ).
 
 
== Differences Between the Applications ==
 
 
*SmartPlug runs live, turns plugs on and off, sets timers..... and graphs data as it comes in.
 
*SmartPlugGraph runs primarily off the database built by SmartPlug.
 
 
== Similarity Between the Applications ==
 
 
*Many of the widgets and functions are similar.
 
*Both have message areas taking up most of the lower part of the window.  It displays messages from other actions, and it is controlled by the widgets to its left.
 
*Both can produce similar graphs ( one live graphs, the other from the database ).
 
 
[[File:Smart plug graph 1.png | 600x600px]]  [[File:Smart plug 1.png | 600x600px]]
 
 
 
We will discuss each application in the sections that follow.
 
 
 
= SmartPlug GUI =
 
= SmartPlug GUI =
 
+
This is the GUI for the project [[Python Control of Smart Plugs]]: details on each part belowStill working on it, mostly to clean up the details. Note that this screen shot was taken during a debugging session and has some artifacts that will soon disappear, features that will be improved, then a new screen shot should be placed here.  
This application provides for live control and monitoring of smart plugsSome of the functions are common to both apps this will be noted here. Note that this screen shot was taken during a debugging session and has some artifacts that will soon disappear, features that will be improved, then a new screen shot should be placed here.  
 
  
 
Keeping screen shots up to date is a pain, these may lag the actual application which should look and perform better as time goes by.
 
Keeping screen shots up to date is a pain, these may lag the actual application which should look and perform better as time goes by.
  
[[File:Smart plug 1.png  | 1200x2800px]]
+
[[File:Smart plug gui b.png  | 1000x2500px]]
  
 
== System Widgets ==
 
== System Widgets ==
These widgets are present both the SmartPlug and the SmartPlug Graph application.  They are related to managing the application, not to the purpose of the application.
+
These buttons are also present both the SmartPlug and the SmartPlug Graph application.  They are related to managing the application, not to the purpose of the application.
 
                  
 
                  
*<Edit Log>Open the application python log file using the system editor specified in parameters.py file. Note: The edit functions work only after you have configured parameters.py for your systems text editor
+
*<Edit Log>         >Open the application python log file using the system editor specified in parameters.py file. Note: The edit functions work only after you have configured parameters.py for your systems text editor
*<Edit Parms>Open the application parameters.py file using the system editor, after the file has been modified.  The system can be quickly restarted using the Restart button.
+
*<Edit Parms>       >Open the application parameters.py file using the system editor, after the file has been modified.  The system can be quickly restarted using the Restart button.
*<Restart>Quickly restarts the system after the parameters.py file is changed or any time you want to restart the system from its current defaults
+
*<Restart>           >Quickly restarts the system after the parameters.py file is changed or any time you want to restart the system from its current defaults
*<Help>Open help file ( which mostly links to this wiki ?? )
+
*<Help>             >Open help file ( which mostly links to this wiki ?? )
*<Probe Plugs>:  Scans tcpip addresses as set in parameters.py to find plugs on your network.  Output to message area results including a draft for self.device_list.
 
*<About>:  An about box, also display memory application is using.
 
*<Window Title>:  Displays application name, version, and mode ( mode set in parameters.py ).
 
 
 
  
== Application Widgets ==
+
== Applcation Widgets ==
  
*<Device button>:  Displays the name of the device, when pressed the message area will display a broad collection of data about the device.
+
*<Device button>
*<On/Off>:  Turns the device on/off.
+
*<On>
*<Monitor On/Off>:  When on displays power in a right hand column to right of window.  Also enables graphing of the device.  ( Plugs that do not support energy reporting may throw a nasty error )
+
*<Off>
*<Record On/Off>:  Turns the device power, energy recording ( to the database ) on/off.
+
*<Record On>
*<Set Timer for>:  Turns device on and begins a countdown to turn it off.  Turn on time to right of widget, time left displayed off to the right.  <On/Off> may be used to end time earlier than set.
+
*<Record Off>
*<Live Graph>:  Start and stops live graphing ( in separate window ).
+
*<Retrieve>
*<Database file>:  Lets you pick a database file ( default set in parameters.py ).
+
*<Start Timer>
  
 
== Message Area Widgets ==
 
== Message Area Widgets ==
The message area is the large white area at the bottom left of the window.  It is a scrolling text area. It keeps a finite number of lines as set in parameters.py It is present in both applications.
+
The message area is the large white area at the bottom left of the window.  It is a scrolling text area.  It is present in both applications.
  
*<Clear:  Clears all messages.
+
*<Clear>
*<Copy Sel>:  Copies selected/highlighted ( select with mouse ) into the clipboard
+
*<Copy Sel>
*<Copy All>:  Copies all the data.
+
*<Copy All>
*<Scroll> checkbox: Turn on and off auto scrolling of the message area, turning it off can make reading and copying easier.
+
*A Scroll checkbox
  
 
= SmartPlug Graph GUI =
 
= SmartPlug Graph GUI =
Line 60: Line 36:
  
  
[[File:Smart plug graph 1.png  | 1000x2500px]]
+
[[File:Smart plug graph.png  | 1000x2500px]]
  
 
<!-----------
 
<!-----------
Line 73: Line 49:
 
------------->
 
------------->
 
== System Buttons ==
 
== System Buttons ==
These buttons are present in both the SmartPlug and the SmartPlug Graph applications. For explanation see: SmartPlug GUI above. 
+
These buttons are also present both the SmartPlug and the SmartPlug Graph application.
 
                  
 
                  
*<Edit Log>  
+
*<Edit Log>         >Open the application python log file using the system editor specified in parameters.py file. Note: The edit functions work only after you have configured parameters.py for your systems text editor
*<Edit Parms>         
+
*<Edit Parms>        >Open the application parameters.py file using the system editor, after the file has been modified.  The system can be quickly restarted using the Restart button.
*<Restart>           
+
*<Restart>          >Quickly restarts the system after the parameters.py file is changed or any time you want to restart the system from its current defaults
*<Help>              
+
*<Help>             >Open help file ( which mostly links to this wiki ?? )
*<About>
 
  
 
== Graph Control ==
 
== Graph Control ==
  
*'''Start date and hour''': set date and hour to begin the selection of data for the graph ( default at startup set in parameters.py )
+
*Next to Start date and hour: set date and hour to begin the selection of data for the graph ( default at startup set in parameters.py )
*'''End date and hour''': set date and hour to end the selection of data ( default at startup set in parameters.py )
+
*Next to Start date and hour: set date and hour to end the selection of data ( default at startup set in parameters.py )
 
*Use check box to choose devices for data selection.  Each device is graphed separately but on the same graph. ( list of devices defaulted in parameters.py )
 
*Use check box to choose devices for data selection.  Each device is graphed separately but on the same graph. ( list of devices defaulted in parameters.py )
 
*Database file selected in space to right of label.  Use <Browse> button to select file from your file system. ( default at startup set in parameters.py )
 
*Database file selected in space to right of label.  Use <Browse> button to select file from your file system. ( default at startup set in parameters.py )
Line 95: Line 70:
 
== Database ==
 
== Database ==
 
*Database file: as above ( name a new file when creating an empty database )
 
*Database file: as above ( name a new file when creating an empty database )
*<Define 0 DB>: create an empty, new database.
+
*<Define 0 DB>: create an empty, new database
  
 
= SmartPlug Recording Graph =
 
= SmartPlug Recording Graph =

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)