An open API service indexing awesome lists of open source software.

https://github.com/lab11/watts-up

Code to interface with the Watts up? .net
https://github.com/lab11/watts-up

Last synced: about 1 year ago
JSON representation

Code to interface with the Watts up? .net

Awesome Lists containing this project

README

          

Watts Up? Python Interface
==========================

Code to interface with the Watts up? .net. Works over the USB cable. Allows you
to view samples in a terminal, save to a logfile, or POST them using the
network connection.

Usage
-----

### Linux

python wattsup.py -p /dev/ttyUSBX -i
python wattsup.py --help

### Mac OS X

Install the http://www.ftdichip.com/Drivers/VCP.htm drivers. Restart.

python wattsup.py -p /dev/tty.usbserial-X -i

### Configure POST

./wattsup.py -p /dev/ttyX -n myserver.com 80 /wattsup/data

Server
------

A simple python script that receives the HTTP request from Watts Up .net
and prints out the values in JSON format.