Skip to content
Browse files

Change capitalization to SmarterMeter.

  • Loading branch information...
1 parent 33b6eb6 commit 53bd3970f34575d29d2da897c132dbba8332bc79 @mcolyer committed Mar 15, 2011
Showing with 33 additions and 32 deletions.
  1. +13 −12 README.md
  2. +1 −1 installer/launch4j.xml
  3. +13 −13 installer/nsis.nsi
  4. +1 −1 lib/smartermeter/interfaces/cli.rb
  5. +3 −3 lib/smartermeter/interfaces/swing.rb
  6. +2 −2 smartermeter.gemspec
View
25 README.md
@@ -1,9 +1,9 @@
-Smartermeter - the smarter way to read your PGE SmartMeter
+SmarterMeter - the smarter way to read your PG&E SmartMeter
=========================================================
-So I have PGE SmartMeter and I like playing with data. However I didn't really
-want to jump through 37 hoops to see the data on PG&E's website. So I made
-this.
+So I have PG&E SmartMeter and I like playing with data. However I didn't
+really want to jump through 37 hoops to see the data on PG&E's website.
+So I made this.
While making this library I discovered that PG&E doesn't even manage the
software for the energy reporting. It's all done by energyguide.com. Not
@@ -18,8 +18,8 @@ Getting Started
Google PowerMeter
-----------------
-Once you've configured smartermeter once, you might want to use it with Google
-PowerMeter.
+Once you've configured SmarterMeter once, you might want to use it with
+Google PowerMeter.
1. Visit: https://www.google.com/powermeter/device/activate?mfg=Ruby&model=SmarterMeter&did=PGE&dvars=1
1. Then sign in with your desired Google Account.
@@ -54,23 +54,24 @@ Questions
* How much lag is there?
- It'll show you the last full day's worth of data. The PGE website claims that
- data becomes available around 3-10pm on the following day. However my
- experience says that it's sometimes available earlier.
+ It'll show you the last full day's worth of data. The PGE website
+ claims that data becomes available around 3-10pm on the following day.
+ However my experience says that it's sometimes available earlier.
* How long is data saved for?
I don't know. If you know tell me.
* How can I help?
- Make sure it works, make cool things with it or send me git pull requests.
+ Make sure it works, make cool things with it or send me git pull
+ requests.
Sponsorship
-----------
-I would like to thank [Brighter Planet][2] for including SmarterMeter as part
-of their [Fellowship Program][3]
+I would like to thank [Brighter Planet][2] for including SmarterMeter as
+part of their [Fellowship Program][3]
[1]: http://nsis.sourceforge.net/
[2]: http://brighterplanet.com/
View
2 installer/launch4j.xml
@@ -16,7 +16,7 @@
<var>GEM_HOME=gems</var>
<singleInstance>
<mutexName>smartermeter</mutexName>
- <windowTitle>Smartermeter</windowTitle>
+ <windowTitle>SmarterMeter</windowTitle>
</singleInstance>
<jre>
<path></path>
View
26 installer/nsis.nsi
@@ -7,14 +7,14 @@
;General
;Name and file
- Name "Smartermeter (${VERSION})"
+ Name "SmarterMeter (${VERSION})"
OutFile "../pkg/smartermeter-${VERSION}.exe"
;Default installation folder
- InstallDir "$PROGRAMFILES\Smartermeter"
+ InstallDir "$PROGRAMFILES\SmarterMeter"
;Get installation folder from registry if available
- InstallDirRegKey HKCU "Software\Smartermeter" ""
+ InstallDirRegKey HKCU "Software\SmarterMeter" ""
;Request application privileges for Windows Vista
RequestExecutionLevel user
@@ -48,19 +48,19 @@
;--------------------------------
;Installer Sections
-Section "Smartermeter Base" SecBase
+Section "SmarterMeter Base" SecBase
SetOutPath "$INSTDIR"
;ADD YOUR OWN FILES HERE...
File /r "../pkg/base/*"
- CreateDirectory "$SMPROGRAMS\Smartermeter"
- CreateShortCut "$SMPROGRAMS\Smartermeter\Smartermeter.lnk" "$INSTDIR\smartermeter.exe"
- CreateShortCut "$SMPROGRAMS\Smartermeter\Uninstall.lnk" "$INSTDIR\uninstall.exe"
+ CreateDirectory "$SMPROGRAMS\SmarterMeter"
+ CreateShortCut "$SMPROGRAMS\SmarterMeter\SmarterMeter.lnk" "$INSTDIR\smartermeter.exe"
+ CreateShortCut "$SMPROGRAMS\SmarterMeter\Uninstall.lnk" "$INSTDIR\uninstall.exe"
;Store installation folder
- WriteRegStr HKCU "Software\Smartermeter" "" $INSTDIR
+ WriteRegStr HKCU "Software\SmarterMeter" "" $INSTDIR
;Create uninstaller
WriteUninstaller "$INSTDIR\uninstall.exe"
@@ -70,7 +70,7 @@ SectionEnd
;Descriptions
;Language strings
- LangString DESC_SecBase ${LANG_ENGLISH} "The smartermeter application."
+ LangString DESC_SecBase ${LANG_ENGLISH} "The SmarterMeter application."
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
@@ -91,12 +91,12 @@ Section "Uninstall"
RMDIR /r "$INSTDIR\icons"
RMDIR /r "$INSTDIR\smartermeter"
- Delete "$SMPROGRAMS\Smartermeter\Smartermeter.lnk"
- Delete "$SMPROGRAMS\Smartermeter\Uninstall.lnk"
- RMDIR "$SMPROGRAMS\Smartermeter"
+ Delete "$SMPROGRAMS\SmarterMeter\SmarterMeter.lnk"
+ Delete "$SMPROGRAMS\SmarterMeter\Uninstall.lnk"
+ RMDIR "$SMPROGRAMS\SmarterMeter"
RMDir "$INSTDIR"
- DeleteRegKey /ifempty HKCU "Software\Smartermeter"
+ DeleteRegKey /ifempty HKCU "Software\SmarterMeter"
SectionEnd
View
2 lib/smartermeter/interfaces/cli.rb
@@ -17,7 +17,7 @@ def log
# Returns nothing
def setup
puts
- puts "Smartermeter: Initial Configuration"
+ puts "SmarterMeter: Initial Configuration"
puts "--------------------------------------------------------------------------------"
puts "This program stores your PG&E account username and password on disk. The"
puts "password is encrypted but could be retrieved fairly easily. If this makes you"
View
6 lib/smartermeter/interfaces/swing.rb
@@ -40,7 +40,7 @@ def initialize
popup.add(exit_item)
image = Toolkit::default_toolkit.get_image("icons/smartermeter-16x16.png")
- tray_icon = TrayIcon.new(image, "Smartermeter", popup)
+ tray_icon = TrayIcon.new(image, "SmarterMeter", popup)
tray_icon.image_auto_size = true
tray = SystemTray::system_tray
@@ -96,7 +96,7 @@ def initialize(&block)
}
end
- @frame = @ui.build(:args => "Smartermeter Settings")
+ @frame = @ui.build(:args => "SmarterMeter Settings")
@frame.set_location_relative_to(nil)
@frame.default_close_operation = JFrame::DISPOSE_ON_CLOSE
end
@@ -141,7 +141,7 @@ def initialize(&block)
end.build :auto_create_container_gaps => false
end
- @frame = @ui.build(:args => "Smartermeter Log")
+ @frame = @ui.build(:args => "SmarterMeter Log")
@frame.set_location_relative_to(nil)
@frame.default_close_operation = JFrame::DISPOSE_ON_CLOSE
end
View
4 smartermeter.gemspec
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
## Make sure your summary is short. The description may be as long
## as you like.
- s.summary = "Fetches smartmeter data from PG&E"
- s.description = "Fetches smartmeter data from PG&E and can upload to Google PowerMeter"
+ s.summary = "Fetches SmartMeter data from PG&E"
+ s.description = "Fetches SmartMeter data from PG&E and can upload to Google PowerMeter"
## List the primary authors. If there are a bunch of authors, it's probably
## better to set the email to an email list or something. If you don't have

0 comments on commit 53bd397

Please sign in to comment.
Something went wrong with that request. Please try again.