forked from pyrovski/watts-up
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a8834ad
Showing
3 changed files
with
1,915 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.