Permalink
Browse files

initial commit from watts up source

  • Loading branch information...
pyrovski committed May 3, 2012
0 parents commit a8834ad77ff2ff73b5521803864b36b7e01536ca
Showing with 1,915 additions and 0 deletions.
  1. +19 −0 readme.txt
  2. +19 −0 utility.txt
  3. +1,877 −0 wattsup.c
@@ -0,0 +1,19 @@
The source code has been modified per this post ie. baud rate
changed from 9600 to 115200
https://www.wattsupmeters.com/forum/index.php?topic=8.0
To compile the binary type
gcc -o wattsup wattsup.c
Sample usage is as follows
./wattsup -c 1 ttyUSB0 watts
This will connect to WattsUp once and output the watt usage
Binary has been provided. It was compiled under Centos 5 however it should
be usable under most modern Linux 2.6+ systems. I tested it under Ubuntu
8.04 and works just fine. Use at your own risk otherwise compile from
source.
@@ -0,0 +1,19 @@
From: Patrick Mochel [mochel@digitalimplant.org]
Sent: Wednesday, April 05, 2006 6:27 PM
To: bvorin@doubleed.com
Subject: Re: Watts Up Feature Requests
On Wed, 5 Apr 2006, Patrick Mochel wrote:
> P.S. I am attaching the command line utility that I wrote for Linux to
> interact with the Watts Up. Please feel free to do with it what you like,
> though any improvements or fixes would be greatly appreciated.
Woops, here it is this time.
Thanks,
Patrick
Oops, something went wrong.

0 comments on commit a8834ad

Please sign in to comment.