Skip to content

Commit

Permalink
Change capitalization to SmarterMeter.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcolyer committed Mar 15, 2011
1 parent 33b6eb6 commit 53bd397
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 32 deletions.
25 changes: 13 additions & 12 deletions 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 So I have PG&E SmartMeter and I like playing with data. However I didn't
want to jump through 37 hoops to see the data on PG&E's website. So I made really want to jump through 37 hoops to see the data on PG&E's website.
this. So I made this.


While making this library I discovered that PG&E doesn't even manage the 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 software for the energy reporting. It's all done by energyguide.com. Not
Expand All @@ -18,8 +18,8 @@ Getting Started
Google PowerMeter Google PowerMeter
----------------- -----------------


Once you've configured smartermeter once, you might want to use it with Google Once you've configured SmarterMeter once, you might want to use it with
PowerMeter. Google PowerMeter.


1. Visit: https://www.google.com/powermeter/device/activate?mfg=Ruby&model=SmarterMeter&did=PGE&dvars=1 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. 1. Then sign in with your desired Google Account.
Expand Down Expand Up @@ -54,23 +54,24 @@ Questions


* How much lag is there? * How much lag is there?


It'll show you the last full day's worth of data. The PGE website claims that It'll show you the last full day's worth of data. The PGE website
data becomes available around 3-10pm on the following day. However my claims that data becomes available around 3-10pm on the following day.
experience says that it's sometimes available earlier. However my experience says that it's sometimes available earlier.


* How long is data saved for? * How long is data saved for?


I don't know. If you know tell me. I don't know. If you know tell me.


* How can I help? * 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 Sponsorship
----------- -----------


I would like to thank [Brighter Planet][2] for including SmarterMeter as part I would like to thank [Brighter Planet][2] for including SmarterMeter as
of their [Fellowship Program][3] part of their [Fellowship Program][3]


[1]: http://nsis.sourceforge.net/ [1]: http://nsis.sourceforge.net/
[2]: http://brighterplanet.com/ [2]: http://brighterplanet.com/
Expand Down
2 changes: 1 addition & 1 deletion installer/launch4j.xml
Expand Up @@ -16,7 +16,7 @@
<var>GEM_HOME=gems</var> <var>GEM_HOME=gems</var>
<singleInstance> <singleInstance>
<mutexName>smartermeter</mutexName> <mutexName>smartermeter</mutexName>
<windowTitle>Smartermeter</windowTitle> <windowTitle>SmarterMeter</windowTitle>
</singleInstance> </singleInstance>
<jre> <jre>
<path></path> <path></path>
Expand Down
26 changes: 13 additions & 13 deletions installer/nsis.nsi
Expand Up @@ -7,14 +7,14 @@
;General ;General


;Name and file ;Name and file
Name "Smartermeter (${VERSION})" Name "SmarterMeter (${VERSION})"
OutFile "../pkg/smartermeter-${VERSION}.exe" OutFile "../pkg/smartermeter-${VERSION}.exe"


;Default installation folder ;Default installation folder
InstallDir "$PROGRAMFILES\Smartermeter" InstallDir "$PROGRAMFILES\SmarterMeter"


;Get installation folder from registry if available ;Get installation folder from registry if available
InstallDirRegKey HKCU "Software\Smartermeter" "" InstallDirRegKey HKCU "Software\SmarterMeter" ""


;Request application privileges for Windows Vista ;Request application privileges for Windows Vista
RequestExecutionLevel user RequestExecutionLevel user
Expand Down Expand Up @@ -48,19 +48,19 @@
;-------------------------------- ;--------------------------------
;Installer Sections ;Installer Sections


Section "Smartermeter Base" SecBase Section "SmarterMeter Base" SecBase


SetOutPath "$INSTDIR" SetOutPath "$INSTDIR"


;ADD YOUR OWN FILES HERE... ;ADD YOUR OWN FILES HERE...
File /r "../pkg/base/*" File /r "../pkg/base/*"


CreateDirectory "$SMPROGRAMS\Smartermeter" CreateDirectory "$SMPROGRAMS\SmarterMeter"
CreateShortCut "$SMPROGRAMS\Smartermeter\Smartermeter.lnk" "$INSTDIR\smartermeter.exe" CreateShortCut "$SMPROGRAMS\SmarterMeter\SmarterMeter.lnk" "$INSTDIR\smartermeter.exe"
CreateShortCut "$SMPROGRAMS\Smartermeter\Uninstall.lnk" "$INSTDIR\uninstall.exe" CreateShortCut "$SMPROGRAMS\SmarterMeter\Uninstall.lnk" "$INSTDIR\uninstall.exe"


;Store installation folder ;Store installation folder
WriteRegStr HKCU "Software\Smartermeter" "" $INSTDIR WriteRegStr HKCU "Software\SmarterMeter" "" $INSTDIR


;Create uninstaller ;Create uninstaller
WriteUninstaller "$INSTDIR\uninstall.exe" WriteUninstaller "$INSTDIR\uninstall.exe"
Expand All @@ -70,7 +70,7 @@ SectionEnd
;Descriptions ;Descriptions


;Language strings ;Language strings
LangString DESC_SecBase ${LANG_ENGLISH} "The smartermeter application." LangString DESC_SecBase ${LANG_ENGLISH} "The SmarterMeter application."


;Assign language strings to sections ;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
Expand All @@ -91,12 +91,12 @@ Section "Uninstall"
RMDIR /r "$INSTDIR\icons" RMDIR /r "$INSTDIR\icons"
RMDIR /r "$INSTDIR\smartermeter" RMDIR /r "$INSTDIR\smartermeter"


Delete "$SMPROGRAMS\Smartermeter\Smartermeter.lnk" Delete "$SMPROGRAMS\SmarterMeter\SmarterMeter.lnk"
Delete "$SMPROGRAMS\Smartermeter\Uninstall.lnk" Delete "$SMPROGRAMS\SmarterMeter\Uninstall.lnk"
RMDIR "$SMPROGRAMS\Smartermeter" RMDIR "$SMPROGRAMS\SmarterMeter"


RMDir "$INSTDIR" RMDir "$INSTDIR"


DeleteRegKey /ifempty HKCU "Software\Smartermeter" DeleteRegKey /ifempty HKCU "Software\SmarterMeter"


SectionEnd SectionEnd
2 changes: 1 addition & 1 deletion lib/smartermeter/interfaces/cli.rb
Expand Up @@ -17,7 +17,7 @@ def log
# Returns nothing # Returns nothing
def setup def setup
puts puts
puts "Smartermeter: Initial Configuration" puts "SmarterMeter: Initial Configuration"
puts "--------------------------------------------------------------------------------" puts "--------------------------------------------------------------------------------"
puts "This program stores your PG&E account username and password on disk. The" 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" puts "password is encrypted but could be retrieved fairly easily. If this makes you"
Expand Down
6 changes: 3 additions & 3 deletions lib/smartermeter/interfaces/swing.rb
Expand Up @@ -40,7 +40,7 @@ def initialize
popup.add(exit_item) popup.add(exit_item)


image = Toolkit::default_toolkit.get_image("icons/smartermeter-16x16.png") 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_icon.image_auto_size = true


tray = SystemTray::system_tray tray = SystemTray::system_tray
Expand Down Expand Up @@ -96,7 +96,7 @@ def initialize(&block)
} }
end end


@frame = @ui.build(:args => "Smartermeter Settings") @frame = @ui.build(:args => "SmarterMeter Settings")
@frame.set_location_relative_to(nil) @frame.set_location_relative_to(nil)
@frame.default_close_operation = JFrame::DISPOSE_ON_CLOSE @frame.default_close_operation = JFrame::DISPOSE_ON_CLOSE
end end
Expand Down Expand Up @@ -141,7 +141,7 @@ def initialize(&block)
end.build :auto_create_container_gaps => false end.build :auto_create_container_gaps => false
end end


@frame = @ui.build(:args => "Smartermeter Log") @frame = @ui.build(:args => "SmarterMeter Log")
@frame.set_location_relative_to(nil) @frame.set_location_relative_to(nil)
@frame.default_close_operation = JFrame::DISPOSE_ON_CLOSE @frame.default_close_operation = JFrame::DISPOSE_ON_CLOSE
end end
Expand Down
4 changes: 2 additions & 2 deletions smartermeter.gemspec
Expand Up @@ -19,8 +19,8 @@ Gem::Specification.new do |s|


## Make sure your summary is short. The description may be as long ## Make sure your summary is short. The description may be as long
## as you like. ## as you like.
s.summary = "Fetches smartmeter data from PG&E" s.summary = "Fetches SmartMeter data from PG&E"
s.description = "Fetches smartmeter data from PG&E and can upload to Google PowerMeter" 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 ## 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 ## better to set the email to an email list or something. If you don't have
Expand Down

0 comments on commit 53bd397

Please sign in to comment.