Favicon CurrentWatchers

Measure • Rethink • Conserve

A Community Focused On Energy
We Makes It Easy And Fun To
Conserve & Be Green Together!

More Details

Blog Entries

January 21, 2009
Download Windows Service Software



There are some dependencies here…

  • I’ll show you how to get up and running with a TED device, however in theory it is not too hard to make any monitoring device work with the solution.
  • First, let’s talk about what the website is looking for in terms of data. Each location you create in your account (once you’ve signed up with CurrentWatchers) can have one or more devices associated with it (actually you can have 0 devices as well, but that is not too fun, because you can’t do much with no devices). Each device you create on the CurrentWatchers system will be provided with a very long unique Globally Unique ID. This ID is used to identify measurements sent from the device to the CurrentWatchers website.
  • The mechanism we use for reporting is just a simple HTTP Post. The data we’re looking for is the average volts, kW, and cost (in dollars) for the preceding 1 minute period. It’s assumed software running in your home will post this information every minute or so to the CurrentWatchers website.
  • TED devices write their usage information to a sqlite3 database on a Windows machine at the user’s home. That is, if you have purchased the (optional) Footprints tracking software.
    The software we’ll supply simply reads the most recent posting in the TED DB once per minute and does an HTTP Post to the Current Watcher site, along with the Globally Unique ID. CurrentWatchers records this data in its own server.
  • That’s really all there is to it. If for some reason, your home PC is not able to send along regular energy recordings, there will be some gaps in the data we’ve received, but that usually will not be a cause for alarm. We create averages of the recordings we do receive, and it all averages out.

    You can now download the CurrentWatchers Windows Service software installer here:
    http://www.currentwatchers.com/setup.exe

    Reminders:

    You should set up a location in on CurrentWatchers.com. You do this by logging into the site and clicking on the ‘Administer Locations & Devices’ tab on the main page. This tab only appears when you are logged in… There’s a link to create a new location.

    Once you have a new location, please click ‘Create new device’ in your location. Once you’ve done so, you can click on the ‘Show’ link and you’ll see the GUID for the device. Copy the GUID (Ctrl C)…

    Please change the file extension of the CurrentWatcher Service installer to .exe from .ext. The mail filter prohibits me from sending zips with executables in them. Then run the installer. You’ll need to know:

    1.) Your Current Watcher Username
    2.) Your Current Watcher Password
    3.) The GUID you copied above
    4.) The location of your TED.db database.


Posted by mike Tagged as:

  • kimq says:
    06/03/09 at 22:49:21

    Ok… I had to make a copy of sqlite3.dll and put it in another directory to get past the first error message (couldn’t find sqlite3.dll). I put in the Windows/System, windows/system2 and the ‘Documents and Settings’/AllUsers directories. I don’t know which one it liked, but the error message went away.

    Then I had to make sure the browsers could save cookies.

    Then I was able to set up the configuration settings of the CurrentWatcher Service installer. I ran the ‘test’ and it says everything is good. So I hit OK, but the Current Watcher window still says ‘Service not installed’.

    What’s the next step?

    Thanks,
    Kim

  • kfdeken says:
    08/29/09 at 09:08:44

    Exactly the same situation here.

  • mike says:
    09/03/09 at 11:50:52

    Sorry for the delay in responding.

    To clarify, have you both got the Footprints software from The Energy Detective installed and running on your machines?

    What OS are you running on? (e.g. Windows XP)

    Thanks,
    Mike

  • kfdeken says:
    09/04/09 at 07:06:30

    Yes, I have the Current Watchers service running. Vista OS. After loading my name, password, the ID from the website, and the location of my TED Database, I run the test and it says "Data Sent, Config OK." Then I close out of that and attempt to start the service (message says "starting"), but when I press start I get an error message "Code 5, Access Denied." Thanks for your help.

  • kfdeken says:
    09/04/09 at 07:07:54

    And yes, I have "TED Viewer" running without issues on my computer.

  • mike says:
    09/04/09 at 09:15:04

    Hi,

    Just making sure here… to get the system running, you’re going to need to have 2 services running. The first service is the TED service which gets installed first. It comes with TED in their Footprint software. Please let me know whether this service is running.

    TED’s software installation places a sqlite.dll onto your PC….

    Once the TED service is running which you can verify by launching the Footprints application which comes with it, you can then proceed to the installation of the CurrentWatchers service.

    Could you please verify that you have the TED service running? That will eliminate one variable and allow us to focus on why we’re getting an error code 5 here.

    Thanks,
    Mike

  • mike says:
    09/04/09 at 09:20:45

    Sorry… saw your second post after sending my reply…

    Could you please take a look in the Event Viewer and see whether there are any errors posted there after attempting to start the service?

    Thanks,
    Mike

  • mike says:
    09/04/09 at 09:25:01

    And I think we should be able to sort this out… I think you are experiencing a permissions issue.

    Mike

  • kfdeken says:
    09/04/09 at 09:48:58

    Here is what MS site says:
    1. Time Synchronization problem.
    2. Missing permission to access the remote computer (Share, NTFS, GPO).
    3. Firewall and/or third party product may eliminate connection to the remote computer.
    4. The computer account isn’t disable (Or have expired computer account password)or doesn’t exiting in the domain.
    5. Active Directory replication problem may occur.
    I’m turning off my firewalls temporarily to see if that helps.

  • kfdeken says:
    09/05/09 at 06:50:07

    With firewalls off, I still get "Code 5, Access Denied" in a CurrentWatchers Service Message box.

  • mike says:
    09/05/09 at 08:52:58

    I’m pretty sure this has to do with the permissions of the user necessary to run the service.

    Can you check the properties of the service?

    Control Panel|Administrative Tools|Services

    Right click on "Current Watcher Service" and select the "Log On" tab. Please see if it makes a difference by running it as a different user, for example.

    Mike

  • mike says:
    09/06/09 at 11:09:38

    Hi,

    One thing to try. I’m hoping that we will be able to access the CurrentWatchers folder if we install the service as an Administrator, rather than with regular user permissions.

    Let’s try this: please uninstall the CurrentWatchers service. Right click on http://www.currentwatchers.com/CurrentWatcherSvc.exe, and save the .exe in some location on your PC.

    Then, open the command prompt as Administrator in Vista. Open the Start Menu, type in ‘cmd’ in the bar along the bottom, then instead of just pressing enter, press CTRL+SHIFT+ENTER instead. It will then show up as ‘Administrator: Command Prompt’ in the window title.

    Please run the CurrentWatcherSvc.exe installation directly from the command prompt.

    Hopefully, then the service will have the necessary permissions to access the sqlite3.dll and be able to write to the log file (these are the areas where I believe we are lacking permission).

    Thanks,
    Mike

  • kfdeken says:
    09/07/09 at 19:46:31

    Okay, Ill give it a try and send a reply shortly. Thanks for the help!

  • Jim says:
    12/23/09 at 20:47:38

    Hey Mike looks like I am haveing the same trouble
    xp sp3
    all ted services are running and I am sending data.
    All config. are correct but os says service not installed
    MEC

  • mike says:
    12/24/09 at 13:32:12

    Hi Jim,

    This sounds like a different problem. On XP, there should not be a permissions issue.

    Could you please send me your CurrentWatcherSvc.log and CurrentWatcherSvc.ini files located in:

    C:\Program Files\Current Watcher Service\

    You can e-mail them to me at admin@currentwatchers.com

    Thanks!
    Mike

  • mike says:
    12/27/09 at 09:07:29

    Jim,

    Glad we resolved the issue through our off-line e-mail exchanges…. Turns out I had posted the Service executable on the website and not the Setup Installer. My mistake.

    I’ve updated the link at the top of this post to point to the Setup Installer.

    So, all should be good now.

    Mike






Leave a Reply




Recent Posts

Subscribe

Feed-icon Subscribe to feed