Skip to content

Commit

Permalink
initial commit from watts up source
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrovski committed May 3, 2012
0 parents commit a8834ad
Show file tree
Hide file tree
Showing 3 changed files with 1,915 additions and 0 deletions.
19 changes: 19 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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.
19 changes: 19 additions & 0 deletions utility.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
From: Patrick Mochel [[email protected]]
Sent: Wednesday, April 05, 2006 6:27 PM
To: [email protected]
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
Loading

0 comments on commit a8834ad

Please sign in to comment.